I know these type of questions have been asked, I've search for them, but havnt found an answer to help me.
I'm trying to upload a picture and i get:
Impossible to move silentscreaming.jpg to albums/userpics/10002/ !
Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/tmp/phpfZXykq) is not within the allowed path(s): (/home/content/k/h/i/khirsah) in /home/content/k/h/i/khirsah/html/coppermine1.2/db_input.php on line 258
Warning: move_uploaded_file(/tmp/phpfZXykq) [function.move-uploaded-file]: failed to create stream: Operation not permitted in /home/content/k/h/i/khirsah/html/coppermine1.2/db_input.php on line 258
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpfZXykq' to 'albums/userpics/10002/silentscreaming.jpg' in /home/content/k/h/i/khirsah/html/coppermine1.2/db_input.php on line 258
No I'm not hosting my own server. My provider claims UNIX / Apache with PHP installed. (Godaddy.com) I'm running Coppermine 1.2.0 RC2 with PhpBB2. Albums, userpics, and include are chmod 777.
PhpInfo:
Advanced debug info (phpinfo)
PHP version: 4.3.1
mySQL version: 4.0.14-max-log
--------------------------------------------------------------------------------
Image Lib(s)
gd
GD Support enabled
GD Version bundled (2.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
Server restrictions (safe mode)?
Directive Local Value Master Value
safe_mode Off Off
safe_mode_exec_dir 1 1
safe_mode_gid Off Off
safe_mode_include_dir no value no value
safe_mode_exec_dir 1 1
sql.safe_mode Off Off
disable_functions no value no value
file_uploads On On
include_path .:/usr/local/lib/php .:/usr/local/lib/php
open_basedir /home/content/k/h/i/khirsah no value
email
Directive Local Value Master Value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
SMTP localhost localhost
smtp_port 25 25
Size and Time
Directive Local Value Master Value
max_execution_time 30 30
max_input_time -1 -1
upload_max_filesize 2M 2M
post_max_size 8M 8M
I noticed there is a value for open_basedir in local but not in master, and i assume (correct or not : p ) that this could be my problem area? What, if anything should be in either of these?
Thanks for any time and help,
-Khirsah