forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: adoma on December 08, 2003, 03:24:51 am
-
Hi All,
I keep getting the following error when I try to load any image:
Impossible to move ishan.jpg to albums/userpics/ !
File: /home/content/a/d/o/adoma/html/coppermine/db_input.php - Line: 259
I set all the folder/file attributes to 777 and the image size is 10k.
Any help you can provide is greatly appreciated.
Thanks in advance.
Aravind
-
Activate debug mode in the Config page. It will give a more detailed error.
-
It is activated but it doesnot say much as to whats wrong:
USER:
Array
(
[ID] => d2030ec016722adce1ab677c5c0bc05a
[am] => 1
)
USER DATA:
Array
(
[user_id] => 1
[1] => 1
[user_group] => 1
[2] => YES
[user_active] => YES
[3] => adoma
[user_name] => adoma
[4] => password
[5] => 2003-12-09 22:01:59
[user_lastvisit] => 2003-12-09 22:01:59
[6] => 2003-12-09 22:01:59
[user_regdate] => 2003-12-09 22:01:59
[7] =>
[user_lang] =>
[8] =>
[user_email] =>
[9] =>
[user_website] =>
[10] =>
[user_location] =>
[11] =>
[user_interests] =>
[12] =>
[user_occupation] =>
[13] =>
[user_actkey] =>
[14] => 1
[group_id] => 1
[15] => Administrators
[group_name] => Administrators
[16] => 0
[group_quota] => 0
[17] => 1
[has_admin_access] => 1
[18] => 1
[can_rate_pictures] => 1
[19] => 1
[can_send_ecards] => 1
[20] => 1
[can_post_comments] => 1
[21] => 1
[can_upload_pictures] => 1
[22] => 1
[can_create_albums] => 1
[23] => 0
[pub_upl_need_approval] => 0
[24] => 0
[priv_upl_need_approval] => 0
)
Queries:
Array
(
- => SELECT * FROM cpg11d_users, cpg11d_usergroups WHERE user_group = group_id AND user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '5f4dcc3b5aa765d61d8327deb882cf99'
[1] => DELETE FROM cpg11d_banned WHERE expiry < 1071033206
[2] => SELECT * FROM cpg11d_banned WHERE ip_addr='67.22.188.50' OR ip_addr='67.22.188.50' OR user_id=1
[3] => SELECT category FROM cpg11d_albums WHERE aid='1'
)
GET :
Array
(
)
POST :
Array
(
[event] => picture
[album] => 1
[MAX_FILE_SIZE] => 1048576
[title] =>
[caption] =>
[keywords] =>
[user1] =>
[user2] =>
[user3] =>
[user4] =>
)
-
Please read and try:
http://forum.coppermine-gallery.net/index.php?topic=1087