PHP and SQL errors on Phpbb3
-
So when i make a change on the back end of the forums, i get this error, at first i was ignoring it because it would accept my changes but I think this could cause problems down the road and I’m trying to figure it out.
I am not running any other mods on my forums right now, I just loaded them up so Phpbb single sign on has to have something to do with it. This is the Php error i get on the top
[phpBB Debug] PHP Notice: in file /common.php(87) : eval()'d code on line 579: include_once() [function.include-once]: Unable to access ./../includes/auth/auth_.php [phpBB Debug] PHP Notice: in file /common.php(87) : eval()'d code on line 579: include_once(./../includes/auth/auth_.php) [function.include-once]: failed to open stream: No such file or directory [phpBB Debug] PHP Notice: in file /common.php(87) : eval()'d code on line 579: include_once() [function.include]: Failed opening './../includes/auth/auth_.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') Warning: Cannot modify header information - headers already sent by (output started at /root/forums/includes/functions.php:3691) in /root/forums/includes/functions.php on line 2629
Then on top of this i also get SQL errors
Return to the index page General Error SQL ERROR [ mysql4 ] Duplicate entry 'allow_autologin' for key 'PRIMARY' [1062] SQL INSERT INTO database.phpbb_config (config_name, config_value, is_dynamic) VALUES ('allow_autologin', 1, 0) BACKTRACE FILE: includes/db/mysql.php LINE: 175 CALL: dbal->sql_error() FILE: includes/functions.php LINE: 157 CALL: dbal_mysql->sql_query() FILE: includes/acp/acp_board.php LINE: 475 CALL: set_config() FILE: includes/functions_module.php LINE: 507 CALL: acp_board->main() FILE: adm/index.php LINE: 74 CALL: p_master->load_active()
I’m still following the trail of code, but I’m thinking it has somethign to do with the modified Common.php file you get. There are references to a wp-blog-header.php file that i haven’t been able to find yet.
I’m also trying to find where it’s trying to locate the auth_.php file.
I’m very new to website building but I know how to read code even if i don’t fully understand the language.
ANY help would be appreciated.
- The topic ‘PHP and SQL errors on Phpbb3’ is closed to new replies.