PDA

View Full Version : another image upload 'error'


graye
08-10-2006, 07:06 PM
First, thanks! I've solved my two issues so far via the forum!

yet, i appologize in advance. I've searched through about 50 threads concerning this issue but i have yet to find anything that has helped. to those of you who have helped with this issue countless times, i'm sorry in advance, but i also thank you in advance!!! :D

Host Information
----------------
URL http://www.belf.org/pixelpost/admin/index.php
PHP-version 4.3.11 (Pixelpost's min requirement: PHP version: 4.3.0 )
Session save path /tmp
MySQL version 4.1.14 (Pixelpost's min requirement: MySQL: 3.23.58 )
GD-lib bundled (2.0.28 compatible) with JPEG support
File Uploads to Pixelpost site are possible.
Server Software Apache/1.3.33 (Unix) FrontPage/5.0.2.2510 mod_fastcgi/2.4.2
EXIF Pixelpost is using exifer v1.5 for EXIF-information.

Paths
----------------
Guessed imagepath: //pixelpost/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

when i use the 'new image' page i get a red box with 'error' inside. no other info is given. I know, not much info to go on. If there's more info i can provide please let me know and I'll post.

any help you can be is greatly appreciated!!!

Connie
08-10-2006, 08:02 PM
do you get the red error box when trying to upload a photo or when you open that site in the browser?

if the first is the case, which file format you wanted to upload?

maybe a fileformat which is not supported?

graye
08-10-2006, 08:40 PM
Hiya Connie,

Thanks for the response.

Bottom of the screen has a red box with 'error' written inside in black text when trying to upload an image via the new image page.

I've tried JPG's and TIF's, both large files (few megs) and small files (under 500k) but none can upload.

Graye

Connie
08-10-2006, 08:54 PM
TIF is not supported because no browser will accept TIF!!!

Only webproof-fileformats are:

GIF / JPG / PNG

big files are stupid in a webpage, because the screen can only show 72dpi and who wants to load megabytes when opening a website?
Please keep the filesize convenient

it is very reasonable that you came over a filesize-limit-for-upload of your server

graye
08-10-2006, 09:01 PM
good point about tifs, i simply wanted to try a different format and it was convienient.

you are correct, big files are stupid on a webpage, however i've even tried uploading a 17k JPG file (of course set at 72dpi) and I still get the same red box 'error'.

just to make sure i didn't reach any filesize limit I checked into my status and I'm currently at 1% of my 10gig limit.

anything else you can think of that i might try?

Connie
08-10-2006, 09:08 PM
one question:

is this the first time you want to upload or did it work before?

graye
08-10-2006, 09:13 PM
new to pixelpost. installed for the first time today. :o )

GeoS
08-10-2006, 10:39 PM
Go to /includes/functions.php and find check_upload function then change it to this:
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"
);

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

This bug will be fixed in next release (currently it is fixed in CVS - http://pixelpost.cvs.sourceforge.net/pixelpost/pixelpost_dev/includes/functions.php?view=log).

graye
08-10-2006, 11:36 PM
I'm not sure what CVS is or even what you did, but it definately worked!

Thank you so much!

Connie
08-11-2006, 06:04 AM
CVS is just our system to keep the versions which are in development

mimi_mtl
11-17-2006, 02:33 PM
Hi there,

I am having the same problem as graye. I have been using pixelpost at least for 6 months and haven't encountered this problem before. My pictures are always JPEG's and 72dpi. I have more than enough space for the files with my hosting.

I changed check_upload in function as GeoS suggested and tried to upload another picture. But still getting the red error message box.

What do I need to do?
Thanks in advance for your attention and reply!

and...

This is my website: www.iremharnak.com and here is my general info:

Pixelpost Information
You are running Pixelpost version 1.5 - April 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://www.iremharnak.com/admin/index.php
PHP-version 4.4.4 (Pixelpost's min requirement: PHP version: 4.3.0 )

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

GD-lib bundled (2.0.28 compatible) with JPEG support

File Uploads to pixelpost site are possible.

Server Software Apache

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


Paths
Guessed imagepath: /home/users/web/b2184/pow.iremcanharnak/htdocs/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

tanjatiziana
02-05-2009, 08:34 AM
I am having the same problem as Graye - except that I've been using pixelpost for years and suddenly tonight am given this error.

Tried to update the functions code to what you said, and now the Admin panel is not accepting my login/password! Have uploaded my old functions back, but it is still locking me out right now. Try again and again to re-upload the old file and clear my cache.

Help!

tanjatiziana
02-05-2009, 06:05 PM
Login problem corrected and now I'm back at square one. Despite the upgrade, I am still getting the red bar ERROR.

Posted about it here as well:
http://www.pixelpost.org/forum/showthread.php?p=64557#post64557