Hi , I'm a newbie and encountered this error message when I tried to upload pics to the site:
USER:
------------------
Array
(
[ID] => 28c3156820640b865c1a426b3434954a
[am] => 1
)
==========================
USER DATA:
------------------
Array
(
- => 1
[user_id] => 1
[1] => 1
[user_group] => 1
[2] => YES
[user_active] => YES
[3] => UBKendo
[user_name] => UBKendo
[4] =>
[user_password] =>
[5] => 2004-04-30 17:40:04
[user_lastvisit] => 2004-04-30 17:40:04
[6] => 2004-04-30 16:05:32
[user_regdate] => 2004-04-30 16:05:32
[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
[25] => 3
[upload_form_config] => 3
[26] => 0
[custom_user_upload] => 0
[27] => 5
[num_file_upload] => 5
[28] => 3
[num_URI_upload] => 3
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content FROM cpg130_filetypes;
[1] => SELECT * FROM cpg130_users, cpg130_usergroups WHERE user_group = group_id AND user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) =
[2] => DELETE FROM cpg130_banned WHERE expiry < 1083364019
[3] => SELECT * FROM cpg130_banned WHERE ip_addr='128.205.246.136' OR ip_addr='128.205.246.136' OR user_id=1
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[URI_array] => Array
(
- =>
[1] =>
[2] =>
)
[control] => phase_1
)
==========================
VERSION INFO :
------------------
PHP version: 4.2.3 - OK
------------------
mySQL version: 4.0.17-standard-log
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
module doesn't exist
==========================
Module: zlib
------------------
module doesn't exist
==========================
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 | 1 | 1
include_path | .:/usr/local/lib/php | .:/usr/local/lib/php
open_basedir | no value | 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 | |
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 50000 | 50000 | |
upload_max_filesize | 20M | 20M
post_max_size | 8M | 8M
==========================
Page generated in 0.067 seconds - 4 queries in 0.006 seconds - Album set :
___
Can anyone help me make sense of this and tell me what I'm doing wrong? Thanks!
~Jlfang
All you have posted is the debug info. Please tell us exactly what happened when you tried to upload, and the full error messages.
If the upload actually worked, but you are worried by this output, just turn off debug mode in config.
A test user account, with upload permissions would also help.