PDA

View Full Version : new error and problems after upgrade to 1.6


dankster
04-20-2007, 05:42 PM
Everything worked fine before the upgrade, and now when i try to upload photos about 2.5 megs (which ive alwyas been able to do) i get this:
Error
Exceeded maximum filesize for webserver to handle.

and when i test a file thats about 200k, i hit upload and it just sits and sits and evetually after 4 minutes or so, i get a network error. and when i goto the main page, it loads really really slow. i think uploading any images grinds my server to a hault, but the image test image is there.

Any help to render my site back to the way it was would be great.

edit:

ive lowered the filesize to below 2 megs and it uploads fine,(no error) but it still stalls and gives an error after a while but the photo displays on the homepage which is fine, but im afraid its not completing whatever it needs to do by timing out.

dakwegmo
04-20-2007, 06:35 PM
The file size limit is set in the server's PHP configuration file. Check phpinfo for post_max_size, and you'll see that this is probably set to 2MB. This couldn't have been changed from simply upgrading PP, so you'll want check with your web host to see if they made any changes recently.

As for the page spinning its wheels when you try to upload a photo, you'll want to check all your addons. The most common cause of problems after an upgrade is incompatible addons. Shnohose posted some troubleshooting steps for incompatible addons here: http://forum.pixelpost.org/showthread.php?t=6428. In this case it's probably an admin addon causing the problem so start there. Upload a photo with just the core addons, if it goes through successfully, it's one of the other addons causing the problem.

dankster
04-20-2007, 06:42 PM
i dunno man... i was able to upload fullsized images (5-6 megs) and it would auto resize them (150k) and display the resized ones. now i have to manually resize them and shrink the size below 2m to get it to even upload....something changed.

edit:

so i did the phpinfo and just as i suspected:

post_max_size 8M 8M

dakwegmo
04-20-2007, 06:58 PM
Create a php file called phpinfo.php or whatever you want really. Put this in it:


<?php
phpinfo();
?>


Upload the file to your server and open it in a browser. Look for post_max_size in the page that's displayed.

Or, if you have access to the php.ini file you can look for post_max_size there and see what it's set to.

This information will tell us whether your server is setup to accept uploads larger than two megabytes. If it is then there could be a bug somewhere in PP, but without this information, or other confirmed cases of the same problem, it doesn't make sense to start digging through code for a solution that's completely separate from the application.

dankster
04-20-2007, 07:00 PM
post_max_size 8M 8M

jaywilliams
04-20-2007, 07:06 PM
upload_max_filesize has to be 8M too!

dakwegmo
04-20-2007, 07:06 PM
Ok. Now did you remove any addons that aren't part of the core PP install?

These are the addons that come with 1.6:

admin_12CropImage.php
admin_akismet_comment.php
admin_ping.php
admin_update_exif.php
advanced_stat.php
calendar.php
copy_folder.php
current_datetime.php
paged_archive.php
referer_spam.php

dakwegmo
04-20-2007, 07:08 PM
upload_max_filesize has to be 8M too!

Thanks Jay, I forgot about that one.