Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2014-07-17 20:28:00

xevigut
Member
Registered: 2013-02-01
Posts: 58

Problem with contact page

I have an error in my contact page see you in: http://www.vilaregut.cat/contact.php

Parse error: syntax error, unexpected T_STRING, expecting ')' in /usr/home/vilaregut.cat/web/contact.php on line 160

Offline

#2 2014-07-17 21:28:15

Crizz
Member
From: the Netherlands
Registered: 2013-03-26
Posts: 101
Website

Re: Problem with contact page

I had the same error. My solution was to delete the contact content from the server and upload agian.
Best is to upload the files to your desktop, and than copy to your server.

Offline

#3 2014-07-17 21:39:27

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Problem with contact page

Hi, can you email me your file contact.php, via the Email link under my picture.

Offline

#4 2014-07-18 16:13:04

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Problem with contact page

Hi both, the issue is with apostrophes in the contact information.  This is something we'll need to fix.  In the mean time, can you try one of the following:

1. Remove apostrophes from all of the contact messages (required fields, email required, error message, success message),
or:
2. Insert a backslash before any apostrophes, e.g. 'Sorry for the problem.  We\'ll look into it',

Offline

#5 2014-07-18 19:07:36

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Problem with contact page

This fix is now online and ready for download as 7.0.3.


Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB