Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Mar 2010
    Location
    Jurassic Coast United Kingdom
    Posts
    38
    Plugin Contributions
    0

    Default syntax error in includes/languages/english.php

    help have problem with web page not loading. am using 1.3.8a
    have run the debug error logging tool and it has reported back "PHP Parse error: syntax error, unexpected ':' in public_html/shop/zen-cart-v1.3.8a-full-fileset-12112007/includes/languages/english.php on line 9."

    have tried to solve this problem but am obviously doing something wrong.

    this is my line 9 "http//213.229.100.204:2082/frontend/freehost/files/editit.html?dir=%2fhome%2fd25thea%2fpublic_html%2fshop%2fzen-cart-v1.3.8a-full-fileset-12112007%2fincludes%2flanguages&file=english.php"

    url is www.thearmysurplusstore.co.uk

    was working ok until yesterday

    thanks

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: syntax error in includes/languages/english.php

    Quote Originally Posted by matelots View Post
    this is my line 9 "http//213.229.100.204:2082/frontend/freehost/files/editit.html?dir=%2fhome%2fd25thea%2fpublic_html%2fshop%2fzen-cart-v1.3.8a-full-fileset-12112007%2fincludes%2flanguages&file=english.php"

    <snip>

    was working ok until yesterday
    We have to ask, What happened yesterday that could possibly cause this? Were you trying to upgrade? Perhaps added a new module?

    The thing is, computer software doesn't stop wotking without reason, so if *you* haven't changed anything, then *someone else* has. It is always best if it was something you did yourself,, because the alternative suggests a possible hack, and this *has* to be approached in a different way..

    Anyway, to help solve your problem, what does the rest of your english.php file look like? The line you posted looks positively wrong. Almost every line in the english.php file will/should be something like

    define(SOME_DEFINITION, 'text string goes here') ;

    If yours doesn't then you are looking at the wrong file, or the file's aren't where they should be (a bad restore from backups, perhaps). or, or, or.....

    Sorry I can't be of much more help, but it is about the best that can be done with the information provided.

    Cheers
    Rod

  3. #3
    Join Date
    Mar 2010
    Location
    Jurassic Coast United Kingdom
    Posts
    38
    Plugin Contributions
    0

    Default Re: syntax error in includes/languages/english.php

    hi thanks for replying and your suggestions am now trying to check all the english php code against that at PHPXref.com to see if something has changed will let you know when done.

 

 

Similar Threads

  1. Replies: 9
    Last Post: 5 Feb 2010, 01:12 AM
  2. error in zc_install/includes/languages/english/inspect.php
    By monkeytastic in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 8 Mar 2007, 10:03 PM
  3. Replies: 0
    Last Post: 4 Jan 2007, 10:17 PM
  4. Error Overriding the includes/languages/english.php
    By jeanmichel in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 25 Oct 2006, 02:12 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