VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

Problem with Simple Contact in JF Salina Template
(1 viewing) (1) Guest

TOPIC: Problem with Simple Contact in JF Salina Template

Problem with Simple Contact in JF Salina Template 05 Mar 2016 15:08 #8352

Hi guyz,

first of all, thank you so much, it's an awesome template and all work good!

I have only a little problem with Mod Simple Contact, it's correctly loaded in the page 'contacs' but when I'm trying to send an emali from the form, it gave me an error:

Strict Standards: Non-static method ModSimpleContactHelper::sendEmail() should not be called statically in /web/htdocs/www.minierenelblu.it/home/modules/mod_si...od_simplecontact.php on line 30

Strict Standards: Only variables should be assigned by reference in /web/htdocs/www.minierenelblu.it/home/modules/mod_simplecontact/helper.php on line 41

Hope to find a solution!

  • Posts:6
  • Meloni
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Problem with Simple Contact in JF Salina Template 06 Mar 2016 10:23 #8356

1 - Login to your Joomla site’s admin panel as an administrator account, then click on System -> Global Configuration in the main menu.

2 - On the configuration screen, click on the “Server” tab and look in the Server Settings option group for the Error Reporting parameter.

3 - Change Error Reporting to “None”, and save changes.

  • Posts:6
  • Meloni
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Problem with Simple Contact in JF Salina Template 10 Apr 2016 16:40 #8589

Hi,

I have a problem with "Mod Simple Contact"; when I trying to send an email from the website I get the error: "Error: 0 Invalid address: Contatto amministrazione".

I saw that in the error message there are the words "Contatto amministrazione", I can find this words in "System -> Global Configuration -> Server -> Mail" inside the field "mailfrom".
So, I have supposed that the problem it was caused from an error in the GET function. I'm trying to check the file "helper.php" in "/modules/mod_simplecontact", and from raws 63 to 67 there is the filed "mailfrom", and all seems correct:

 
...
$fromEmail = $app->getCfg('mailfrom');
$fromName = $app->getCfg('fromname');
$fromArray = array($fromEmail, $fromName);
 
$body = 'There is message from:'."n";
$body .= "Email: $submit_email" . "n";
...
 


How can I resolve?

Also, it's possible to remove the "URL" field as a requested field?

Thank you
Last Edit: 10 Apr 2016 16:48 by me.

  • Posts:66
  • me
  • Senior Boarder
  • OFFLINE
  • Karma: 0

Re: Problem with Simple Contact in JF Salina Template 11 Apr 2016 14:50 #8596

Same problem or similar problem , First the new joomla 3.5.1 supports php 7.0.x
also simple contact form not works as here this line shows error or Bug

1) ERROR Notice: Undefined variable: sendMessage in /home/www.domainsomething.com/modules/mod_simp...od_simplecontact.php on line 55

2) here the codes on that .php file

<div id="simpleContactForm <?php echo $moduleclass_sfx; ?>">
<?php if($sendMessage) : ?>
<p><?php echo $sendMessage; ?></p>
<?php endif; ?>
<form id="simpleCcontactForm" method="post" class="form-validate" >">

3) Also Contact page is not working with this template not Displaying form

  • Posts:12
  • joombaya
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Problem with Simple Contact in JF Salina Template 12 Apr 2016 04:18 #8602

Try to edit the file modules/mod_simplecontact/helper.php, at line 42, 43 modify:
 
$Mailer->setSender($fromArray);
$Mailer->addReplyTo($fromArray);
 

to:
 
$Mailer->setSender($fromEmail, $fromName);
$Mailer->addReplyTo($fromEmail, $fromName);
 


joomfreak
The following user(s) said Thank You: joombaya, me

  • Posts:2732
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Problem with Simple Contact in JF Salina Template 12 Apr 2016 09:03 #8603

This solution work for me

Thank you

  • Posts:12
  • joombaya
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
Time to create page: 1.43 seconds
Friday 19 April 2019

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.