No Longer able to upload pictures
I am using
vbulletin version 3.0.7 with
on a Yahoo server
PHP Version 4.3.6
and had my site up, and was able to upload pictures, as were other members, I was able to upload as a regestered user etc, I had an email from one of our users stating unable to upload, and indeed this is true.. Now I'm not able to upload pictures either...the page is http://www.cropperscorral.com/photopost/index.php
and the initial upload screen appears, can select photos, message that images are being processed, then ... I lose the photopost menu and I'm left with the vbulletin menu.
Your help is appreciated
Well looks to me like php memory is running out and stopping the script
Try this in bulkupload.php find this
underneath add this
This appears to have fixed the problem of letting the administrator upload, but I'm still having difficulties with the registered users. Sign in ok, get to my photo gallery image upload, and the Preparing to process image list appears, and then.. photopost disappears from the screen, and I'm left with the vbulletin menu bar.. It appears to be intermittent, in that I was able to upload an image once as registered user, but have difficulty consistently doing, and have not been ever able to do it with one user. I've uploaded her pictures for her, but have not been able to get her account to work.
Clear their uploads directories
This seemed to help (clearing the upload directory, which is /tmp/"usernumber",
when using Yahoo
but I continue to have the problem of intermittent loading, some of the users are placing - in their file names, and I fixed this, and some were trying to upload files greater than 2500x2500 size, so I increased the pixel number to 6000x6000, and also turned off the resizing feature, still having problems. I'm presently autorepairing the database..
Any thoughts as to other parameters that need to be changed?
I changed the max image pixel size down to 1500X1500 without change in apparent function and changed the autoresize back to yes.. Repaired database (did not appear to have problem).. Still having problems..
My scripts log has alot of the following,
PHP Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 10056 bytes) in /photopost/image-inc.php on line 84
[24-Apr-2005 02:55:20] PHP Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 2514 bytes) in /photopost/image-inc.php on line 84
The biggest file that I see that the user tried to upload was 2530X3384 with a jpg size of 661 KB...
It appears that the autoresize is not working?, or do I need to increase the
(presently at 24M)..is that possible?
Smaller files do appear to load
Your help appreciated
You can try that. I would set your max filesize in usergroup permissions down some also
Usergroup Max File Size where is it?
Where is that? I thought that was what the max width/height was in photopost. (no control over depth of palette etc, just pixels).
In vbulletin under usergroup manager, attachment permissions,
I see a
Space (in bytes) that a user's total attachment usage may consume (Set to 0 to not have a limit)
(which I thought would represent the total amount of space used by all attachment uploads am I mistaken?)
The vbulletin help states:
Space (in bytes) that a user's total attachment usage may consume
Members of this group cannot exceed this amount of space for all of the attachments they post. Enter a byte amount.
1048576 bytes = 1 megabyte
In our product admin usergroup permissions editor is the max filesize and diskspace options
Got it--forgot about that menu
Changed, saved, but when updated, the upload file size limit then becomes the disk space limit.. I changed again and refreshed, did it again, then changed and just saved, do you need to refresh?
What version of Photopost are you using? I would upgrade to 5.03
I believe that I did upgrade to 5.03 (from 5.02).. Was there a particular module this was in to check on?
I would redownload and make sure you have the current vb3.php file from 503
Redownloaded, and replaced existing vb3.php file in forums subdirectory, no apparent change, except for now changing allowed files to upload from 0 (unlimited) to 1
Now reset permissions and save
When I refresh, it moves the max file size to the disk space limit, I've changed the settings back, is this anything to be concerned about?
I am getting the same error Rhonda was:
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 10056 bytes) in /var/www/html/photopost/image-inc.php on line 84
I have not touched Photopost since the install back in December of last year, no mods or anything. It has been doing fine up until just the last week or so.
PHP Memory limit is set to 24M
Running version 5.30
A user is trying to upload seven images of about 100Kb each, which is well within the allowed filesize. There is no limit on diskspace for him. I have used a non-admin account of mine to upload and am getting the same problem. However, as the admin, I am able to upload with no problems.
Only thing you can do is whats outlined in this thread. Raise the memory limit if your using gd2 or you can switch to imagemagick if you have it on the server.
I had been running gd2 and had the memory limit set to 24M and this worked fine for the last eight months.
Per your comment above, I just switched to the imagemagick and this was the result:
Any idea why I can upload as the Admin but no one else can upload? I would have thought the memory issues in PHP would affect everyone including the admin?
Raise the PHP memory limit and try clearing the uploads directory.
|All times are GMT -5. The time now is 06:37 AM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0