Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Parse error in contact.php (6.01.2)

Asked Modified Viewed 1,996 times
C
chbe
C
chbe 10
------------------------------------

thebasement.gryt.com
  • Member, joined since
  • Contributed 161 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
asked
Member

Hi
I've got the following error when clicking on the contact link

Parse error: parse error, unexpected T_STRING in G:\webb\locale\Swedish\contact.php on line 6

??
Edited by chbe on 16-06-2006 23:33,
0 replies

5 posts

S
StarglowOne
S
If you see one star glow in the sky, it might be me. grin

My Sites:
fusion.starglowone.eu
www.starglowone.eu
  • Member, joined since
  • Contributed 70 posts on the community forums.
  • Started 19 threads in the forums
answered
Member

there is a fix for it at the swedish support site
0 replies
B
Bad Boy
B
____________________
BadBoy aka GoogleDude
http://www.googlecityforums.com
  • Member, joined since
  • Contributed 155 posts on the community forums.
  • Started 1 thread in the forums
answered
Member

That's an error in your locale.

Go to the Swedish folder in your locale directory.
Find contact.php.
I'm not sure exactly what the error is.

If you can not figure it out post the code.
0 replies
C
chbe
C
chbe 10
------------------------------------

thebasement.gryt.com
  • Member, joined since
  • Contributed 161 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Member

I think I found the error
I changed contact.php to this and now it works.


<?php
// Contact Form
$locale['400'] = "Kontakta mig";
$locale['401'] = "Det finns flera sätt att kontakta mig på, du kan skicka ett mail direkt genom att trycka på länken här:
<a href='mailto:".str_replace("@","@",$settings['siteemail'])."'>".str_replace("@","@",$settings['siteemail'])."</a>. Om du är registrerad användare kan du skicka mig <a href='messages.php?msg_send=1'>Ett privat meddelande</a>. Alternativt kan du använda formuläret på denna sida så skickas ditt meddelande som ett email. Om du är registrerad användare kan du sända mig ett <a href='messages.php?msg_send=1'>Privat meddelande</a>. Alternativt kan du fylla i formuläret på denna sida, detta skickar ett email till mig.";
$locale['402'] = "Namn:";
$locale['403'] = "Epostadress:";
$locale['404'] = "Ämne:";
$locale['405'] = "Meddelande:";
$locale['406'] = "Skicka meddelande";
// Contact Errors
$locale['420'] = "Du måste ange ditt namn";
$locale['421'] = "Du måste ange din epostadress";
$locale['422'] = "Du måste ange ett ämne";
$locale['423'] = "Du måste skriva något i meddelandet";
// Message Sent
$locale['440'] = "Ditt meddelande är skickat";
$locale['441'] = "Tack för meddelandet!";
$locale['442'] = "Ditt meddelande blev inte skickat på grund av följande orsak:";
$locale['443'] = "Försök igen.";
?>

0 replies
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

Now corrected.
0 replies
K
KEFF
K
KEFF 10
Member of Executive Committee. No sites running.
  • Veteran Member, joined since
  • Contributed 797 posts on the community forums.
  • Started 32 threads in the forums
answered
Veteran Member

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 5 posts
  • Votes 0 votes
  • Topic users 5 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet