Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

[phpBB Debug] PHP Notice: in file /adm/index.php on line 151
Goto page 1, 2  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
gareth_2009

Beginner
Beginner


Joined: Dec 18, 2009
Posts: 10

PostPosted: Fri Dec 18, 2009 11:34 pm    Post subject: [phpBB Debug] PHP Notice: in file /adm/index.php on line 151 Reply with quote

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
Offline View user's profile Send private message Visit poster's website
AdBot
   Post subject: [phpBB Debug] PHP Notice: in file /adm/index.php on line 151  

Back to top
PoPoutdoor

Wizard
Wizard


Joined: Jan 20, 2006
Posts: 135

PostPosted: Sun Dec 20, 2009 3:07 am    Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line Reply with quote

Check the language file, something wrong about the editing there.
Back to top
Offline View user's profile Send private message
gareth_2009

Beginner
Beginner


Joined: Dec 18, 2009
Posts: 10

PostPosted: Sun Dec 20, 2009 8:16 pm    Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line Reply with quote

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
Offline View user's profile Send private message Visit poster's website
Seimoor

Beginner
Beginner


Joined: Jun 09, 2008
Posts: 7

PostPosted: Mon Dec 21, 2009 5:40 pm    Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line Reply with quote

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
Offline View user's profile Send private message
PoPoutdoor

Wizard
Wizard


Joined: Jan 20, 2006
Posts: 135

PostPosted: Tue Dec 22, 2009 9:05 am    Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line Reply with quote

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
Offline View user's profile Send private message
gareth_2009

Beginner
Beginner


Joined: Dec 18, 2009
Posts: 10

PostPosted: Tue Dec 22, 2009 7:12 pm    Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line Reply with quote

thanks for your reply Smile ok i have done what you said to do! i have put common back to how it used to be and when i refresh the page i no longer see that error but i do not see any links to the gallery and if i go to view a topic i now get this error

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/viewtopic.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/viewtopic.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/viewtopic.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4213: Cannot modify header information - headers already sent by (output started at /language/en/viewtopic.php:1)


also i have checked and re check functions.php and i cant see any thing wrong! any ideas? thanks
Back to top
Offline View user's profile Send private message Visit poster's website
PoPoutdoor

Wizard
Wizard


Joined: Jan 20, 2006
Posts: 135

PostPosted: Wed Dec 23, 2009 2:57 am    Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line Reply with quote

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
Offline View user's profile Send private message
gareth_2009

Beginner
Beginner


Joined: Dec 18, 2009
Posts: 10

PostPosted: Thu Dec 24, 2009 8:56 am    Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line Reply with quote

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
Offline View user's profile Send private message Visit poster's website
Seimoor

Beginner
Beginner


Joined: Jun 09, 2008
Posts: 7

PostPosted: Thu Dec 24, 2009 11:52 am    Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line Reply with quote

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
Offline View user's profile Send private message
gareth_2009

Beginner
Beginner


Joined: Dec 18, 2009
Posts: 10

PostPosted: Fri Dec 25, 2009 8:32 am    Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line Reply with quote

ok let me know if you have any success Smile cheers
Back to top
Offline View user's profile Send private message Visit poster's website
creampiecastle

Beginner
Beginner


Joined: Dec 17, 2009
Posts: 1

PostPosted: Sun Jan 03, 2010 3:13 pm    Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line Reply with quote

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 Wink
Back to top
Offline View user's profile Send private message
Seimoor

Beginner
Beginner


Joined: Jun 09, 2008
Posts: 7

PostPosted: Tue Jan 12, 2010 12:31 pm    Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line Reply with quote

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
Offline View user's profile Send private message
gareth_2009

Beginner
Beginner


Joined: Dec 18, 2009
Posts: 10

PostPosted: Tue Jan 12, 2010 1:07 pm    Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line Reply with quote

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 Wink


thanks for that creampiecastle Smile

Seimoor did you have any luck? cheers
Back to top
Offline View user's profile Send private message Visit poster's website
Seimoor

Beginner
Beginner


Joined: Jun 09, 2008
Posts: 7

PostPosted: Tue Jan 12, 2010 2:38 pm    Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line Reply with quote

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
Offline View user's profile Send private message
gareth_2009

Beginner
Beginner


Joined: Dec 18, 2009
Posts: 10

PostPosted: Tue Jan 12, 2010 6:08 pm    Post subject: Re: [phpBB Debug] PHP Notice: in file /adm/index.php on line Reply with quote

ah dam Sad 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
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Goto page 1, 2  Next

 
Jump to:  
You cannot post new topics in this forum
You cannot 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
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPSEO IndiaWeb Design MelbournePhoenix SEOPhoenix Web MarketingSEOflorida web design companyScottsdale Interior Designweb marketing servicesScottsdale SEOAsked Last NightSEO ServicesSEO IndiaWeb Development IndiaPHP Web Development IndiaWeb DirectoryNew York Yellow Pages

7th year online! 2003-2010
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia