PHP Classes

Install Problem Found

Recommend this page to a friend!

      lightweight MVC  >  All threads  >  Install Problem Found  >  (Un) Subscribe thread alerts  
Subject:Install Problem Found
Summary:Problem installing check here
Messages:4
Author:Martin Barker
Date:2011-03-16 14:35:41
Update:2011-10-07 07:58:05
 

  1. Install Problem Found   Reply   Report abuse  
Picture of Martin Barker Martin Barker - 2011-03-16 14:35:42
Problems that I have been working with people to correct have been corrected in the code how ever there are some that I can't provide a fix for

The biggest problem is Permissions
if your running suexec php your file permissions might be controlled by a 3rd party management such as Cpanel or PLESK this will break the script as they have some stupid properties that prevent files being executable when there not in the public_html or httdocs this will break the system as the files are out side of the the public_html or httdocs if you run into this problem contact your hosting provider if your running your own server turn DSO support on as well so the HTAccess can control if its SU or DSO this will then allow you to run the system without problems using DSO

If you don't have a control panel you will just need to set the file permissions for the scripts after you have uploaded them

  2. Re: Install Problem Found   Reply   Report abuse  
Picture of George Bouloukakis George Bouloukakis - 2011-05-26 11:52:07 - In reply to message 1 from Martin Barker
Hi, thanks for lightweight-mvc. I've install XAMPP on my pc. I drag and drop the package to www dir and when i try to run the public_html dir, im getting the following error:

Fatal error: require_once() [function.require]: Failed opening required 'controllers/MVC.php' (include_path='.;C:\php\pear') in C:\wamp\www\MVC\lightweight-mvc-2011-03-16\bootstrap.php on line 33

Do you know what i have to do to learn how to use this package?
I think is very good to get start with MVC.

  3. Re: Install Problem Found   Reply   Report abuse  
Picture of Martin Barker Martin Barker - 2011-10-07 07:58:05 - In reply to message 2 from George Bouloukakis
This is because you have not use a domain level you will need to work in the vhost file in the apache conf extra folder and setup a rewrite url to the public html

the mvc uses the /blar/bar to know what it's loading so if you have it in a directory E.G localhost/mvc/ lightweight will try to load the mvc controller and if it's not there it cant load

  4. Re: Install Problem Found   Reply   Report abuse  
Picture of Prashant Prashant - 2018-01-04 15:36:05 - In reply to message 1 from Martin Barker
How to run it on localhost with xaamp server, What file need to change please guide