Shared hosting error on my Zend based Application -
I just tested my junk based application on the local host. When I installed it on the shared hosting site, I got an error whenever I try to navigate the protected pages of my application, so it happens.
WARNING: Include (/home/davidkag/public_html/prototype/application/models/DbTable//Users.php) [Function.include]: Failed to open stream: line / 178 There is no such file or directory in /home/davidkag/public_html/prototype/library/Zend/Loader/Autoloader/Resource.php on
. I think double slash
model / dBTable // users.php)
is the reason for this problem.
The error is due to this special line in my code:
Fatal error: class 'Model_DbTable_Users' / home / davidkag / public_html / prototype / application / controllers / AuthController Not found in line at .php 24
How do I have trouble shooting this problem? My localhost machine works fine.
I will start by creating a new test script, with one line, and see what you get :
Include / Homepad / Public / HTML / Prototype / Applications / Models / Debtables / USS.FP ';
Then, remove the double slash:
include / / home / davidcag / public / html / prototype / apps / models / dbTable / users FP ';
If it is still warning you, either your path is incorrect or you need to reduce your file permissions.
You said that 'protected page' - are they probably not in public_HTML?
Comments
Post a Comment