View Full Version : PHPNuke 6.5 Newbie Questions
I'm a newbie to PHPNuke and I'm using Jade Dragon's step-by-step installation guide for PHPNuke. So far so good and Jade Dragon gets a big THANK YOU for creating it.
Being new to PHPNuke & MySQL, I'm very intimidated and have a some questions.
1. In the PHPNuke 6.5 config.php file there is a line called $sitekey. There's already something defined, but it's not in Jade Dragon's tutorial. Should I delete this line?
2. Do I need to do something to protect my config.php file from hackers since the username and password are in plain text?
3. My ISP's DNS servers haven't been updated so I have to use my temporary URL. Can I still do the install and setup of PHPNuke?
Thanks and I hope I don't have to bother you guys too much! :)
4-24-03, 12:18 AM
1) site key is new to phpNuke 6.5 you do not do anything to this line. my original tutorial is for 6.0 and hasn't been updated. It still works if you have followed it.
2)There is a way to have better security over your config.php file.
Place the config.php file above your /htdocs/ directory.
now have a blank config.php with just these lines of code. And upload it to your installation of phpNuke. /htdocs/config.php or /htdocs/phpnuke/config.php (where ever you installed phpnuke to)
add an extra "../" for each folder above the /htdocs/ that your nuke site is installed to.
3)Yes you can install to the temp url (or directory) just fine. Once your site has propagated you will need to change the "site url" in the admin panel to your regular domain.
Bother us all you want. It's what these forums are for. Welcome to Powweb, you will soon come to realize, it's just like extended family (only better).
I'll go and give it a try.
Everyone cross your fingers! ;)
Here's the error I get after upload and running the SQL file:
Fatal error: Call to undefined function: themeheader() in /www/o/oasis/htdocs/header.php on line 47
Here's line 47 from header.php:
How do I fix this?
4-24-03, 10:39 PM
It's not connecting to your database. And it can only connect if it can find the config.php
SO if you used the above code to move the location of the config.php file then make sure your path is pointing to it.
I put this config.php in my htdocs directory:
I put the config.php from the install tutorial in the directory above htdocs.
As a test I put the original edited config.php back into the htdocs directory with all the other files and directories. I get the same error.
Sorry to be a bother and I really appreciate the help.
4-24-03, 11:02 PM
did you execute the /nuke.sql file?
After the upload completed, I ran MySQL-Front and opened the nuke.sql file on my local hard drive. I pushed the arrow button and watched a lot of text scroll by. It finished and I didn't see any errors messages.
Should I run it again? Should I re-upload any files?
4-24-03, 11:37 PM
nope you do not need to run it again.
Look at your config.php file and make sure all the settings are correct.
the only other thing it could be is having your temp url. BUT I've installed this before using subdomains and no problem and it should be the same principle.
I'm off for the night, if you still have troubles post back I'll check in the morning.
I checked the config.php and found a typo. ARGH!
I changed back to having the "real" config.php in the directory above htdocs and the redirecting config.php in the htdocs. Seems to be working.
I'm off to setup my Super User!
Thank you, Jade for being so patient and helpful!!
4-25-03, 11:48 AM
Yup, the darn typos get ya everytime.
Have fun! There's lots of info for setting up phpNuke and there is a security Patch for 6.5 already.
4-25-03, 12:19 PM
I am having problems with the php Nuke 6.5 also I get an error message
Fatal error: Call to undefined function: message_die() in /www/p/pfrazier/htdocs/html/db/db.php on line 88
I'm getting 3 errors now:
1. When I click on Your Account I get this error:
Sorry, such file doesn't exist...
2. When I click on Forums icon on the Admin menu I get:
Fatal error: Cannot instantiate non-existent class: sql_db in /www/o/oasis/htdocs/db/db.php on line 86
$db = new sql_db($dbhost, $dbuname, $dbpass, $dbname, false);
3. User registration doesn't work. When I click on Create a New Account I get this:
Sorry, such file doesn't exist...
I think it can't find the database like before, but I have no idea what to fix. (I'm really not this stupid in real life. Honest!) :)
I got problem #2 fixed. All I had to do was remove the redirecting config.php and move the original config.php back under htdocs.
I'm still can't figure #1 or #3 out.
If anyone knows how to fix the "Sorry, such file doesn't exist..." errors, please reply.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.