Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Admin Email Notify Validation Required

Quote Reply
Admin Email Notify Validation Required
Where do I set in the forum for emails to be sent to the admin address when there are users that need validating?

My users sign up and I don't get an email to tell me they need validating.
Quote Reply
Re: [catlovette] Admin Email Notify Validation Required In reply to
By default, it sends it to the e-mail address you have setup for the admin_email option (Setup => Email => admin_email). It can also be changed directly from the admin_validation.eml template.

Adrian
Quote Reply
Re: [brewt] Admin Email Notify Validation Required In reply to
ok.

We tried to view that admin email.

Got this error:

Code:
A fatal error has occurred:
Unable to open directory '/usr/home/sites/domainname.com/code/forum/admin/templates/admin/local': No such file or directory at /usr/home/sites/domainname.com/code/forum/admin/GForum/Tools.pm line 239.
Please enable debugging in setup for more details.
Stack Trace
======================================
GForum (32530): GForum::Tools::template_file_select called at GT::Template::_call_func line 800 with arguments
(admin, *.eml).
GForum (32530): GT::Template::_call_func called at /usr/home/sites/domainname.com/code/forum/admin/templates/admin/compiled/templates_email.html.compiled line 347 with arguments
(GForum::Template=HASH(0xb41a378), GForum::Tools::template_file_select, 1, 0, admin, *.eml).
GForum (32530): GT::Template::parsed_template called at /usr/home/sites/domainname.com/code/forum/admin/GT/Template.pm line 570 with arguments
(GForum::Template=HASH(0xb41a378)).
GForum (32530): GT::Template::_parse called at /usr/home/sites/domainname.com/code/forum/admin/GT/Template.pm line 158 with arguments
(GForum::Template=HASH(0xb41a378), templates_email.html, HASH(0xb427e20)).
GForum (32530): GT::Template::parse called at /usr/home/sites/domainname.com/code/forum/admin/GForum/Template.pm line 194 with arguments
(GForum::Template, templates_email.html, ARRAY(0xb39e970), HASH(0xb427e20), 1).
GForum (32530): GForum::Template::parse called at /usr/home/sites/domainname.com/code/forum/admin/GT/Template.pm line 172 with arguments
(GForum::Template, templates_email.html, GT::CGI=HASH(0xb428060), HASH(0xb480480), 1).
GForum (32530): GT::Template::parse_print called at GForum::page line 398 with arguments
(GForum::Template, templates_email.html, GT::CGI=HASH(0xb428060), HASH(0xb480480)).
GForum (32530): GForum::page called at /usr/home/sites/domainname.com/code/forum/admin/admin.cgi line 52 with no arguments.
GForum (32530): Apache::ROOTwww_2edomainname_2ecom::code::forum::admin::admin_2ecgi::main called at /usr/home/sites/domainname.com/code/forum/admin/admin.cgi line 26 with no arguments.
GForum (32530): Apache::ROOTwww_2edomainname_2ecom::code::forum::admin::admin_2ecgi::handler called at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Apache/Registry.pm line 149 with arguments
(Apache=SCALAR(0xaf6ebbc)).
GForum (32530): (eval) called at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Apache/Registry.pm line 149 with arguments
(Apache=SCALAR(0xaf6ebbc)).
GForum (32530): Apache::Registry::handler called at /dev/null line 0 with arguments
(Apache=SCALAR(0xaf6ebbc)).
GForum (32530): (eval) called at /dev/null line 0 with arguments
(Apache=SCALAR(0xaf6ebbc)).

System Information
======================================
Perl Version: v5.8.5
Gossamer Forum Version: 1.2.4
GForum.pm version: 1.133
GT::SQL Version: 1.111
GT::Template Version: 2.163
DBI.pm Version: 1.46
Running under mod_perl: Yes (version 1.29)
Running under SpeedyCGI: No
@INC =
/usr/home/sites/domainname.com/code/forum/admin
/usr/home/sites/tightcrew.com.com/code/forum/admin
/usr/home/sites/partiesandclubs.com/code/forum/admin
/usr/home/sites/partiesandclubs.com/code/pandc/admin
/usr/home/sites/community/lib
/usr/lib/perl5/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
.
/usr/local/apache/
/usr/local/apache/lib/perl
$!: No such file or directory
CGI INPUT
======================================
body =>
cookie-editor_cols => 60
cookie-editor_rows => 15
do => page
extra_headers =>
header_From =>
header_Subject =>
header_To =>
load_template => Change
page => templates_email.html
save_as =>
tpl_dir => admin

