Parse error i [phpBB Debug] PHP Warning problem after update

Discussions about the phpBB3 Forum. How to get the best from this powerful script.
Note that there is no official support for phpBB3 here, a place to share more than to ask for.

Moderator: Moderators

Parse error i [phpBB Debug] PHP Warning problem after update

Postby STITS » Mon Dec 30, 2013 4:02 pm

Hi dev's I have got problem with my phpbb3 forumafter cache cleaning I have got that error:
Code: Select all
Parse error: syntax error, unexpected $end in /xxx/xxxxx/xxxxx/xxxxxx/xxxxxx/cache/tpl_prosilver_overall_header.html.php on line 266

Oddly enough overall_header.html doesn't have as many lines.
Second problem I can't eneter to user setiings panel in acp. When I trying I have that error:
Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_modules.php on line 486: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:4024)
[phpBB Debug] PHP Warning: in file [ROOT]/adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:4024)
[phpBB Debug] PHP Warning: in file [ROOT]/adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:4024)
[phpBB Debug] PHP Warning: in file [ROOT]/adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:4024)

Both of these errors began when I updated my phpbb3 to 3.0.12 version. unfortunately I don't have backup after update :/. Thanks for all help, and sugestions.
STITS
 
Posts: 2
Joined: Mon Dec 30, 2013 4:00 pm

Advertisement

Re: Parse error i [phpBB Debug] PHP Warning problem after up

Postby HB » Thu Jan 02, 2014 5:14 pm

Try replacing overall_header.html from the premod until you sort out the problem. Look at includes/functions.php around line 4024. You evidently have a syntax error there, e.g., an extra or missing ">?" tag.
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1567
Joined: Mon Oct 16, 2006 2:25 am

Re: Parse error i [phpBB Debug] PHP Warning problem after up

Postby STITS » Thu Jan 02, 2014 6:52 pm

Ok thanks I repaired first problem.
Second problem I can't see error :/ I include part of includes.php, maybe someone see something :/
Code: Select all
line 4024 echo '<b>[phpBB Debug] ' . $error_name . '</b>: in file <b>' . $errfile . '</b> on line <b>' . $errline . '</b>: <b>' . $msg_text . '</b><br />' . "\n";
    line 4025      
    line 4026         // we are writing an image - the user won't see the debug, so let's place it in the log
STITS
 
Posts: 2
Joined: Mon Dec 30, 2013 4:00 pm

Re: Parse error i [phpBB Debug] PHP Warning problem after up

Postby HB » Thu Jan 02, 2014 10:36 pm

This looks troubling:

Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_modules.php on line 486: Invalid argument supplied for foreach()

It's failing to load the modules. Not sure what that could have to do with phpBB-SEO. Some debug echo's in the problem area would be helpful.
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1567
Joined: Mon Oct 16, 2006 2:25 am


Return to phpBB Forum

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 63 guests