Troubleshooting PHP Nuke Installation
From TroubleshootingWiki
| Official Page |
| Project Documentation |
| Download |
|
Contents |
[edit] Testing the Installation
After you have installed PHP-Nuke, open up your web browser and navigate to http://localhost/nuke/. You should see the following screen:
If this is what you see in your browser, then you are ready to go, and you can move on. If you see something different from this image in your browser, we may have to perform some troubleshooting. Here we'll look at some of the more common problems that users encounter with their PHP-Nuke installations.
[edit] Database Connection Problem
If you see this in your browser:
then there might be a problem with your database server or, more likely, your connection information. If the MySQL server is running (navigate to http://localhost/phpMyAdmin/ to see if phpMyAdmin is working), then it's likely that you specified the wrong database name, wrong username, or possibly the wrong password in the config.php file, so go back and check them.
[edit] No Data in the Database
You might get a blank screen or receive error messages like these in the browser window:
Warning: main(language/lang-.php): failed to open stream: No such file or directory in \xampp\htdocs\nuke\mainfile.php on line 183 ... Fatal error: Call to undefined function: themeheader() in \xampp\htdocs\nuke\header.php on line 47
This probably means that your database is actually empty. Ensure you have added the data as we did earlier. Another possibility is that you have incorrectly specified the table prefix in the file config.php file. That line should look like this:
$prefix = "nuke";
[edit] Still Having Problems?
If PHP-Nuke is still not working, and you have followed the above steps, then there is something wrong elsewhere, but it is likely that you will find the answer by scouring the forums at http://www.nukecops.com/forum2.html. This is the Installation for Newbies forum on nukecops. This contains many questions (and solutions) from new users attempting to get their site running.
[edit] Additional References
- For instructions on Installing PHP-Nuke, click here
- For instructions on Customizing layout with PHP-NukeThemes, click here
[edit] Source
The source of this content is Chapter 2: Installing PHP Nuke of Building Websites with PHP-Nuke by Douglas Paterson (Packt Publishing, 2005).

