Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Join Date
    Feb 2006
    Location
    UK
    Posts
    306
    Plugin Contributions
    1

    Default English.php won't override?

    /includes/languages/english.php

    Wait my bad!

    I wish we could delete posts ... !

  2. #2
    Join Date
    Apr 2006
    Location
    Göteborg
    Posts
    126
    Plugin Contributions
    0

    Default Re: English.php won't override?

    Having the same issue:

    /includes/languages/Swedish.php is copied to

    /includes/languages/custom_templ/Swedish.php

    If both files exist: I get:

    Fatal error: Cannot redeclare zen_date_raw() (previously declared in \includes\languages\custom_templ\Swedish.php:58) in \includes\languages\Swedish.php on line 58

    If I use the override file only:

    Warning: main(includes/languages/Swedish.php): failed to open stream: No such file or directory in \includes\init_includes\init_templates.php on line 72 etc etc

    ??

  3. #3
    Join Date
    Apr 2006
    Location
    Göteborg
    Posts
    126
    Plugin Contributions
    0

    Default Re: English.php won't override?

    Resolved on my part, unknown issue in swedish.php file. When getting rid of some old definitions it worked again.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: English.php won't override?

    Quote Originally Posted by Pauls
    /includes/languages/english.php

    Wait my bad!

    I wish we could delete posts ... !
    When you find your own solution ... post it so that it can help others ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Feb 2006
    Location
    UK
    Posts
    306
    Plugin Contributions
    1

    Default Re: English.php won't override?

    Quote Originally Posted by Ajeh
    When you find your own solution ... post it so that it can help others ...
    Hehehe Linda, now you know I always do this, however in this case I had already fixed whatever it was I was concerned with, or the post had nothing to do with the error I was having. Therefore, I wanted to delete this post as it wasn't relevant.

    One really should be able to delete a post one creates, unless other people have started to post replies ... which wasn't the case here, you can see I was the next person to post, and I would have deleted this post then.

  6. #6
    Join Date
    Apr 2006
    Location
    Göteborg
    Posts
    126
    Plugin Contributions
    0

    Default Re: English.php won't override?

    Quote Originally Posted by Ajeh
    When you find your own solution ... post it so that it can help others ...
    ... will do for sure, in my case the language (swedish.php) file I updated to 1.3.0 had extra definitions for some old mod, which in theory should not break anything (I guess), but when getting rid off all the extras it worked. Tool I use is Files Comparer (freeware), www.script-debugger.com.

  7. #7
    Join Date
    Feb 2006
    Location
    UK
    Posts
    306
    Plugin Contributions
    1

    Default Re: English.php won't override?

    This is actually still an issue for me, I want to override english.php so I can add my sites copyright info into the footer. I note that english.php is here includes/languages/english.php, so I created a folder in here includes/languages/mysitesstyle/ and copied the english.php into there. However, the site still sees the original english.php ignoring my override, thanks for your help.

  8. #8
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: English.php won't override?

    Quote Originally Posted by Pauls
    This is actually still an issue for me, I want to override english.php so I can add my sites copyright info into the footer. I note that english.php is here includes/languages/english.php, so I created a folder in here includes/languages/mysitesstyle/ and copied the english.php into there. However, the site still sees the original english.php ignoring my override, thanks for your help.
    Check you haven't made a typo in the over ride directory name
    is it mysitesstyle or mysitestyle?

  9. #9
    Join Date
    Feb 2006
    Location
    UK
    Posts
    306
    Plugin Contributions
    1

    Default Re: English.php won't override?

    No the overrides folder is correctly named

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: English.php won't override?

    Have you an URL to this site?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. override english.php?
    By warroyo90 in forum General Questions
    Replies: 5
    Last Post: 17 Feb 2012, 01:53 PM
  2. english.php override
    By tippy2 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 19 Aug 2008, 07:00 AM

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