Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Dec 2005
    Posts
    57
    Plugin Contributions
    0

    Default help can't get into admin after changing some /includes/languages/english.php!!

    All I did was add some elnglish.php that apparently was missing when I upgraded (I've added several of these without issue...) and now I get this error when trying to access my admin:

    Warning: main(includes/functions/database.php): failed to open stream: No such file or directory in /home/misty/public_html/admin/includes/init_includes/init_general_funcs.php on line 28

    Warning: main(includes/functions/database.php): failed to open stream: No such file or directory in /home/misty/public_html/admin/includes/init_includes/init_general_funcs.php on line 28

    Fatal error: main(): Failed opening required 'includes/functions/database.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/misty/public_html/admin/includes/init_includes/init_general_funcs.php on line 28


    HELP!!! Thanks!
    Misty
    Sole Proprietor
    www.bobearsbabybums.com

  2. #2
    Join Date
    Dec 2005
    Posts
    57
    Plugin Contributions
    0

    Default Re: help can't get into admin after changing some /includes/languages/english.php!!

    ok update: I uploaded a fresh, clean copy of includes/languages/english.php hoping that would fix the problem and it did not. I will now upload a fresh copy of admin/includes/languages/english.php too because I may have changed that, i'm not sure.
    Misty
    Sole Proprietor
    www.bobearsbabybums.com

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

    Default Re: help can't get into admin after changing some /includes/languages/english.php!!

    Delete the file on the server for:

    includes/functions/database.php

    And then reload it ...
    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: v1.5.5]
    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!

  4. #4
    Join Date
    Dec 2005
    Posts
    57
    Plugin Contributions
    0

    Default Re: help can't get into admin after changing some /includes/languages/english.php!!

    the file includes/functions/database.php does not exist on my server. I'm so confused and don't understand how I could have broken it LOL Should I delete it's instance on line 28 of the file it refers to?
    Misty
    Sole Proprietor
    www.bobearsbabybums.com

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: help can't get into admin after changing some /includes/languages/english.php!!

    Have you tried re-uploading includes/functions/database.php?

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: help can't get into admin after changing some /includes/languages/english.php!!

    No. Re-upload it.

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

    Default Re: help can't get into admin after changing some /includes/languages/english.php!!

    If the file is not there to delete ... and the error says cannot find the file ... I would surmise that the file never got loaded or got accidentally deleted ...
    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: v1.5.5]
    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!

  8. #8
    Join Date
    Dec 2005
    Posts
    57
    Plugin Contributions
    0

    Default Re: help can't get into admin after changing some /includes/languages/english.php!!

    LOL I had a duh moment just before you posted that..but..I reuploaded a clean database.php onto my server, clean cache and try to load admin again and get:
    Warning: main(includes/functions/database.php): failed to open stream: No such file or directory in /home/misty/public_html/admin/includes/init_includes/init_general_funcs.php on line 28

    Warning: main(includes/functions/database.php): failed to open stream: No such file or directory in /home/misty/public_html/admin/includes/init_includes/init_general_funcs.php on line 28

    Fatal error: main(): Failed opening required 'includes/functions/database.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/misty/public_html/admin/includes/init_includes/init_general_funcs.php on line 28

    still

    *scratches head* what am I doing wrong?

    Misty
    Misty
    Sole Proprietor
    www.bobearsbabybums.com

  9. #9
    Join Date
    Dec 2005
    Posts
    57
    Plugin Contributions
    0

    Default Re: help can't get into admin after changing some /includes/languages/english.php!!

    oh wait, I just noticed that on my CLEAN version of zencart there is no includes/functions/database.php there is only admin/includes/functions/database.php which isn't what it's looking for... oh my what did I do

    Misty
    Misty
    Sole Proprietor
    www.bobearsbabybums.com

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

    Default Re: help can't get into admin after changing some /includes/languages/english.php!!

    Could you post from the server without your username and password the file:

    /admin/includes/configure.php
    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: v1.5.5]
    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 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 24 Aug 2014, 05:10 PM
  2. Replies: 0
    Last Post: 20 Feb 2012, 07:09 PM
  3. Can't figure out where includes/languages/english.php is
    By FrmrsDhtr in forum Basic Configuration
    Replies: 7
    Last Post: 8 Nov 2010, 09:55 PM
  4. can't change includes/languages/english/index.php!
    By therealex in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 28 Aug 2009, 08:55 PM
  5. how to get to includes/languages/english/YOUR_TEMPLATE_NAME/meta_tags.php ??
    By ronan leech in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Apr 2009, 08:10 PM

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