Jump to content

Recommended Posts

Posted

Hello all... I am trying to manually install phpNuke 7.4 and I keep getting an error when I initially fire up the site:

 

There seems to be a problem with the MySQL server, sorry for the inconvenience.

 

We should be back shortly.

 

Database creation went smooth, database user creation went smooth, database table creation script went smooth...

 

I think the problem may be in the config.php file. I am not entirely sure what I am supposed to be putting in those fields. I created the database nuke but the database that is created is <my admin user>_nuke. The same goes for the username. I created the username, and it appends my TCH admin user to the front of the name. I have tried putting in the username and dbname both with and without the admin username appended to the front, but I keep getting the error shown above the first time I try and fire up the site.

 

Does anyone have any ideas what could be wrong?

 

Thanks,

Posted

ok, I think I fixed my problem. I deleted the user, but noticed that the user was still listed on the access list for the db. So, I removed the user from the access list, then recreated the user from scratch and gave it access to the db. I now no longer get the above mentioned error, but I am now getting a slew of php errors, mostly due to phpNuke not being able to figure out what language to use. I will dig into this more and keep you posted.

Posted

Sorry I missed your first post but I'm glad you figured it out.

 

If you need any more help with installing phpNuke, just ask :whip:

Posted

Actually, I keep getting the error:

 

Warning: main(language/lang-.php): failed to open stream: No such file or directory in ....\html\mainfile.php on line 163

 

I have done everything in the faq and install instructions, but I can't figure out this problem.

Posted

Humm... that means Nuke is looking for a file but it can't find it. Make sure you uploaded everything into the correct folders, perhaps some files were skipped during the transfer. I used to use an FTP client that did this sometimes. Never understood why.

 

Other than that, you may want to check if you have the necessary language files. "lang-.php" doesn't look like a language file name. Those are usually something like "lang-en.php" or "lang-fr.php".

Posted
Humm... that means Nuke is looking for a file but it can't find it. Make sure you uploaded everything into the correct folders, perhaps some files were skipped during the transfer. I used to use an FTP client that did this sometimes. Never understood why.

 

Other than that, you may want to check if you have the necessary language files. "lang-.php" doesn't look like a language file name. Those are usually something like "lang-en.php" or "lang-fr.php".

Yeah, I have gone through all that.

 

Searching multiple Nuke forums, the most common problem is failure to connect to the database to get the default language. The actual filename is lang-english.php, which exists. But it appears to be unable to pull that from the db. I have ran two scripts, one simply does a db connect, the other does a db connect and verifies that it can see the tables. Both work fine.

 

I will keep digging to see what else I can find.

Posted

Ok, I got it fixed. and for anyone else having this strange problem, the fix was to edit the config.php file and the line that says $prefix = "nuke_" needs to have the underscore taken off of it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...