Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Dec 2009
    Posts
    6
    Plugin Contributions
    0

    red flag fatal error on admin page

    I installed Zen Cart with no issues. I've added mfgs, categories, products, etc... I was trying to follow the directions for customizing the "Sales Message Goes Here" and "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution." Now I cannot log-in to my admin page. I get the following:

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

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

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

    I have checked line 31 on admin/includes/init_includes/init_languages.php and it is only "?>" I have not touched this file manually with any of the directions I've followed tonight.

    Can anyone help please?!!?!?

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: fatal error on admin page

    I was trying to follow the directions for customizing the "Sales Message Goes Here" and "Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution." Now I cannot log-in to my admin page.
    Which file/files did you alter...make sure you have NO blank
    spaces after final ?> in those file/files

  3. #3
    Join Date
    Dec 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: fatal error on admin page

    I followed these directions: https://www.zen-cart.com/tutorials/i...hp?article=142

    I decided I didn't like the "custom" template for the time being, switched back to green, and then I went here :https://www.zen-cart.com/tutorials/i...hp?article=132

    I was getting frustrated because the 1st instruction, to turn the side boxes on or off, didn't actually produce any results on my page. I refreshed all my FireFox tabs and that's when I could no longer get to my admin log-in.

  4. #4
    Join Date
    Dec 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: fatal error on admin page

    @ the "real job" now...will have to investigate more tonight...

  5. #5
    Join Date
    Dec 2009
    Location
    Pinner
    Posts
    230
    Plugin Contributions
    1

    Default Re: fatal error on admin page

    if you copy

    includes/languages/english.php

    to the file it is looking for

    includes/languages/custom.php

    it might work and at least get something workable. I can't get close to getting that error by following the instructions but it looks like you may have added a new language so to get you to be able to look around I would guess that you would copy that file over until you can work out what happened.

  6. #6
    Join Date
    Dec 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: fatal error on admin page

    Hey Matt - that worked but now I am getting this error:
    Warning: require(...store/includes/languages/custom/meta_tags.php) [function.require]: failed to open stream: No such file or directory in ...store/admin/includes/languages/custom.php on line 50

    Fatal error: require() [function.require]: Failed opening required '...store/includes/languages/custom/meta_tags.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in ...store/admin/includes/languages/custom.php on line 50

    The error is right...there is no such file in my directory. There isn't one in my master zen downlaod folder either. Any ideas where to get one or if I make one what it needs to have in it?

  7. #7
    Join Date
    Dec 2009
    Posts
    6
    Plugin Contributions
    0

    red flag Re: fatal error on admin page

    WOW - I fixed the above and another and another and another...
    Now I have this error and I have no idea how to fix this one. HELP PLEASE!

    Fatal error: Call to a member function get_template_dir() on a non-object in /home/plaklc09/public_html/store/admin/includes/languages/custom/credit_cards.php on line 46

    Above this error is text listing all the differrent menus and sub menus on the admin page. I can click on any of them but cannot access any. Clicking one just refreshes the page.

  8. #8
    Join Date
    Dec 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: fatal error on admin page

    Can anyone tell me which files to reload to reset my store BUT I don't want lose all my items, categories, and manufacturers I've set up?

  9. #9
    Join Date
    Dec 2009
    Location
    Pinner
    Posts
    230
    Plugin Contributions
    1

    Default Re: fatal error on admin page

    Quote Originally Posted by wildfire1629 View Post
    Hey Matt - that worked but now I am getting this error:
    Warning: require(...store/includes/languages/custom/meta_tags.php) [function.require]: failed to open stream: No such file or directory in ...store/admin/includes/languages/custom.php on line 50

    Fatal error: require() [function.require]: Failed opening required '...store/includes/languages/custom/meta_tags.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in ...store/admin/includes/languages/custom.php on line 50

    The error is right...there is no such file in my directory. There isn't one in my master zen downlaod folder either. Any ideas where to get one or if I make one what it needs to have in it?
    I have a meta_tags.php file in includes/languages/english/meta_tags.php

    to me it looks like you have a configuration file with "custom" in it instead of "english" and so it's looking for the folder and contents of includes/languages/english with regards to below, if you can find that file and change it back then you won't loose any products or things you have entered in.

    I don't know what you entered when following the instructions because when I went through the article you mentioned it didn't do anything much at all.

  10. #10
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: fatal error on admin page

    includes/languages/custom.php
    That is not a valid zencart file as far as am aware

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Fatal Error on my Admin/login.php page
    By terrancesmith98 in forum General Questions
    Replies: 11
    Last Post: 9 Jul 2009, 02:16 AM
  2. Fatal error on admin page
    By Primitivesoaps in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Jul 2009, 05:14 PM
  3. Fatal Error in admin on payments page
    By compevolve in forum PayPal Website Payments Pro support
    Replies: 0
    Last Post: 19 Jan 2008, 04:43 PM
  4. Fatal error on admin page
    By idipous in forum Installing on a Windows Server
    Replies: 2
    Last Post: 27 Apr 2007, 05:08 PM
  5. Fatal Error Message...Admin Page Issue
    By Little T in forum Installing on a Windows Server
    Replies: 5
    Last Post: 6 Dec 2006, 01:49 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