Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in Programming. |
Acmlm's Board - I3 Archive - Programming - Acmlm board,V 1.a2 | New poll | | |
Add to favorites | Next newer thread | Next older thread |
User | Post | ||
Deleted User Banned Since: 05-08-06 Last post: None Last view: 6431 days |
| ||
I cant get it to work everytime I go to my site I get this message:
Warning: main(/lib/dbinfo.php): failed to open stream: No such file or directory in /home/www/elvort.freehostia.com/lib/config.php on line 10 Fatal error: main(): Failed opening required '/lib/dbinfo.php' (include_path='.:/usr/local/lib/php') in /home/www/elvort.freehostia.com/lib/config.php on line 10 I know it has to do with the "dbinfo.php" but I dont know what is the problem.I already uploaded the .sql file,already configured the "config.php" and the "dbinfo.php" files. Does anyone knows whats the problem? |
|||
Randy53215 Melon Bug Since: 11-17-05 From: Greenfield, Wisconsin (U.S.A) Last post: 6431 days Last view: 6431 days |
| ||
Your information is most likely wrong. You use a free host so the value localhost is prolly wrong.
Its prolly something weird like sql3.freehost.com or something along those lines. Check their website. |
|||
Deleted User Banned Since: 05-08-06 Last post: None Last view: 6431 days |
| ||
I solved that but now I have another problem,when I go to my site I get this:
Parse error: parse error, unexpected $ in /home/www/elvort.freehostia.com/lib/config.php on line 6 |
|||
Randy53215 Melon Bug Since: 11-17-05 From: Greenfield, Wisconsin (U.S.A) Last post: 6431 days Last view: 6431 days |
| ||
I didnt memorize all the acmlmboard code so could you show me whats on line 6 in config please?_¬ | |||
Prince Kassad 320 As you wish. Since: 06-30-06 From: nowhere Last post: 6432 days Last view: 6432 days |
| ||
Line 6:
$root = str_replace($n,"",$_SERVER["PATH_TRANSLATED"]); It seems like the $root problem that comes with Acmlmboards newer than 1.92. You have to remove the lines beginning with $root in lib/config.php and replace all occurences of $root with the root folder of your Acmlmboard, IIRC. |
|||
Deleted User Banned Since: 05-08-06 Last post: None Last view: 6431 days |
| ||
Just to make sure I sould delete "$root" from config.php and replace it with IIRC.
EDIT: I did that^ and I got this problemarse error: parse error, unexpected $ in /home/www/elvort.freehostia.com/lib/config.php on line 6; so I deleted al the "$" in line 6 but still have the problem.Was I suppoced to do something else? (edited by the_man on 07-31-06 05:33 PM) |
|||
Randy53215 Melon Bug Since: 11-17-05 From: Greenfield, Wisconsin (U.S.A) Last post: 6431 days Last view: 6431 days |
| ||
$root = str_replace($n,"",$_SERVER["PATH_TRANSLATED"]);
Change too //$root = str_replace($n,"",$_SERVER["PATH_TRANSLATED"]); |
|||
Deleted User Banned Since: 05-08-06 Last post: None Last view: 6431 days |
| ||
Argh now I get this:
Warning: main(config.php): failed to open stream: No such file or directory in /home/www/elvort.freehostia.com/lib/function.php on line 7 Fatal error: main(): Failed opening required 'config.php' (include_path='.:/usr/local/lib/php') in /home/www/elvort.freehostia.com/lib/function.php on line 7 Someone should had made a faq for this |
|||
Randy53215 Melon Bug Since: 11-17-05 From: Greenfield, Wisconsin (U.S.A) Last post: 6431 days Last view: 6431 days |
| ||
Originally posted by Randy53215 Means every error you post show the line ... |
|||
Deleted User Banned Since: 05-08-06 Last post: None Last view: 6431 days |
| ||
forget it,my stupid host corrupted my php files and now they work less I need to get a better website hoster |
Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - Programming - Acmlm board,V 1.a2 | | |