Forum for you who has PHP installation issues
3 posts • Page 1 of 1
- Posts: 1240
- Joined: Thu Jun 20, 2002 10:14 pm
- Location: Ukraine, Crimea, Simferopol
fpc wrote::eek: We are new to PHP. A recent project was uploaded to our ISP, ipowerweb.com. When we attempt to access the project, the following error messages appear.
Warning: main(DB.php): failed to open stream: No such file or directory in /home/nyaa-spo/public_html/onlinereg/includes/dbclass.inc on line 46
Warning: main(): Failed opening 'DB.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/nyaa-spo/public_html/onlinereg/includes/dbclass.inc on line 46
Fatal error: Class dbms: Cannot inherit from undefined class db in /home/nyaa-spo/public_html/onlinereg/includes/dbclass.inc on line 49
Has anyone experienced this before? Can you share the fix with us.. The ISP seems lost with this one.
Help is GREATLY appreciated
thanks in advance
swirlee is right your problem in path to file.
try find this string 46 and see how you include your dbclass.inc file maby in code present vars like __FILE__ or $_SERVER['DOCUMENT_ROOT']. In more situations on the ISP used links and hard links to files and folders. try obviously set path to file
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";