CGI Cookies
======================================
__utma => 171008444.2083938463.1162475537.1192440786.1192464616.657
__utmc => 171008444
__utmz=171008444.1186477163.585.42.utmccn=(organic)|utmcsr=google|utmctr=site:domainname.com|utmcmd => organic
dbx-linkmeta => grabit:0 |1-|2-
dbx-pagemeta => grabit:0-|1-|2-|3-|4-|5-|6-|7-
dbx-postmeta => grabit:0 |1 |2 |3 |4 |5 |6
gforum_1022870964_remember => 3c7a549cd9b0f82f600a4a29721ec3a0
gforum_1022870964_session => b6cd3e5c3e45f5483aa6e07b6b25defb

ENVIRONMENT
======================================
AUTH_TYPE => Basic
CONTENT_LENGTH => 182
CONTENT_TYPE => application/x-www-form-urlencoded
DOCUMENT_ROOT => /usr/home/sites/domainname.com
GATEWAY_INTERFACE => CGI-Perl/1.1
GT_TMPDIR => /usr/home/sites/domainname.com/code/forum/admin/tmp
HTTP_ACCEPT => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
HTTP_ACCEPT_ENCODING => gzip, deflate
HTTP_ACCEPT_LANGUAGE => en-us
HTTP_CACHE_CONTROL => no-cache
HTTP_CONNECTION => Keep-Alive
HTTP_COOKIE => __utma=171008444.2083938463.1162475537.1192440786.1192464616.657; __utmz=171008444.1186477163.585.42.utmccn=(organic)|utmcsr=google|utmctr=site%3adomainname%2ecom|utmcmd=organic; __utmc=171008444; dbx-postmeta=grabit:0+|1+|2+|3+|4+|5+|6+&advancedstuff:0+|1+|2+; dbx-pagemeta=grabit:0-|1-|2-|3-|4-|5-|6-|7-&advancedstuff:0-; dbx-linkmeta=grabit:0+|1-|2-&advancedstuff:0-|1-; gforum_1022870964_remember=3c7a549cd9b0f82f600a4a29721ec3a0; gforum_1022870964_session=b6cd3e5c3e45f5483aa6e07b6b25defb
HTTP_HOST => www.domainname.com
HTTP_REFERER => http://www.domainname.com/...templates_email.html
HTTP_UA_CPU => x86
HTTP_USER_AGENT => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; iOpus-I-M; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; InfoPath.1; .NET CLR 2.0.50727)
MOD_PERL => mod_perl/1.29
PATH => /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
PERL_SEND_HEADER => On
QUERY_STRING =>
REMOTE_ADDR => 81.151.255.29
REMOTE_PORT => 33092
REMOTE_USER => nathanx
REQUEST_METHOD => POST
REQUEST_URI => /code/forum/admin/admin.cgi
SCRIPT_FILENAME => /usr/home/sites/domainname.com/code/forum/admin/admin.cgi
SCRIPT_NAME => /code/forum/admin/admin.cgi
SCRIPT_URI => http://www.domainname.com/...orum/admin/admin.cgi
SCRIPT_URL => /code/forum/admin/admin.cgi
SERVER_ADDR => 64.255.175.28
SERVER_ADMIN => root@lease041.jupiterhosting.com
SERVER_NAME => www.domainname.com
SERVER_PORT => 80
SERVER_PROTOCOL => HTTP/1.1
SERVER_SIGNATURE => Apache/1.3.33 Server at www.domainname.com Port 80
SERVER_SOFTWARE => Apache
OK
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@lease041.jupiterhosting.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Quote Reply
Re: [catlovette] Admin Email Notify Validation Required In reply to
That looks like a sort of unrelated problem (just create the admin/local directory and it should fix it). The admin_validation.eml template is actually in the user template (eg. default), not the admin one.

Adrian
Quote Reply
Re: [brewt] Admin Email Notify Validation Required In reply to
admin_validation.eml exists in /admin/templates/default/admin_validation.eml

but i can not see it in the GUI. User Templates>default

The content is fine any way.

admin_email is set. SMTP path is set correct. Permissions seem fine.

How can I debug what is happening to the email?
Quote Reply
Re: [nathanx] Admin Email Notify Validation Required In reply to
To debug it, you would have to turn on debug mode, then make gforum send out the validation e-mail (ie. sign up), then look at the logs.

Adrian
Quote Reply
Re: [brewt] Admin Email Notify Validation Required In reply to
Where are the logs?
Quote Reply
Re: [nathanx] Admin Email Notify Validation Required In reply to
What log file do you mean?
Quote Reply
Re: [nathanx] Admin Email Notify Validation Required In reply to
Sorry, your webserver log files.

Adrian