I'm sorry if this is a similar post to a previous one, I didn search but couldn't find any solutions.
coppermine.chrisflannery.com (http://coppermine.chrisflannery.com)
I recieved a notice from my hosting company that my site has been 'upgraded' again - except this time some migration has taken place.
My album is still mostly functional except I cannot upload any new pictures.
It doesn't give me any errors when i try a file upload - it only says 0 Files uploaded correctly.
Out of curiosity I tried a URL upload and i did get a permissions error:
Warning: touch(): Unable to create file ./albums//edit/mURI_temp_1398725a.jpg because Permission denied in /usr/local/pem/vhosts/22765/webspace/httpdocs/upload.php on line 1788
Anybody have any soloutions or hints - I have access to my php & sql info - I just don't know where to begin.
Thanks for any help,
Much Appreciated and have a glorious New Year.
Chris
USER:
------------------
Array
(
[ID] => 89bbf1fea1c97f3fe1b3c7f02fc3bc90
[am] => 1
[sort] => dd
[liv] => Array
(
[0] => 456
[1] => 168
[2] => 192
[3] => 193
[4] => 367
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_group] => 1
[user_active] => YES
[user_name] => cflann01
[user_password] => ********
[user_lastvisit] => 2005-12-28 22:59:40
[user_regdate] => 2005-09-17 16:47:13
[user_group_list] =>
[user_email] =>
[user_website] => www.chrisflannery.com
[user_location] => pennsylvania
[user_interests] => stuff
[user_occupation] =>
[user_actkey] =>
[disk_max] => 0
[disk_min] => 0
[can_rate_pictures] => 1
[can_send_ecards] => 1
[ufc_max] => 3
[ufc_min] => 3
[custom_user_upload] => 0
[num_file_upload] => 5
[num_URI_upload] => 3
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 1
[has_admin_access] => 1
[pub_upl_need_approval] => 0
[priv_upl_need_approval] => 0
[group_name] => Administrators
[upload_form_config] => 3
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 1
[groups] => Array
(
[1] => 1
)
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content FROM cpg133_filetypes;
[1] => SELECT * FROM cpg133_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'd11b3c4902797664855b813b389c3723'
[2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as priv_upl_need_approval FROM cpg133_usergroups WHERE group_id in (1)
[3] => SELECT group_name FROM cpg133_usergroups WHERE group_id= 1
[4] => DELETE FROM cpg133_banned WHERE expiry < '2005-12-29 00:03:11'
[5] => SELECT * FROM cpg133_banned WHERE ip_addr='68.236.26.197' OR ip_addr='68.236.26.197' OR user_id=1
[6] => SELECT value FROM cpg133_config WHERE name = 'theme'
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.2 - OK
------------------
mySQL version: 4.0.18-Max
------------------
Coppermine version: 1.3.3
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.12 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.58
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
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 | passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,system,apache_note,apache_setenv,closelog,debugger_off,debugger_on,define_syslog_variables,openlog,syslog,popen,pclose | passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,system,apache_note,apache_setenv,closelog,debugger_off,debugger_on,define_syslog_variables,openlog,syslog,popen,pclose
file_uploads | Off | Off
include_path | .:/php/includes | .:/php/includes
open_basedir | /usr/local/pem/vhosts/22765 | 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 | 20 | 20
max_input_time | -1 | -1
upload_max_filesize | 10M | 10M
post_max_size | 8M | 8M
==========================
Page generated in 0.065 seconds - 7 queries in 0.003 seconds - Album set :
http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php
http://coppermine.chrisflannery.com
test account= debug:debug
thanks again
You should seriously look into finding a better host. PHP 4.3.2 is very old. I don't know what kind of "upgrades" your host is giving you, but it doesn't look like much.
Check your directory permissions. The /albums directory, and all subdirectories and files contained within should be set to 777 (or 755, depending on server setup.)