Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 27. Apr 2024, 07:02

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: 19. Mar 2010, 18:52 
Offline

Joined: 11. Feb 2010, 20:46
Posts: 15
Ok, I figured it out...

I turned on more debugging in PHP and found this:

[Fri Mar 19 12:37:49 2010] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /var/www/virtual/mikeandting.com/htdocs/admin/tfu_login.php on line 16

So then I went through the response page from tfu_login.php and found this:

Warning: Unknown: POST Content-Length of 157 bytes exceeds the limit of -1149239296 bytes in Unknown on line 0

For some reason this error is not logged by PHP and related to post limit being too large. I'm not certain why/when this started causing problems but apparently PHP has a maximum post limit...

Not sure if TWG would have ignored this warning in the past?


Top
 Profile  
 
 Post subject:
PostPosted: 19. Mar 2010, 20:15 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I'm wondering where the 1st error comes from - because I only start the session once.

about the 2nd one.

php has a post upload limit (see howto 4 of the TFU FAQ)

It seems that your server is set to 3 GB - and this is interpreted as -1 GB.

You have to change this ;).

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Mar 2010, 20:30 
Offline

Joined: 11. Feb 2010, 20:46
Posts: 15
I suspect the PHP error is causing the header issue, it probably writes an HTML header as part of the error message...

I had 3G working without any issues previously. It looks like PHP has changed how they set or enforce that post limit. In anycase I've moved it down to 300M but it makes it hard to upload videos...


Top
 Profile  
 
 Post subject:
PostPosted: 19. Mar 2010, 20:32 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Up to 2 GB is working fine. If you have a 32 bit php then 2 GB is the maximum number you can specify in php.ini.

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 27 guests


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 post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy