PDA

View Full Version : upload gives only red 'error' box


relaxing
02-08-2007, 12:05 AM
When I try to upload I get a red box that says "Error" at the bottom of the upload page.

If only it could tell me more, I would debug the problem myself :smile:


You are running Pixelpost version: 1.5 Final - July 2006
Latest Pixelpost version: 1.5 - Download the latest version from Pixelpost.org

Looking for help or want to give feedback, please step into Pixelpost forum.: www.pixelpost.org/forum/

Host Information

URL http://xxxxxxxxxxxx.com/admin/index.php

PHP-version 4.3.8 (Pixelpost's min requirement: PHP version: 4.3.0 )

Session save path /tmp

MySQL version 5.0.27-standard (Pixelpost's min requirement: MySQL: 3.23.58 )

GD-lib bundled (2.0.23 compatible) with JPEG support

File Uploads to Pixelpost site are possible.

Server Software Apache-AdvancedExtranetServer/2.0.47 (Mandrake Linux/1.1mdk) PHP/4.3.8 mod_ssl/2.0.47 OpenSSL/0.9.7a

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

Paths
Guessed imagepath: /stuff/www/assembledlight/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

Dkozikowski
02-08-2007, 12:30 AM
Please post the error including line number so we can help you out a little more.

Without knowing the error the information provided is virtually useless ;)

relaxing
02-08-2007, 01:01 AM
I know! :) It's not giving an error number or anything! It just says 'Error.' Is there some other place to find the error number?

austriaka
02-08-2007, 05:52 AM
Look at this thread:
http://forum.pixelpost.org/showthread.php?t=4827
or this
http://forum.pixelpost.org/showthread.php?t=5514

Changing the check_upload function in includes/functions.php will give you a detailed explanation of your error.
The two most common reasons of this pp behaviour are:
1) wrong image format (only jpg and gif allowed)
2) too large image and server timeout / server max filesize restriction

HTH
KArin

relaxing
02-08-2007, 01:44 PM
Got it! :)

With the patched function the error was "Exceeded maximum filesize for webserver to handle."

Thing is, I had already changed my php.ini to allow for bigger files. But somehow php was looking for php.ini in a different place than where it was installed!? I don't understand how that could even work, if php couldn't find php.ini.

The funny thing is I've been running a website on this installation of php for years :)

austriaka
02-08-2007, 09:05 PM
perhaps your images are getting bigger with the years? ;-)
KArin