Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Help on an error message for a calender plug-in

Quote Reply
Help on an error message for a calender plug-in
OK, as I stated before new to this software and supporting it to help some people out on a forum. They have the Links 3.3.0 installed and they have some plugins, at least from what I can tell, and this might be one of them, though I am not sure.

They have a link to a google calendar and then users can submit via a form to add things to the calendar. The form comes up fine at the following location:
../cgi-bin/links/contact.cgi

But when you fill it in and hit submit, you then get this error page:
Code:
Status: 500 Content-type: text/html Software error: GT::Mail (65834): Wrong argument passed to this subroutine. $obj->send (%opts); smtp or sendmail and a head part must exist at this point. at contact.cgi line 222.
For help, please send mail to the webmaster (webmaster@sugargliderhelp.glidercentral.net), giving this error message and the time and date of the error.
A fatal error has occured:
[Tue Dec 1 16:03:16 2015] contact.cgi: GT::Mail (65834): Wrong argument passed to this subroutine. $obj->send (%opts); smtp or sendmail and a head part must exist at this point. at contact.cgi line 222.

Please enable debugging in setup for more details.
Stack Trace ======================================

Links (65834): Links::environment called at /home2/gcentral/public_html/sugargliderhelp/cgi-bin/links/admin/Links.pm line 786 with no arguments. Links (65834): Links::fatal called at /usr/local/lib/perl5/5.8.8/CGI/Carp.pm line 357 with arguments ([Tue Dec 1 16:03:16 2015] contact.cgi: GT::Mail (65834): Wrong argument passed to this subroutine. $obj->send (%opts); smtp or sendmail and a head part must exist at this point. at contact.cgi line 222. ). Links (65834): CGI::Carp::realdie called at /usr/local/lib/perl5/5.8.8/CGI/Carp.pm line 456 with arguments ([Tue Dec 1 16:03:16 2015] contact.cgi: GT::Mail (65834): Wrong argument passed to this subroutine. $obj->send (%opts); smtp or sendmail and a head part must exist at this point. at contact.cgi line 222. ). Links (65834): CGI::Carp::die called at GT::Base::error line 382 with arguments (GT::Mail (65834): Wrong argument passed to this subroutine. $obj->send (%opts); smtp or sendmail and a head part must exist at this point. at contact.cgi line 222. ). Links (65834): GT::Base::error called at /home2/gcentral/public_html/sugargliderhelp/cgi-bin/links/admin/GT/Mail.pm line 258 with arguments (GT::Mail=HASH(0x21aa5b0), BADARGS, FATAL, $obj->send (%opts); smtp or sendmail and a head part must exist at this point.). Links (65834): GT::Mail::send called at contact.cgi line 222 with arguments (GT::Mail, smtp, , sendmail, /usr/sbin/sendmail -t -i, from, owners@glidercentral.net, subject, Submission from Contact Form..., to, contact@sugargliderhelp.com, msg, Hi, Someone has sent you an email, dated: 2015-12-01. The following details were sent: Comments = test Event_Stop_Time = 1:00pm Event_Start_Time = 12:00pm Event_Location = chicago Event_Date = 12/1/2015 Email = philwojo99@gmail.com Name = test Event_Website = www.espn.com Note: For security reasons, their IP has been logged. It was recorded as: 71.228.37.40, type, text/plain, debug, 0). Links (65834): main::do_submit called at contact.cgi line 39 with arguments (GT::Mail, smtp, , sendmail, /usr/sbin/sendmail -t -i, from, owners@glidercentral.net, subject, Submission from Contact Form..., to, contact@sugargliderhelp.com, msg, Hi, Someone has sent you an email, dated: 2015-12-01. The following details were sent: Comments = test Event_Stop_Time = 1:00pm Event_Start_Time = 12:00pm Event_Location = chicago Event_Date = 12/1/2015 Email = philwojo99@gmail.com Name = test Event_Website = www.espn.com Note: For security reasons, their IP has been logged. It was recorded as: 71.228.37.40, type, text/plain, debug, 0). System Information ====================================== Current user: gcentral (31961) Perl version: 5.8.8 Gossamer Links version: 3.3.0 GT::SQL version: 1.112 GT::Template version: 2.172 DBI.pm version: 1.623 Running under mod_perl: No Running under SpeedyCGI: No @INC = /home2/gcentral/public_html/sugargliderhelp/cgi-bin/links/admin /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl . $!: Illegal seek CGI Input ====================================== B1 => Send Contact_Comments => test Contact_Email => philwojo99@gmail.com Contact_Event_Date => 12/1/2015 Contact_Event_Location => chicago Contact_Event_Start_Time => 12:00pm Contact_Event_Stop_Time => 1:00pm Contact_Event_Website => www.espn.com Contact_Name => test SessionDate => TueDec11601142015 SessionID => SMAXZPN action => do
CGI Cookies ====================================== review_sb => Review_Date review_so => DESC Environment ====================================== CONTENT_LENGTH => 309 CONTENT_TYPE => application/x-www-form-urlencoded DOCUMENT_ROOT => /home2/gcentral/public_html/sugargliderhelp GATEWAY_INTERFACE => CGI/1.1 GT_TMPDIR => /home2/gcentral/public_html/sugargliderhelp/cgi-bin/links/admin/tmp HTTP_ACCEPT => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_ENCODING => gzip, deflate HTTP_ACCEPT_LANGUAGE => en-US,en;q=0.5 HTTP_CONNECTION => close HTTP_COOKIE => review_sb=Review_Date; review_so=DESC HTTP_HOST => www.sugargliderhelp.com HTTP_REFERER => http://www.sugargliderhelp.com/cgi-bin/links/contact.cgi HTTP_USER_AGENT => Mozilla/5.0 (Windows NT 10.0; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 HTTP_X_HTTP_PROTO => HTTP/1.1 HTTP_X_LOG_7528 => 71.228.37.40 HTTP_X_REAL_IP => 71.228.37.40 PATH => /usr/local/bin:/usr/bin:/bin QUERY_STRING => REMOTE_ADDR => 71.228.37.40 REMOTE_PORT => 29984 REQUEST_METHOD => POST REQUEST_URI => /cgi-bin/links/contact.cgi SCRIPT_FILENAME => /home2/gcentral/public_html/sugargliderhelp/cgi-bin/links/contact.cgi SCRIPT_NAME => /cgi-bin/links/contact.cgi SERVER_ADDR => 108.167.180.218 SERVER_ADMIN => webmaster@sugargliderhelp.glidercentral.net SERVER_NAME => www.sugargliderhelp.com SERVER_PORT => 80 SERVER_PROTOCOL => HTTP/1.1 SERVER_SIGNATURE => <address>Apache Server at www.sugargliderhelp.com Port 80</address> SERVER_SOFTWARE => Apache UNIQUE_ID => Vl4ZJGynvREAANWu5sMAAANi


Any thoughts on what might be wrong or what I can do to try and start looking in to this further?

Thanks,
Phil
Quote Reply
Re: [philwojo] Help on an error message for a calender plug-in In reply to
Hi,

That looks like one of my plugins. Can you send me a PM with a link, where I can see that happening?

Also, in Plugins > Plugin Manager, what version number do you see alongside the ContactPage plugin?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Help on an error message for a calender plug-in In reply to
PM will be on its way shortly.

Looks like I have ContactPage version 2.5.1 and GoogleMap version 1.6

Thanks,
Phil