Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
http://www.tinywebgallery.com/forum/

headers already sent Issue
http://www.tinywebgallery.com/forum/php-photo-gallery-bugs-f5/headers-already-sent-issue-t1127.html
Page 1 of 2

Author:  technointellects [ 7. Aug 2007, 09:33 ]
Post subject:  headers already sent Issue

I am getting the following errors and some strange characters on the top of the site. Please advice

08.07.2007 2:43:20 - ERROR 2 in /public_html/models/admin/helper_gen.php, line 19: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.07.2007 2:43:35 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 29: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.07.2007 2:43:35 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 30: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.07.2007 2:43:35 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 31: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.07.2007 2:43:35 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 32: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.07.2007 2:43:35 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 33: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)

Author:  TinyWebGallery [ 7. Aug 2007, 10:36 ]
Post subject: 

you did not save the license file in UTF-8!

/Michael

Author:  technointellects [ 7. Aug 2007, 13:36 ]
Post subject: 

I did

I used notepad to do it. I saved it in UTF8 format and exactly 5 lines

Author:  TinyWebGallery [ 7. Aug 2007, 13:41 ]
Post subject: 

you can sent me the license file and I test it.

/michael

Author:  technointellects [ 7. Aug 2007, 14:32 ]
Post subject: 

Emailed the license file to you

Author:  TinyWebGallery [ 7. Aug 2007, 14:57 ]
Post subject: 

didn't get anything.

Author:  technointellects [ 9. Aug 2007, 04:49 ]
Post subject: 

I changed the files in admin folder sent by you but I still get the following errors.

Also when I logout from admin I see a blank page with some junk characters pasted here --> 



08.08.2007 12:21:32 - ERROR 2 in /public_html/models/admin/helper_gen.php, line 19: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.08.2007 12:21:35 - ERROR 2 in lic_html/models/admin/_include/login.php, line 148: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.08.2007 12:21:35 - ERROR 2 in lic_html/models/admin/_include/login.php, line 160: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.08.2007 12:21:42 - ERROR 2 in lic_html/models/admin/_include/login.php, line 148: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.08.2007 12:21:42 - ERROR 2 in lic_html/models/admin/_include/login.php, line 160: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.08.2007 21:57:43 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 29: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.08.2007 21:57:43 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 30: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.08.2007 21:57:43 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 31: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.08.2007 21:57:43 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 32: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.08.2007 21:57:43 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 33: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.08.2007 21:57:56 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 29: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.08.2007 21:57:56 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 30: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.08.2007 21:57:56 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 31: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.08.2007 21:57:56 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 32: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.08.2007 21:57:56 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 33: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)

Author:  TinyWebGallery [ 9. Aug 2007, 09:26 ]
Post subject: 

still the same error - seems the encoding of some files are still not o.k.

any changes if you change the encoding of the twg.lic.php back to ansi?

/Michael

Author:  technointellects [ 9. Aug 2007, 11:50 ]
Post subject: 

NOPE, still no change :(

Author:  TinyWebGallery [ 9. Aug 2007, 12:39 ]
Post subject: 

then some of your files are not properly encoded.

I have recoded all files on the current download. You can try to upload the latest version and update the admin folder only.

/Michael

Author:  technointellects [ 9. Aug 2007, 13:48 ]
Post subject: 

I did but after changing the password I got the followng

08.09.2007 6:49:37 - ERROR 2 in /public_html/models/admin/helper_gen.php, line 19: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:45 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 29: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:45 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 30: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:45 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 31: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:45 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 32: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:45 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 33: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:47 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 29: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:47 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 30: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:47 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 31: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:47 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 32: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:47 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 33: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:50 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 29: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:50 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 30: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:50 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 31: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:50 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 32: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:50 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 33: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:52 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 29: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:52 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 30: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:52 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 31: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:52 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 32: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:52 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 33: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:49:55 - ERROR 2 in /public_html/models/admin/helper_gen.php, line 19: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/admin/_include/footer.php:1)
08.09.2007 6:54:55 - ERROR 2 in lic_html/models/admin/_include/login.php, line 148: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:54:55 - ERROR 2 in lic_html/models/admin/_include/login.php, line 155: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:55:09 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 29: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:55:09 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 30: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:55:09 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 31: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:55:09 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 32: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:55:09 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 33: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:55:20 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 29: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:55:20 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 30: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:55:20 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 31: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:55:20 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 32: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:55:20 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 33: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:56:13 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 29: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:56:13 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 30: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:56:13 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 31: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:56:13 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 32: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:56:13 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 33: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:56:54 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 29: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:56:54 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 30: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:56:54 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 31: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:56:54 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 32: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:56:54 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 33: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:57:27 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 29: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:57:27 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 30: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:57:27 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 31: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:57:27 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 32: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:57:27 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 33: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:57:52 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 29: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:57:52 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 30: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:57:52 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 31: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:57:52 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 32: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:57:52 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 33: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:58:07 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 29: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:58:07 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 30: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:58:07 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 31: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:58:07 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 32: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:58:07 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 33: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:58:54 - ERROR 2 in html/models/admin/_include/fun_admin.php, line 139: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:58:59 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 29: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:58:59 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 30: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:58:59 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 31: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:58:59 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 32: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)
08.09.2007 6:58:59 - ERROR 2 in eetsou/public_html/models/admin/menu.php, line 33: Cannot modify header information - headers already sent by (output started at /home/sweetsou/public_html/models/twg.lic.php:1)

Author:  TinyWebGallery [ 9. Aug 2007, 14:06 ]
Post subject: 

how are you uploading this files?

because e.g. I include

require _QUIXPLORER_PATH . "/_include/fun_extra.php";
require _QUIXPLORER_PATH . "/_include/header.php";
require _QUIXPLORER_PATH . "/_include/footer.php";
require _QUIXPLORER_PATH . "/_include/error.php";

all of them contians stuff - but only the footer.php seems to be not utf-8 encoded (or not encoded properly!).
And I have NOT changed footer.php since the last update!

You can try to upload the footer.php with the flash uploader and check again.

/Michael

Author:  technointellects [ 10. Aug 2007, 11:45 ]
Post subject: 

I did but still the same errors

In fact I dave menu.php, help.php, footer.php, login.php, helper_gen.php in UTF format and uploaded again but still the same

I am really getting sick of this error

Due to this error. What ever I save in admin, may it be a file, a user or anything, it takes me to the blank page.

Please help

Author:  TinyWebGallery [ 10. Aug 2007, 12:58 ]
Post subject: 

you can create an accout for me and pm it to me and I'll take a look this weekend.

/Michael

Author:  technointellects [ 10. Aug 2007, 14:14 ]
Post subject: 

I can provide you access for the complete admin account. But I request not to overwrite and customized changed I had made.

I will be providing you the access details through PM or email

Page 1 of 2 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/