failed to open stream

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
User avatar
azra
Registered User
Posts: 325
Joined: Thu Apr 12, 2007 8:06 pm

failed to open stream

Post by azra » Sun Nov 30, 2008 4:17 pm

when i go to my forum i get this message, what do i do?
Warning: main(./db/mysql.php) [function.main]: failed to open stream: No such file or directory in /home/shiasist/public_html/forum/includes/db.php on line 31

Warning: main(./db/mysql.php) [function.main]: failed to open stream: No such file or directory in /home/shiasist/public_html/forum/includes/db.php on line 31

Warning: main() [function.include]: Failed opening './db/mysql.php' for inclusion (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/shiasist/public_html/forum/includes/db.php on line 31

Fatal error: Cannot instantiate non-existent class: sql_db in /home/shiasist/public_html/forum/includes/db.php on line 60
azra :D

User avatar
ric323
Former Team Member
Posts: 22909
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: failed to open stream

Post by ric323 » Sun Nov 30, 2008 9:52 pm

It is saying that

Code: Select all

./db/mysql.php
cannot be found on your web server. Check if the db folder is still present.
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions

Locked

Return to “2.0.x Support Forum”