Okay,
Yesterday I wrote with completely different problems. I uninstalled and reinstalled CPG just to see what would happen. Now I am getting less errors than before, but I can still not upload. The interesting thing is the error messages I receive now are completely different than yesterday's (before uninstall etc.).
When trying to upload I get the following error:
Impossible to move orange.jpg to albums/userpics/ !
File: /home/bullpenc/public_html/gallery/db_input.php - Line: 259
Warning: move_uploaded_file(): Unable to move '/tmp/phpKPsjFK' to 'albums/userpics/orange.jpg' in /home/bullpenc/public_html/gallery/db_input.php on line 258
The debug script shows this:
USER:
Array
(
[ID] => 31e5212865f28ca58aff8bf7e4aa9a23
[am] => 1
)
USER DATA:
Array
(
[user_id] => 1
[1] => 1
[user_group] => 1
[2] => YES
[user_active] => YES
[3] => sfumato
[user_name] => sfumato
[4] => xxxxxxx
[5] => 2004-06-02 10:41:10
[user_lastvisit] => 2004-06-02 10:41:10
[6] => 2004-06-02 10:41:10
[user_regdate] => 2004-06-02 10:41:10
[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) = '8fde6a6592bb16b80a40c8a641232c2e'
[1] => DELETE FROM cpg11d_banned WHERE expiry < 1086205699
[2] => SELECT * FROM cpg11d_banned WHERE ip_addr='169.137.218.97' OR ip_addr='169.137.218.97' 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] =>
)
I don't want to send too much information like I apparently did yesterday, so just let me know if you need more.
Thanks,
Bryan