PDA

View Full Version : Upload images problem


kastet
January 25th, 2007, 06:33 AM
When I try to upload images about 1.5meg 30000x20000
In line = http://www.magicblot.com/photoforum/bulkupload.php?ppaction=addphotos&do=preview&photopath=2&upuser=&notify=no&rating=&comments=yes&defcat=500&deftitle=&defdesc=&defdesc=&keywords=&numprocess=10&processall=no&dthumbs=

I got massage =
"Internal server error
We’re sorry for the inconvenience, but there has been an internal server error. Please click on the back button to return to the former page."

After this uncomplete process I can't upload any small images.
But in folder /uploads/2/DSC_1888.JPG = I can see the BIG (2.42meg) photo file what I try to upload in my gallery.
No were else ( like data/500/thumbnails) .
Then I deleted uncomlete image from the directory by FTP and small images uploads in normal mode. But images 600kb (i think is normal) 30000x20000 dosn't upload
Can you help me please?

Chuck S
January 25th, 2007, 07:27 AM
I would suggest adding the bold line to your pp-inc.php file right below the line noted at the top of the file:


error_reporting (E_ALL ^ E_NOTICE);
ini_set("memory_limit", "60M");

kastet
January 26th, 2007, 06:16 PM
I would suggest adding the bold line to your pp-inc.php file right below the line noted at the top of the file:


error_reporting (E_ALL ^ E_NOTICE);
ini_set("memory_limit", "60M");


I did it but problem is it

Chuck S
January 27th, 2007, 09:08 AM
I am not understand your english sorry

Clear your uploads directories under uploads in photopost directory on the server and apply the edit noted.

kastet
January 27th, 2007, 08:24 PM
I am not understand your english sorry

Clear your uploads directories under uploads in photopost directory on the server and apply the edit noted.

Sorry for my English
I cleared my uploads directories under uploads in photopost directory on the server. I change my pp-inc.php file with code what you provide me to increase PHP memory for 60Mb,
php.ini:
upload_max_filesize 5M
post_max_size 8M
mysql.connect_timeout 60
Problem when I upload file more then 2M, I can see page
"Preparing to process image list!
Click here if you do not want to wait any longer
(or if your browser does not automatically forward you)" and then next page what I can see is "Internal server error
We’re sorry for the inconvenience, but there has been an internal server error. Please click on the back button to return to the former page"
Then I go to the server in directory uploads/1/ and I can see file what I downloaded. Size is 2.45M.
And one more thing. In page "We’re sorry for the inconvenience, but there has been an internal server error." On left/top corner of my Internet Explorer I see the string "401 Authorization Required " ( Maybe it's help to you realize the problem)
Uploads directory and below have 777 and index.html file is 777
Data directory have 777 and all below subdirectory 777
except index file in data directory is (664) And another index.html files in subdirectories are 664 and 644
thanks for your help.

Chuck S
January 28th, 2007, 09:32 AM
You can email me an admin login to chuck@photopost.com. I would like to see your php info in your photopost admin cause something is not right but normally yes you can not upload a file over 2mb without changing php server settings.

smithvillemike
February 9th, 2007, 02:14 PM
Along this same lines, everytime I try to upload a wmv to my vbgallery I get an invalid file type error. I have set the vbgallery in the admin section to accept wmv files up to 10MB and with a 640x640 size. The file I want to upload is 4mb and 640x480.

I can upload jpgs and gifs all day but this is the first time someone wanted to upload animation.

I was able to put the file up by ftp'ing the file to users/20 then using the upload and clicking on the bulk upload option.

I would like people to be able to upload the files without having to send them to me to put on the server. Got any ideas on what to do here?

thanks

Mike Murphy
www.scubafari.us

Chuck S
February 9th, 2007, 03:15 PM
If your asking for vbgallery support please post in there support forums thanks

Again along the same line though you can define anything you want in vb as long as filesize but you cant upload a file larger than your PHP max file upload.