| Author |
Message |
gareth_2009
Beginner


Joined: Dec 18, 2009 Posts: 10
|
Posted: Fri Dec 18, 2009 11:34 pm Post subject: [phpBB Debug] PHP Notice: in file /adm/index.php on line 151 |
|
|
| hi ive just finished all the code changes and im getting "[phpBB Debug] PHP Notice: in file /adm/index.php on line 151: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)" any one have any ideas? thanks |
|
| Back to top |
|
|
AdBot
|
| Post subject: [phpBB Debug] PHP Notice: in file /adm/index.php on line 151 |
|
|
|
|
|
| Back to top |
|
 |
PoPoutdoor
Wizard


Joined: Jan 20, 2006 Posts: 133
|
Posted: Sun Dec 20, 2009 3:07 am Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line |
|
|
| Check the language file, something wrong about the editing there. |
|
| Back to top |
|
|
gareth_2009
Beginner


Joined: Dec 18, 2009 Posts: 10
|
Posted: Sun Dec 20, 2009 8:16 pm Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line |
|
|
| hi thanks for your reply! ive checked the file and could not see any thing wrong! im also getting these errors: Code: › [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4209: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4210: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4211: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4212: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
here is the code from functions.php
Code: ›
4209 // application/xhtml+xml not used because of IE
4210 header('Content-type: text/html; charset=UTF-8');
4211 header('Cache-Control: private, no-cache="set-cookie"');
4212 header('Expires: 0');
and the only line i have adited in common.php looks like :
Code: ›
'GALLERY2' => 'Gallery 2',
i have recheck both files and i cant see any thing wrong! any ideas? cheers |
|
| Back to top |
|
|
Seimoor
Beginner


Joined: Jun 09, 2008 Posts: 7
|
Posted: Mon Dec 21, 2009 5:40 pm Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line |
|
|
I realize I am not helping much but I have the identical error messages popping up. running 3.0.6 PHPBB and Gallery 2. ACP produces the identical errors, but in /adm/index.php instead of functions.php front page of the forum produces errors in functions.php
It may very well be an issue with the common.php file in languages but since the instructions are only to add 1 line to that file... |
|
| Back to top |
|
|
PoPoutdoor
Wizard


Joined: Jan 20, 2006 Posts: 133
|
Posted: Tue Dec 22, 2009 9:05 am Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line |
|
|
Undo the edit on common.php, see if the error gone or not.
For errors related to phpbb language file, most will be mistype comma as semi-colon or single-quote/double-quote not match.
Please study what the error message shown, you can have quick fix by undoing what changes you made on the file. |
|
| Back to top |
|
|
gareth_2009
Beginner


Joined: Dec 18, 2009 Posts: 10
|
|
| Back to top |
|
|
PoPoutdoor
Wizard


Joined: Jan 20, 2006 Posts: 133
|
Posted: Wed Dec 23, 2009 2:57 am Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line |
|
|
Quote: › (output started at /language/en/viewtopic.php:1)
You can undo this language file edits... may be you don't edit the language files properly... goto phpbb.com and checkout what is needed for the editing of program files.
My guess is you have extra space at the beginning of "<?php" tag, or after "?>" tag. |
|
| Back to top |
|
|
gareth_2009
Beginner


Joined: Dec 18, 2009 Posts: 10
|
Posted: Thu Dec 24, 2009 8:56 am Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line |
|
|
Seimoor wrote: › I realize I am not helping much but I have the identical error messages popping up. running 3.0.6 PHPBB and Gallery 2. ACP produces the identical errors, but in /adm/index.php instead of functions.php front page of the forum produces errors in functions.php
It may very well be an issue with the common.php file in languages but since the instructions are only to add 1 line to that file...
seimoor did you manage is fix this problem? |
|
| Back to top |
|
|
Seimoor
Beginner


Joined: Jun 09, 2008 Posts: 7
|
Posted: Thu Dec 24, 2009 11:52 am Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line |
|
|
No I have not, actually removed all the integration just to get my forums to work normally and am having to force people to go directly to the gallery instead of having it integrated.
I plan on trying to follow these changes to the install instructions: http://www.nukedgallery.net/postt5374.html and giving it another try but have not had time to go through it all again. |
|
| Back to top |
|
|
gareth_2009
Beginner


Joined: Dec 18, 2009 Posts: 10
|
Posted: Fri Dec 25, 2009 8:32 am Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line |
|
|
ok let me know if you have any success cheers |
|
| Back to top |
|
|
creampiecastle
Beginner


Joined: Dec 17, 2009 Posts: 1
|
Posted: Sun Jan 03, 2010 3:13 pm Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line |
|
|
Hey folks, first time poster here.
SEIMOOR: I was having the same issue. It turned out to be caused by the fact that my free hosting service didn't allow me to change the timelimit variable serverside. It seems unrelated, but I've successfully performed three Gallery2->phpBB3 integrations now, albeit it's been a minute, and there was only this one thing I could to do make the error you're getting go away. I read the countless threads about language files and making sure to save everything in UTF-8 W/O BOM encoding, but none of that mattered.
I just spent 15 minutes looking for the file that I modified, but I forget which one it is. It's one of the *.class files in /(install-path)/gallery2/modules/core/classes/, I -THINK-! One of those files, by default gallery2 installation, contained two instances of "SET_TIME_LIMIT". I deleted the two sections of code containing that text, and those errors never came back!
Weird, huh? Wouldn't think it would have anything to do with the error that it's giving, but I promise that's how I fixed it. Again, there's a *.class file that, in two different parts, contains the text: set_time_limit. I deleted both sections of code, and everything works like a charm for me.
I hope this helps! If I can remember exactly what file it was that I had to edit I'll come back and let you know. (Or if I hose my installation again and have to re-do it  |
|
| Back to top |
|
|
Seimoor
Beginner


Joined: Jun 09, 2008 Posts: 7
|
Posted: Tue Jan 12, 2010 12:31 pm Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line |
|
|
I found set_time_limit in the 'gallery.class' file, deleted the lines but it made no difference at all.
I am starting to wonder if the issue is being caused by some other file that might have been added\changed from when I had gallery integrated with phpbb 3.0.2 before I upgraded to 3.0.6 and performed the integration again. In other words, if I were to do a full clean install of 3.0.6 and gallery 2, then do the integration, perhaps it would all work.
I am going to give it a whirl, I'll post back what I find. |
|
| Back to top |
|
|
gareth_2009
Beginner


Joined: Dec 18, 2009 Posts: 10
|
Posted: Tue Jan 12, 2010 1:07 pm Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line |
|
|
creampiecastle wrote: › Hey folks, first time poster here.
SEIMOOR: I was having the same issue. It turned out to be caused by the fact that my free hosting service didn't allow me to change the timelimit variable serverside. It seems unrelated, but I've successfully performed three Gallery2->phpBB3 integrations now, albeit it's been a minute, and there was only this one thing I could to do make the error you're getting go away. I read the countless threads about language files and making sure to save everything in UTF-8 W/O BOM encoding, but none of that mattered.
I just spent 15 minutes looking for the file that I modified, but I forget which one it is. It's one of the *.class files in /(install-path)/gallery2/modules/core/classes/, I -THINK-! One of those files, by default gallery2 installation, contained two instances of "SET_TIME_LIMIT". I deleted the two sections of code containing that text, and those errors never came back!
Weird, huh? Wouldn't think it would have anything to do with the error that it's giving, but I promise that's how I fixed it. Again, there's a *.class file that, in two different parts, contains the text: set_time_limit. I deleted both sections of code, and everything works like a charm for me.
I hope this helps! If I can remember exactly what file it was that I had to edit I'll come back and let you know. (Or if I hose my installation again and have to re-do it 
thanks for that creampiecastle
Seimoor did you have any luck? cheers |
|
| Back to top |
|
|
Seimoor
Beginner


Joined: Jun 09, 2008 Posts: 7
|
Posted: Tue Jan 12, 2010 2:38 pm Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line |
|
|
Installed 3.0.6 phpbb full and get the same errors. No luck. I guess my next step is to try to install completely fresh, new db, new gallery, new phpbb and see if I can get it to work and then try to import all my current albums\forum users\posts etc. big pita really.
As it is, doing an upgrade from 3.0.2 to 3.0.6 appears to totally break the integration. |
|
| Back to top |
|
|
gareth_2009
Beginner


Joined: Dec 18, 2009 Posts: 10
|
Posted: Tue Jan 12, 2010 6:08 pm Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line |
|
|
ah dam i was hoping for some good news! if you do get it working please keep me posted! will there be a gallery 3 mod relased for 3.0.6? cheers |
|
| Back to top |
|
|
|
|
|
|
|