PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   400 error when trying to upload videos (http://www.photopost.com/forum/photopost-pro-how-do-i/130043-400-error-when-trying-upload-videos.html)

vintagestars.com January 20th, 2007 09:17 AM

400 error when trying to upload videos
 
Hey everyone. I am unable to upload videos for my new photopost.

I did a very big search on this problem, and did all the suggestions that I could find, and I still can't upload videos!

I selected a 441kb video file, press upload, see a "success" message, but then it conks out right after that. I get a white screen that says:
INTERNAL SERVER ERROR
An internal server error has occured!
Please try again later.
Here are my admin settings:
Maximum multimedia upload size in Kb: 60000000
Acceptable multimedia file types: .mpeg,.mpg,.avi,.asf,.wmv,.mov

I added the bold line to my pp-inc.php file:
error_reporting (E_ALL ^ E_NOTICE);
ini_set("memory_limit", "60M");

And I updated my php.ini file to this:
max_execution_time = 3000; Maximum execution time of each script, in seconds
memory_limit = 60M;
max_uploaded_file = 60M;
post_max_size = 60M;
upload_max_filesize = 60M;

help!

Chuck S January 22nd, 2007 03:35 PM

441kb is quite small so there should be no issues there. Do image uploads work that size?

You can post a url and test user login here for us to try

vintagestars.com January 28th, 2007 11:44 AM

Quote:

Originally Posted by Chuck S (Post 1187327)
441kb is quite small so there should be no issues there. Do image uploads work that size?

You can post a url and test user login here for us to try

I am able to upload images without a problem. However, if I update the admin panel to allow for multiple image uploads, it conks out on the "bulkupload.php" script. Same with the videos.

My photopost is here:
http://vintagestars.com/portal

Here is an test login:
user: testing
pass: thx1138

Chuck S January 28th, 2007 12:35 PM

As long as your PHP settings give more memory to PHP it should work. Place a phpinfo.php file in your photopost directory and post that link here.

The phpinfo.php file should look like this inside

<?phpinfo();?>

vintagestars.com January 29th, 2007 11:49 AM

Quote:

Originally Posted by Chuck S (Post 1187871)
As long as your PHP settings give more memory to PHP it should work. Place a phpinfo.php file in your photopost directory and post that link here.

The phpinfo.php file should look like this inside

<?phpinfo();?>

http://vintagestars.com/phpinfo.php

These are my php.ini settings:
max_execution_time = 3000;
memory_limit = 60M;
max_uploaded_file = 60M;
post_max_size = 60M;
upload_max_filesize = 60M;

Chuck S January 29th, 2007 12:11 PM

Have you considered seeing if mogrify (imagemagick) exists on your server and if so try using that for uploads since that does not use PHP memory and can not stall PHP like GD2 can.

Whatever file your trying to upload is crashing PHP cause your using GD2 as thats not stable to process giant images

vintagestars.com January 31st, 2007 12:13 PM

I switched it to ImageMagick... now this happens after I upload a video:

Error creating thumbnail! Error code: 127

Command:

"/usr/bin/mogrify" +profile "*" -size 76x100 -quality 70 -geometry 76x100 -unsharp 10 '/homepages/24/d169348544/htdocs/portal/data/534/thumbs/drawings.jpg'

Chuck S January 31st, 2007 12:49 PM

Imagemagick does not exist where your telling the program it is. You may have to ask your host if it exists on your server


All times are GMT -5. The time now is 03:03 PM.

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