blank page after sending contact form

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Thu Mar 27, 2014 2:47 pm
Hello,
I am using joomla 3.2.0 and template (M)Social
I have a problme with my contact form.
when submitting the form i get a blnk page and no mails is sent neither.
please can someone hlep.
heres the link to the contact form:
http://www.salz-pfeffer-erleben.de/ihr- ... es-angebot
User avatar
Fresh Boarder

teitbite
Thu Mar 27, 2014 9:30 pm
Hi

Please enable showing errors in global configuration for server in joomla panel. It should reveal an error with problem. Please copy it for me so I'll be able to tell how to fix it.
User avatar
Moderator

GK User
Fri Mar 28, 2014 10:10 am
HI,
thanks for your help.
I got the following error:
Parse error: syntax error, unexpected '"' in /home/chris/www/salz-pfeffer-erleben.de/development/components/com_contact/controllers/contact.php on line 156

I think its because I tried to add a custom field phone number in the contact form using the following tutorial:
https://www.youtube.com/watch?v=uQzb7vfZSJI

this is the code of line 156 concerned:
$body = "Phone #:".$phone."\r\n".$data['contact_message'];

Hope this helps!
User avatar
Fresh Boarder

GK User
Fri Mar 28, 2014 10:41 am
teitbite wrote:Hi

Please enable showing errors in global configuration for server in joomla panel. It should reveal an error with problem. Please copy it for me so I'll be able to tell how to fix it.


HI,
thanks for your help.
I got the following error:
Parse error: syntax error, unexpected '"' in /home/chris/www/salz-pfeffer-erleben.de/development/components/com_contact/controllers/contact.php on line 156

I think its because I tried to add a custom field phone number in the contact form using the following tutorial:
https://www.youtube.com/watch?v=uQzb7vfZSJI

this is the code of line 156 concerned:
$body = "Phone #:".$phone."\r\n".$data['contact_message'];

Hope this helps!
User avatar
Fresh Boarder

teitbite
Sat Mar 29, 2014 9:01 pm
Hi

To be honest I do not see a problem with this line. Maybe parser doesn't linke "\r\n" . Please send me this file so I'll look into it with my php editor.
User avatar
Moderator

GK User
Mon Mar 31, 2014 9:49 am
teitbite wrote:Hi

To be honest I do not see a problem with this line. Maybe parser doesn't linke "\r\n" . Please send me this file so I'll look into it with my php editor.
thanks,
here's the file!
User avatar
Fresh Boarder

teitbite
Mon Mar 31, 2014 8:25 pm
Hi

I have replaced this file in one of my copies and there is no error here ;/ Please send me an access to ftp. Maybe it's a server parser issue.
User avatar
Moderator

teitbite
Tue Apr 01, 2014 9:10 pm
Hi

I have disabled template override for contact and reverted to orginal contact component from clean joomla installation, but still have a problem that form is linking to a wrong place using Your mail. Have You made any other changes ? If not than I suspect this can be a joomla bug and You should report that to joomla developers.
User avatar
Moderator

GK User
Tue Apr 01, 2014 11:51 pm
I only made the changes mentioned in this tutorial
https://www.youtube.com/watch?v=uQzb7vfZSJI

2 other files are modified!
User avatar
Fresh Boarder

GK User
Wed Apr 02, 2014 3:57 pm
thans problem is solved.
I think i did a mistake in typing somewhere
did everything again and again and somehow now it works!
User avatar
Fresh Boarder

teitbite
Wed Apr 02, 2014 9:43 pm
Hi

Och, I totaly missed this link to youtube :( Would save me a lot of time. Great to hear You got it working :)
User avatar
Moderator


cron