I use PHP-Nuke 7.7, and when you try to create a new topic in the forum, whether registered or anoynomus or registered, when you click Submit, a blank page comes up (with main menu and header). The preview works fine. What is wrong?
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12344
Posted:
Sun Nov 06, 2005 5:17 pm
Enabled error reporting and checked your error logs?
Are you using the latest Patched files?
This is the error output I got from the error log:
Code:
PHP Notice: Undefined index: 2 in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\mainfile.php on line 266, referer: http://localhost/modules.php?name=Forums&file=posting&mode=newtopic&f=1
PHP Warning: Cannot modify header information - headers already sent by (output started at C:\\Program Files\\Apache Group\\Apache2\\htdocs\\themes\\DeepBlue\\theme.php:76) in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\includes\\sessions.php on line 239, referer: http://localhost/modules.php?name=Forums&file=posting&mode=newtopic&f=1
PHP Warning: Cannot modify header information - headers already sent by (output started at C:\\Program Files\\Apache Group\\Apache2\\htdocs\\themes\\DeepBlue\\theme.php:76) in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\includes\\sessions.php on line 240, referer: http://localhost/modules.php?name=Forums&file=posting&mode=newtopic&f=1
PHP Fatal error: Only variables can be passed by reference in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\modules\\Forums\\posting.php on line 567, referer: http://localhost/modules.php?name=Forums&file=posting&mode=newtopic&f=1
PHP Notice: Undefined variable: HTTP_SERVER_VARS in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\mainfile.php on line 47
PHP Notice: import_request_variables() [<a href='function.import-request-variables'>function.import-request-variables</a>]: No prefix specified - possible security hazard in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\mainfile.php on line 64
PHP Notice: Constant _YOUHAVE already defined in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\language\\lang-english.php on line 159
PHP Notice: Undefined variable: gfx in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\mainfile.php on line 1312
PHP Notice: Undefined variable: user in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\modules.php on line 27
PHP Notice: Undefined index: 2 in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\mainfile.php on line 266
I think the "PHP Fatal error" is the one causing the problem.
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12344
Posted:
Fri Nov 11, 2005 9:40 pm
Correct
Code:
PHP Fatal error: Only variables can be passed by reference
This is problem with phpBB and PHP 5.
phpBB Team does not yet support PHP 5, they have not released a proper fix. But I'm sure you could check their forums for a fix - http://www.phpbb.com
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum