can't upload jpg can't upload jpg
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

can't upload jpg

Started by xeonium, April 06, 2006, 10:12:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xeonium

Can't upload JPG's to gallery - has message "The previous file could not be placed. You have successfully placed all the files.".
Triple checked permissions on albums dir - all set to 777 and i can see files in userpics/10001 folder but no files are displayable in gallery  >:(

i create user account to test, please check this issue:

http://www.apparatchik.us/ksen
user: test
pass: testtest

Thanks.

kegobeer

Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

xeonium

Well, problem is solved - PHP was running in Safe Mode.

Devs please - mention it somewhere, like Gallery devs do!

Tranz

Quote from: xeonium on April 06, 2006, 03:17:20 PM
Devs please - mention it somewhere, like Gallery devs do!
Like in the docs?
Quote2.4 Safe mode issues

A significant number of webhosts on the Internet run PHP in safe mode. Coppermine runs without any problem in safe mode and with the "open basedir restriction" active, provided safe mode is properly configured. Unfortunately, on many hosts, safe mode is not configured properly.

If your webhost is running PHP in safe mode but is misconfigured, you may need to do the following :

    * With a FTP program, change the mode of Coppermine's "include" directory on your server to 0777.
    * Do the same for the "albums" and "userpics" directories.
    * Check that at the beginning the the "include/config.inc.php" file, you have a line with : "define('SILLY_SAFE_MODE', 1);"

xeonium

eh, so give out some human readable error messages (or error codes), not like "The previous file could not be placed. You have successfully placed all the files.". - there is no even internal logic in this sentence. guys, i appreciate your work, but you are coding for ppl.

Nibbler

If you did as suggested then you would get useful messages. Detailed error messages are not dished out to regular site visitors for good reason.