Hello, I am hoping to get some help about uploads. I followed the upload process tutorial and did everything exactly as it says:
here is the test account for you (the site is in italian, but if you know cpg you should figure it out):
www.socmail.com/gallery
user: testcpg
pw: testcpg
Here is what I get after attempting a single file upload:
Nessuna immagine aggiunta ! (NO IMAGE UPLOADED)
Controlla che il server permetta gli uploads... (CHECK THAT THE SERVER ALLOWS UPLOADS)
File: /home/placeh00/domains/socmail.com/public_html/gallery/db_input.php - Linea: 221
And here is the debug info:
USER:
------------------
Array
(
[ID] => 3ee84ede5fc17f337e4546959c0d739d
[am] => 0
)
==========================
USER DATA:
------------------
Array
(
[disk_max] => 10240
[disk_min] => 10240
[can_rate_pictures] => 1
[can_send_ecards] => 1
[ufc_max] => 0
[ufc_min] => 0
[custom_user_upload] => 1
[num_file_upload] => 10
[num_URI_upload] => 10
[can_post_comments] => 1
[can_upload_pictures] => 1
[can_create_albums] => 1
[has_admin_access] => 1
[pub_upl_need_approval] => 1
[priv_upl_need_approval] => 1
[group_name] => Amministratore
[upload_form_config] => 0
[group_quota] => 10240
[can_see_all_albums] => 1
[group_id] => 1
[groups] => Array
(
[0] => 1
[1] => 8
[2] => 9
)
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content FROM cpg132_filetypes;
[1] =>
SELECT variable, value
FROM smf_settings
[2] =>
SELECT mem.*, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH
FROM smf_members AS mem
LEFT JOIN smf_attachments AS a ON (a.ID_MEMBER = 1)
WHERE mem.ID_MEMBER = 1
LIMIT 1
[3] => 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 cpg132_usergroups WHERE group_id in (1,8,9)
[4] => SELECT group_name FROM cpg132_usergroups WHERE group_id= 1
[5] => DELETE FROM cpg132_banned WHERE expiry < 1125060506
[6] => SELECT * FROM cpg132_banned WHERE ip_addr='65.254.42.100' OR ip_addr='65.254.42.100' OR user_id=1
[7] => SELECT category FROM cpg132_albums WHERE aid='1' and (uploads = 'YES' OR category = '10001')
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[album] => 1
[MAX_FILE_SIZE] => 2097152
[title] => prova
[caption] => prova1
[keywords] =>
[event] => picture
[over_p] => 1
)
==========================
Page generated in 0.079 seconds - 8 queries in 0.017 seconds - Album set :
QuoteNo file was uploaded !
If you have really selected a file to upload, check that the server allows file uploads...
File: /home/placeh00/domains/socmail.com/public_html/gallery/db_input.php - Line: 221
Well,
does the server allow uploads? Ask you webhost.
it must because I have SMF installed and bridged with CPG and all my users upload from SMF
are there any other ideas about this because I really don't know what to make of it and any help would be greatly appreciated. thanks a lot.