Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2005
    Location
    Charlottesville, VA
    Posts
    431
    Plugin Contributions
    0

    Default failed to open stream -- Can't log into admin on upgraded installation

    Hi.

    I did the upgrade from 1.3.7 to 1.3.8a on my sandbox Zen Cart, I merged and overwrote files and ran the zc_install database update script, despite cURL warnings. (see thread in linux server installation category.)

    I can't log into admin now, I see this error:

    Warning: main(includes/initsystem.php): failed to open stream: No such file or directory in /home/[my directory]/public_html/register/[custom admin folder]/includes/application_top.php on line 126

    Fatal error: main(): Failed opening required 'includes/initsystem.php' (include_path='.:/usr/lib/php') in /home/[my directory]/public_html/register/[custom admin folder]/includes/application_top.php on line 126

    I'm using a renamed admin folder as you can see, per security recommendations. Yes, I'm using the right login path.

    I've looked at initsystem.php and application_top.php, verified that both files exist in the correct locations and versions. File permissions are 755.

    Next thing I'll try: revert to "admin" in the configure.php file and folder name, and see if that makes a difference, but would like any tips about what might be going wrong.

    ---Diana

  2. #2
    Join Date
    Jul 2005
    Location
    Charlottesville, VA
    Posts
    431
    Plugin Contributions
    0

    Default Re: failed to open stream -- Can't log into admin on upgraded installation

    OK, changing the admin configuration file and folder back to the default "admin" generated the same error.

    I reverted admin/includes/application_top.php to the previous 1.3.7 version, and was able to log in.

    soooooo.....

    ???

    Eager to hear ideas about why the 1.3.8 version isn't working for moi.

    (and no, I have no customzations on that file!)

    ---Diana

  3. #3
    Join Date
    Jul 2005
    Location
    Charlottesville, VA
    Posts
    431
    Plugin Contributions
    0

    Default Re: failed to open stream -- Can't log into admin on upgraded installation

    Dear Dr. Byte or Ajeh or other ZC team member,

    My 1.3.7 -> 1.3.8a update on my sandbox went fine except for this file:

    admin/includes/application_top.php

    I had to revert to the 1.3.7 version of this file in order to log into admin, otherwise I get the error I posted above and can't log into admin.

    Before I try to update my main store, do you have any idea what this error means, and why this problem would happen?

    I'll be more than happy to grant you access to my sandbox installation, including FTP, if you want to examine it; also I'll be happy to try any tests or modifications you suggest.

    thanks,

    ---Diana

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

    Default Re: failed to open stream -- Can't log into admin on upgraded installation

    Did you upload the *new* /admin/includes/initsystem.php file?
    .

    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.

  5. #5
    Join Date
    Jul 2005
    Location
    Charlottesville, VA
    Posts
    431
    Plugin Contributions
    0

    Default Re: failed to open stream -- Can't log into admin on upgraded installation

    Brilliant!

    Exactly the problem; I have a lot of customizations, and sometimes I miss a new file here and there...

    that fixed it!!!



    you're a dear.

    ---Diana

 

 

Similar Threads

  1. Replies: 41
    Last Post: 8 Feb 2016, 03:17 PM
  2. Admin|Modules|Payment: failed to open stream error
    By raphaelsewing in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 18 Feb 2008, 09:40 PM
  3. Can't Access Admin Page: "Failed to open stream/Permission Denied"
    By brklynguy in forum Basic Configuration
    Replies: 1
    Last Post: 21 Dec 2006, 04:50 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