PDA

View Full Version : upload problem


ace
04-04-2007, 01:46 AM
Hello everyone,
I must have searched through atleast 50threads for a solution to my problem, I've even tried some of the suggestions but to no avail.
My problem is that I'm unable to upload new images onto my site. Here's what happens. When go through the same process I've been going through uploading images in the past 6months or so, the image itself does not appear to be uploaded... it is not included in the images list, and there is no error. All it seems to do (I.E) is it seems to be uploading, but the end result is basically nothing. I have checked the time, to make sure its correct and that I'm not uploading to publish later... and thats not it, I have made sure that all my folders are writtable, and permissions are set to be so... but no difference, I have put in that code in the functions.php that GoeS suggested and seemed to work for someone else.. but it didn't work
the code is
function check_upload($string)
{
global $admin_lang_pp_up_error_0, $admin_lang_pp_up_error_1, $admin_lang_pp_up_error_2, $admin_lang_pp_up_error_3, $admin_lang_pp_up_error_4;

$error_explained = array(
"0" => "$admin_lang_pp_up_error_0",
"1" => "$admin_lang_pp_up_error_1",
"2" => "$admin_lang_pp_up_error_2",
"3" => "$admin_lang_pp_up_error_3",
"4" => "$admin_lang_pp_up_error_4",
"6" => "Missing a temporary folder.",
"7" => "Failed to write file to disk."
);

$result = $error_explained[$string];
return($result);
}


still.. this didn't help. Please.. if anyone can help.. I'd really appreciate it.
Thank you all

dakwegmo
04-04-2007, 02:45 AM
How much free space do you have where PixelPost is hosted? You could see this behavior if your site/server is out of free space.

ace
04-04-2007, 04:11 AM
How much free space do you have where PixelPost is hosted? You could see this behavior if your site/server is out of free space.

that was the first thing I checked. I have enough free space... I only have 45photos uploaded... so I'm positive this is not the issue.

Dkozikowski
04-04-2007, 04:13 AM
How large are the images you are trying to upload? It's possible the server is timing out before the upload is complete.

ace
04-04-2007, 04:39 AM
How large are the images you are trying to upload? It's possible the server is timing out before the upload is complete.I have standardized the size of my images.. all are below these limits
Width - 750pix
Height - 520pix
with an average of 300Kb's each....

austriaka
04-04-2007, 09:30 AM
the code GeoS provided is not for uploading your images but for giving an exact error message what part of the upload was failing.

Please tell us the general info of your photoblog (you find it in "general info" in your admin panel). Just copy it there and paste it here.

Did you change anything in your blog before your problems started, IE upgrading to 1.6 or installing a new addon?

Turn off all Addons and try if it will work then. If so, turn on your Addons one by one to find out which one causes the trouble.

Do you have a local installaion of Pixelpost with the exact same files than in your life blog? Does it work here?

Ask your hoster if there is an upload limit for PHP. 300kB is not so big, but perhaps there is some limitation.

Check your images if there is correct exif data, if you use anything Exif related in your upload process (Date by Exif, Exif to Database...)

KArin

dakwegmo
04-04-2007, 12:56 PM
that was the first thing I checked. I have enough free space... I only have 45photos uploaded... so I'm positive this is not the issue.

Can you upload files through FTP?

Are you on a shared or dedicated server? Dedicated means only your website is on it, and you should have admin access to the box. Shared means there are hundreds if not thousands of websites on one server. If you're on a shared server it's possible the server is out of space, even though you haven't used much. You can test this by uploading any file to the server through FTP. If a zero byte file is created, or you get a disk space error, then you can be pretty sure your host has run out of space on the server.

ace
04-04-2007, 06:19 PM
Can you upload files through FTP?

Are you on a shared or dedicated server? Dedicated means only your website is on it, and you should have admin access to the box. Shared means there are hundreds if not thousands of websites on one server. If you're on a shared server it's possible the server is out of space, even though you haven't used much. You can test this by uploading any file to the server through FTP. If a zero byte file is created, or you get a disk space error, then you can be pretty sure your host has run out of space on the server.

I'm able to upload to my FTP so, I guess that means I'm not out of space... here's my general information

Pixelpost Information
You are running Pixelpost version: 1.5 Final - July 2006
Latest Pixelpost version: Check
Looking for help or want to give feedback, please step into Pixelpost forum.: www.pixelpost.org/forum/


Host Information

URL http://alphakilo.net/photoblog/admin/index.php
PHP-version 4.3.1 (Pixelpost's min requirement: PHP version: 4.3.0 )

Session save path C:\php\sessiondata

MySQL version 4.0.23-nt (Pixelpost's min requirement: MySQL: 3.23.58 )

GD-lib bundled (2.0 compatible) with JPEG support

File Uploads to Pixelpost site are possible.

Server Software Microsoft-IIS/5.0

EXIF Pixelpost is using exifer v1.5 for EXIF-information.


Paths
Guessed imagepath: /photoblog/images/
Configured Imagepath: ../images/

Image Directory: OK - Can we write to the directory? YES. CHMOD: 0777

Thumbnails Directory: OK - Can we write to the directory? YES. CHMOD: 0777

Language Directory: OK

Addons Directory: OK

Includes Directory: OK

Templates Directory: OK

GeoS
04-05-2007, 10:19 PM
So for me it looks like windows permissions problem. Ask hoster about setting them correctly for IIS - to enable files upload through webserver (enable permission for upload for webserver user).

dakwegmo
04-05-2007, 11:22 PM
So for me it looks like windows permissions problem. Ask hoster about setting them correctly for IIS - to enable files upload through webserver (enable permission for upload for webserver user).

That would be my guess too. Make sure the directory is the web user (iusr...) has write permissions to the directory and the IIS properties allow writing to the directory.

Dennis
04-06-2007, 04:43 AM
Since you're on a windows machine the output will be that the folders are writable, however, the function used will not work on windows machines.

We have adressed this issue in the final version of 1.6.