Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2008
    Posts
    27
    Plugin Contributions
    0

    Default Error loading Admin site

    Hello Zen community, I have just joined and am working on my first Zen site and have messed up in a silly way. I get this error when trying to access the Admin area of my site;

    Warning: main(includes/languages/oak.php) [function.main]: failed to open stream: No such file or directory in /home/oakgarde/public_html/admin/includes/init_includes/init_languages.php on line 31

    Warning: main(includes/languages/oak.php) [function.main]: failed to open stream: No such file or directory in /home/oakgarde/public_html/admin/includes/init_includes/init_languages.php on line 31

    Fatal error: main() [function.require]: Failed opening required 'includes/languages/oak.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/oakgarde/public_html/admin/includes/init_includes/init_languages.php on line 31


    I know how I've done it, I think; I was trying to work out how the 'language' files in Admin are associated with the templates and I created a new language called 'Oak' (same name as my template). I had an error stating that it couldn't find my language at the top of the Admin screen so I thought it needed changing to be my default language. Once I'd changed the default from 'english' to 'oak' I then get the above error when trying to access my Admin.

    I don't know where in the files to change it back to english as my default, or even if this is possible at all.

    Please help me someone. I have bought the Zen Cart manual by Goh Koon Hoek so hopefully future mistakes won't be so silly.

    Thank you in advance,
    Terri.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Error loading Admin site

    Make a copy of your /admin/includes/languages/english.php file, and call it oak.php.
    Then upload that file to the same folder: /admin/includes/languages/oak.php

    Then log back into your Admin and put your language back to english.


    If you get more errors about /admin/includes/languages/oak/*****.php files and it won't let you proceed past them, then make a copy of your /admin/includes/languages/english/******.php files and upload them to a new folder /admin/includes/languages/oak/*****.php
    Then when you're done putting back the "english" part, delete these new oak.php and /admin/includes/languages/oak/ folders.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2008
    Posts
    27
    Plugin Contributions
    0

    Default Re: Error loading Admin site

    Thank you so much, really appreciated Dr Byte!

    Terri

 

 

Similar Threads

  1. Slow Loading times on site and in Admin
    By Goetch in forum General Questions
    Replies: 8
    Last Post: 2 Apr 2013, 12:06 PM
  2. Error in https with Firefox - Site NOT loading
    By kevinmc3 in forum General Questions
    Replies: 1
    Last Post: 6 Dec 2010, 05:23 AM
  3. Error when loading admin page
    By iamperez247 in forum General Questions
    Replies: 1
    Last Post: 19 Mar 2008, 02:55 PM
  4. Site not loading with error present.
    By irrational in forum General Questions
    Replies: 3
    Last Post: 21 Sep 2007, 02:23 AM
  5. error when loading site
    By ner0tik in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 19 Apr 2007, 05:39 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR