>>
Site Map
>>
Forums
>>
PHP-Nuke Common Problems & Solutions
Forum module - topics in forum:
PHP-Nuke Common Problems & Solutions - <font color=red>Look Here First For Your Problems And Get Their Solutions.</font><br><br>See also <a href="http://phpnuke-uk.net/modules.php?name=PHP-Nuke_HOWTO&page=common-installation-problems.html"><b>this</b></a> section of the phpnuke howto.<br>
Notice: Undefined variable: XXXXX...........
---- The Error
- The following error will look slightly different as the xxxxx will be replaced with the folder structure for where your site is hosted
| Code: : |
Notice: Undefined variable: HTTP_USER_AGENT in \xxxxxx\xxxxxx\mainfile.php on line 16
Notice: import_request_variables() [function.import-request-variables]: No prefix specified - possible security hazard in \xxxxxx\xxxxxx\mainfile.php on line 39
Notice: Undefined variable: forum_admin in \xxxxxx\xxxxxx\mainfile.php on line 69
Notice: Use of undefined constant inside_mod - assumed 'inside_mod' in \xxxxxx\xxxxxx\mainfile.php on line 72
Notice: Undefined variable: inside_mod in \xxxxxx\xxxxxx\db\db.php on line 44 |
- The Error codes fill up the screen so I didn’t bother to post them all, would take up to much room
---- The Reason
- These so called "errors" are actually notices for information purposes and are not considered real errors.
- These notice "errors" are mostly, but not always, asociated with Windows servers, but can happen on other types of servers
---- The Solution
- Open your php.ini file and locate the following:
| Code: : |
| error_reporting = |
Change it to this:
| Code: : |
| error_reporting = E_WARNING & ~E_NOTICE |
And set
| Code: : |
| display_errors = Off |
- Once you have that code changed and the php.ini file saved, stop & restart your apache server because the changes wont take effect until you do.
---- Still Doesn’t Work
- If you have tried all of the above and you are still having problems please post up your specific problem in the Forum and we will try to help.
- In your post if you can post up your PHP version, Nuke version and that you have tried this fix, also any errors you are getting.
Added Poll