Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help
Author Message
cordleztoaster
New Member
New Member


Joined: Jan 13, 2005
Posts: 9

PostPosted: Thu Jan 13, 2005 10:15 pm Reply with quote

Hi just installed phpnuke 7.6 then patched with a patch from nukeresources then installed nuke sentinel, everything went fine then i woke up this morning and now get this error

Code:


Warning: main(language/lang-.php): failed to open stream: No such file or directory in /home/vendetta/public_html/mainfile.php on line 205

Warning: main(language/lang-.php): failed to open stream: No such file or directory in /home/vendetta/public_html/mainfile.php on line 205

Warning: main(): Failed opening 'language/lang-.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vendetta/public_html/mainfile.php on line 205

Warning: head(themes//theme.php): failed to open stream: No such file or directory in /home/vendetta/public_html/header.php on line 31

Warning: head(themes//theme.php): failed to open stream: No such file or directory in /home/vendetta/public_html/header.php on line 31

Warning: head(): Failed opening 'themes//theme.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/vendetta/public_html/header.php on line 31

Fatal error: Call to undefined function: themeheader() in /home/vendetta/public_html/header.php on line 54


i have done a bit of a google on it and checked my prefix and everything looks ok in the config.php and wonder if anyone could give me some insight as to why this has just happened
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Fri Jan 14, 2005 5:10 am Reply with quote

That looks like a MySQL connection error. Nuke can't read the config table. Something is amiss in your config.php file with the MySQL parameters.
 
View user's profile Send private message
PHrEEkie
Subject Matter Expert


Joined: Feb 23, 2004
Posts: 358

PostPosted: Fri Jan 14, 2005 2:23 pm Reply with quote

Or, which has been going on a LOT lately, your host has limited your amount of SQL queries per hour or per day. Once you hit that limit, wham! you get the above errors. If you try to open phpMyAdmin, you will most likely see the exact error "Permission Denied for user user@localhost" and a MAX queries exceeded number. That's a clue you need a new host. Nuke sites are notoriously query inefficient, and a lot of hosts are adding MAX queries per hour to force Nuke sites out of their systems.

There are also several posts around here on how to make several DB users and have Nuke rotate between them. That might be a solution until you find a real host.. If what Raven said isn't the case (bad config.php MySQL settings), then most likely you have a quota.

PHrEEk

_________________
PHP - Breaking your legacy scripts one build at a time. 
View user's profile Send private message
cordleztoaster
PostPosted: Fri Jan 14, 2005 9:11 pm Reply with quote

thanks heaps guys i think maybe it was because the database user nam and databse name were the same i have since redone the whole lot but with dif user name and database name and everything is sweet Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Installation Help

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©