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
    66,814
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  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,655
    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,655
    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
    66,814
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  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
    66,814
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 
Page 1 of 2 12 LastLast

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
  •