I just installed CPG 1.2 on a freash installed, not upgrade and when i go to upload a picture i get this error.
Impossible to move flag.jpg to albums/userpics/10001/
Now i don't know if this helps but i have CPG 1.1 installed into a different dir on the same site and the upload feature works just fine. I am able to upload picturs without a problem.
Thanks for any help in advance.
Did you use the same prefix for your 1.2.0 tables as you did you 1.1.0 tables? that might be causing a conflict...
CHMODed /albums and all subfolders to 777 or 755 (depending on your server config)?
GauGau
#1 - No i have used a different prefix in the database for the cpg1.2 install, everything else seems to work find but i just can't upload.
#2 - I tried CHMODing /albums and all subfolder to 777 and 755, still getting the same error.
Anything else you guys can think of?
maybe ownership? Tried CHOWN? Safe_mode?
We have a new tool built in that's supposed to help us support and debug, try this:
log in as admin, admin mode
enter this url manually: http://yoursite.com/yourcoppermine/phpinfo.php
Copy the content of the page and paste it to a posting here.
GauGau
Ya i tried CHOWN and still nothing, Safemode is off..
Here is the phpinfo.
Advanced debug info (phpinfo)
PHP version: 4.1.2
mySQL version: 3.23.56
--------------------------------------------------------------------------------
Image Lib(s)
gd
module doesn't exist
Server restrictions (safe mode)?
Directive Local Value Master Value
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
safe_mode_exec_dir no value no value
sql.safe_mode Off Off
disable_functions no value no value
file_uploads 1 1
include_path .:/usr/share/pear .:/usr/share/pear
open_basedir no value no value
email
Directive Local Value Master Value
sendmail_from me@localhost.com me@localhost.com
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
SMTP localhost localhost
Size and Time
Directive Local Value Master Value
max_execution_time 60 60
upload_max_filesize 2M 2M
post_max_size 8M 8M
QuoteImage Lib(s)
gd
module doesn't exist
:!:
It appears as if you don't have GD. Do you run IM?
GauGau
Yes i am running ImageMagick, seems to be fine for CPG 1.1 on the other install..
hm, I'm nearly done with suggestions. Could you pm me your url and a test account that has upload rights somewhere on your gallery?
Please include a reference to this thread ( http://forum.coppermine-gallery.net/index.php?topic=567 ) in your pm so I can find it more easily...
GauGau
well, turned out it was an easy one: you didn't have an album at all, so where was the upload supposed to go to? I created an album and *boom* I was able to upload...
GauGau
P.S. Don't forget to change your admin pw you sent me!
So weird i had 3 albums in there before i deleted them and sent you the info. I guess it needed to be refreshed.
Thanks a bunch, you da man gaugau :D