forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: Ali Amanat on July 02, 2004, 02:45:30 pm
-
Hi !
I have a problem to send e-card from gallery
when "Anonymous" want to send e-card and go to "Send an e-card" page this notice seen:
"Notice: Undefined index: offline in /home/httpd/vhosts/*****/httpdocs/photogallery/include/init.inc.php on line 303
Notice: Undefined index: ecard in /home/httpd/vhosts/*****/httpdocs/photogallery/ecard.php on line 33"
and when send an e-card this page is come:
"Sorry but the server can't send your e-card...
File: - Line:
Notice: Undefined index: offline in /home/httpd/vhosts/*****/httpdocs/photogallery/include/init.inc.php on line 303
Notice: Undefined index: ecard in /home/httpd/vhosts/*****/httpdocs/photogallery/ecard.php on line 33
Notice: Undefined index: REMOTE_HOST in /home/httpd/vhosts/*****/httpdocs/photogallery/ecard.php on line 111
Notice: Undefined index: ecard in /home/httpd/vhosts/*****/httpdocs/photogallery/ecard.php on line 114
Warning: Missing argument 3 for cpg_die() in /home/httpd/vhosts/*****/httpdocs/photogallery/include/functions.inc.php on line 131
Warning: Missing argument 4 for cpg_die() in /home/httpd/vhosts/*****/httpdocs/photogallery/include/functions.inc.php on line 131"
here is debug info of the page :
--------------------------------------------------------------------------------------------------------------------------------------
USER:
------------------
Array
(
[ID] => 1f640476899085a300d9ce253bdc2df9
[am] => 1
[liv] => Array
(
- => 41
[1] => 61
[2] => 17
[3] => 39
)
)
==========================
USER DATA:
------------------
Array
(
- => 3
[group_id] => 3
[1] => Anonymous
[group_name] => Anonymous
[2] => 0
[group_quota] => 0
[3] => 0
[has_admin_access] => 0
[4] => 1
[can_rate_pictures] => 1
[5] => 1
[can_send_ecards] => 1
[6] => 0
[can_post_comments] => 0
[7] => 0
[can_upload_pictures] => 0
[8] => 0
[can_create_albums] => 0
[9] => 1
[pub_upl_need_approval] => 1
[10] => 1
[priv_upl_need_approval] => 1
[11] => 0
[upload_form_config] => 0
[12] => 0
[custom_user_upload] => 0
[13] => 5
[num_file_upload] => 5
[14] => 3
[num_URI_upload] => 3
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content FROM cpg140_filetypes;
[1] => SELECT * FROM cpg140_users, cpg140_usergroups WHERE user_group = group_id AND user_id='0'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '*'
[2] => SELECT * FROM cpg140_usergroups WHERE group_id = 3
[3] => DELETE FROM cpg140_banned WHERE expiry < 1088770548
[4] => SELECT * FROM cpg140_banned WHERE ip_addr='217.146.209.4' OR ip_addr='217.146.209.51' OR user_id=0
[5] => SELECT aid FROM cpg140_albums WHERE visibility != '0' AND visibility !='10000' AND visibility NOT IN (3)
)
==========================
GET :
------------------
Array
(
[album] => 1
[pid] => 39
[pos] => 31
)
==========================
POST :
------------------
Array
(
[sender_name] => xxx
[sender_email] => xxxxx@yahoo.com
[recipient_name] => xxxx
[recipient_email] => xxxxx@yahoo.com
[greetings] => xxxx
[message] => xxxxxxx
)
==========================
Page generated in 3.375 seconds - 6 queries in 3.057 seconds - Album set :
--------------------------------------------------------------------------------------------------------------------------------------
I active Anonymous send e-card
can you help me????
regard
Amanat
-
Download the latest stable version here (http://cvs.sourceforge.net/viewcvs.py/coppermine/stable/ecard.php)