Thread: Contact Us Page

Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2008
    Posts
    10
    Plugin Contributions
    0

    Default Contact Us Page

    All of a sudden when people click on my contact us page they get a blank page. I have the description the debug code gave me but I have no idea of what to do to fix this. here is what the debug says:

    [05-Sep-2008 20:32:47] PHP Parse error: parse error, unexpected T_STRING in /home/content/r/e/d/redjama1/html/includes/languages/english/contact_us.php on line 29


    Like i said im not sure of how to fix the blank page. please help

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Contact Us Page

    Something in your language file is not working properly - please post that line and the ones above and below it.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Aug 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: Contact Us Page

    Line 25: define('EMAIL_SUBJECT', 'Message from ' . STORE_NAME . ');

    Line 29: define('ENTRY_NAME', 'Full Name:');


    Line 31: define('ENTRY_EMAIL', 'Email Address:');

    those lines are the only one with text right above and right below. i dont know how this could have gotten messed up I havent touched any of this
    Last edited by redjama; 6 Sep 2008 at 05:42 AM.

  4. #4
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Contact Us Page

    If you have not made any customizations to the file, re-upload a clean copy of the file from the download for your version.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Aug 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: Contact Us Page

    yea i just did that right before you said that and it fixed it

    thank you for you time

  6. #6
    Join Date
    Jul 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Contact Us Page

    the actual problem from what I can see is the coding on line25

    Line 25: define('EMAIL_SUBJECT', 'Message from ' . STORE_NAME . ');

    the aptrophe after STORE_NAME shouln't be there.

    For future reerence the T_STRING or other T_ errorstend to refer to the line prior to the one it names e.g. 29

    thanks

 

 

Similar Threads

  1. Removing default contact info on contact us page/adding form to page
    By haggis0929 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Dec 2009, 06:41 PM
  2. Contact us page with multiple contact choices?
    By plymgary1 in forum General Questions
    Replies: 1
    Last Post: 19 Aug 2009, 12:07 PM
  3. Contact US page + One more Contact FORM :blink:
    By Orange Wacko in forum Managing Customers and Orders
    Replies: 0
    Last Post: 21 Jul 2009, 10:29 PM
  4. Replies: 2
    Last Post: 13 Jul 2006, 11:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg