PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   No Longer able to upload pictures (http://www.photopost.com/forum/photopost-pro-installation-upgrades/113616-no-longer-able-upload-pictures.html)

rhonda April 22nd, 2005 09:27 PM

No Longer able to upload pictures
 
I am using
vbulletin version 3.0.7 with
Photopost 5.03,
on a Yahoo server
Running
MySQL 3.23.49
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
Rhonda

Chuck S April 23rd, 2005 07:27 AM

Well looks to me like php memory is running out and stopping the script

Try this in bulkupload.php find this

ini_set("max_execution_time", 0);

underneath add this

ini_set("memory_limit", "24M");

rhonda April 23rd, 2005 10:27 AM

Partial Fix
 
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.

Thanks

Rhonda

Chuck S April 23rd, 2005 01:05 PM

Clear their uploads directories

rhonda April 23rd, 2005 10:19 PM

Intermittent uploading
 
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?

rhonda April 23rd, 2005 10:51 PM

Intermittent upload
 
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
ini_set("memory_limit", "36M");
(presently at 24M)..is that possible?
Smaller files do appear to load

Your help appreciated

Chuck S April 24th, 2005 07:49 AM

You can try that. I would set your max filesize in usergroup permissions down some also

rhonda April 24th, 2005 09:04 AM

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

Chuck S April 24th, 2005 09:35 AM

In our product admin usergroup permissions editor is the max filesize and diskspace options

rhonda April 24th, 2005 10:23 AM

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?

Chuck S April 24th, 2005 11:53 AM

What version of Photopost are you using? I would upgrade to 5.03

rhonda April 24th, 2005 01:24 PM

Upgrade question
 
I believe that I did upgrade to 5.03 (from 5.02).. Was there a particular module this was in to check on?

Chuck S April 24th, 2005 01:28 PM

I would redownload and make sure you have the current vb3.php file from 503

rhonda April 24th, 2005 06:28 PM

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

Chuck S April 24th, 2005 07:01 PM

Now reset permissions and save

rhonda April 24th, 2005 08:45 PM

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?

Tourmeister August 5th, 2006 09:26 PM

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.

Chuck S August 6th, 2006 10:35 AM

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.

Tourmeister August 10th, 2006 12:30 AM

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:

Quote:

Error creating thumbnail! Error code: 127

Command:

"/usr/bin/X11/mogrify" +profile "*" -size 150x112 -quality 70 -geometry 150x112 -unsharp 10 '/var/www/html/photopost/data/500/thumbs/HPIM1122.JPG'
I guess what I don't understand is what might have caused this to start happening just recently? There have been no changes to the underliying forum softare or new mods. Actually, Photopost was the last mod I made and up until now has been working quite nicely. I will double check with my host provider to be sure he has changed nothing recently.

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?

Thanks.

Chuck S August 10th, 2006 07:44 AM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97