官术网_书友最值得收藏!

Testing the Installation

Finally, we are ready to go.

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 to the next chapter. 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.

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.

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
WarningWarning failed to open stream, error messagesfile 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";

Still Having Problems?

If PHP-Nuke is still not working, and you have followed the steps in this chapter, 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.

主站蜘蛛池模板: 岗巴县| 沅江市| 宽城| 菏泽市| 海伦市| 甘孜| 望谟县| 嵩明县| 石泉县| 郴州市| 桃园市| 芮城县| 钟祥市| 北宁市| 丹巴县| 土默特右旗| 海晏县| 巴林左旗| 府谷县| 长子县| 阿巴嘎旗| 仪陇县| 松江区| 额尔古纳市| 石狮市| 柳河县| 阳泉市| 古蔺县| 双牌县| 靖宇县| 咸阳市| 南宫市| 山丹县| 金山区| 义乌市| 贵定县| 大方县| 阿勒泰市| 乐安县| 二连浩特市| 汾西县|