Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19
  1. #11
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Renaming the .htaccess file does not clear the problem.

    Quote Originally Posted by WeebleSue View Post
    Today, when I try to access the admin area, I get text-based pages. A script error appears on "line 46 of zen-cart/admin/index.php". it says Char 1, "object expected."
    This will be because the javascript files used for the menu aren't loading properly.
    This is related to same issue as the menu problems you had earlier.

    It's possible that your server has a bad copy of the files, or your browser has cached incomplete copies of the files, or your server is blocking them for some reason.

    Try clearing your browser's cache and cookies. Then close the browser and restart it.
    .

    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.

  2. #12
    Join Date
    Oct 2007
    Location
    Houston, Texas
    Posts
    25
    Plugin Contributions
    0

    Default Re: Renaming the .htaccess file does not clear the problem.

    How would this also affect every one of the browsers I tried? Some of them I hadn't opened in months, so they would not have the problem of cache or cookies.

  3. #13
    Join Date
    Oct 2007
    Location
    Houston, Texas
    Posts
    25
    Plugin Contributions
    0

    Default Re: Renaming the .htaccess file does not clear the problem.

    I did clear the cache and cookies in MSIE, re-reinstalled Zen Cart from scratch, and still get the same problem.


  4. #14
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Fatal Error: Failed opening required 'includes/application_top.php'

    Open your admin page. Click OK on all the errors. Click on your browser's menu to let you View Source. Copy and paste that raw HTML here.
    .

    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. #15
    Join Date
    Oct 2007
    Location
    Houston, Texas
    Posts
    25
    Plugin Contributions
    0

    Default Re: Fatal Error: Failed opening required 'includes/application_top.php'

    HTML Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Zen Cart!</title>
    <link href="includes/stylesheet.css" rel="stylesheet" type="text/css" />
    </head>
    <body id="login" onload="document.getElementById('admin_name').focus()">
    <form name="login" action="http://www.sts-aiche.org/test/zen-cart/admin/login.php" method = "POST">
      <fieldset>
        <legend>Admin Login</legend>
        <label class="loginLabel" for="admin_name">Admin Username:</label>
    <input style="float: left" type="text" id="admin_name" name="admin_name" value="" />
    <br class="clearBoth" />
        <label  class="loginLabel" for="admin_pass">Admin Password:</label>
    <input style="float: left" type="password" id="admin_pass" name="admin_pass" value="" />
    <br class="clearBoth" />
            <input type="submit" name="submit" class="button" value="Login" />
        <a style="float: right;" href="http://www.sts-aiche.org/test/zen-cart/admin/password_forgotten.php">Resend Password</a>  </fieldset>
    </form>
    </body>
    </html>

  6. #16
    Join Date
    Oct 2007
    Location
    Houston, Texas
    Posts
    25
    Plugin Contributions
    0

    red flag Re: Fatal Error: Failed opening required 'includes/application_top.php'

    That was the admin login page... here is the admin/index.php page.

    I really really need to get this to work... my 'default' system, SecurePay, is so pathetically basic it does not suit my needs and I can't apparently change.

    I can do admin activities, but the interface is so poor it is really difficult.

    Thanks in advance.
    Susan
    Attached Files Attached Files
    Last edited by WeebleSue; 24 Oct 2007 at 03:13 AM.

  7. #17
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Fatal Error: Failed opening required 'includes/application_top.php'

    Your server is blocking access to the javascript used to drive the menu:
    http://www.sts-aiche.org/test/zen-ca...cludes/menu.js gets a 403-forbidden error.

    Same with your stylesheet:
    http://www.sts-aiche.org/test/zen-ca...stylesheet.css
    and the menu stylesheet:
    http://www.sts-aiche.org/test/zen-ca...smenuhover.css

    I think you're being bitten by an incompatibility with your server and the content of the supplied .htaccess files. Try renaming your /admin/.htaccess to htaccess_OFF temporarily, and maybe also the one at /admin/includes/.htaccess

    Related FAQ:
    https://www.zen-cart.com/tutorials/i...hp?article=235
    .

    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.

  8. #18
    Join Date
    Oct 2007
    Location
    Houston, Texas
    Posts
    25
    Plugin Contributions
    0

    Default Re: Fatal Error: Failed opening required 'includes/application_top.php'

    I have renamed all 4 of my .htaccess files to other things. I still get the same problem in all browsers that i try.

    I have deleted all the .htaccess files. same problem. I've recreated the files (if you read above, I deleted Zen Cart and reinstalled from scratch, trying everything all over again). still to no avail.

    ...?

  9. #19
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Fatal Error: Failed opening required 'includes/application_top.php'

    Then you'll have to use your server's errorlog to indicate why you're being denied access to those files.
    .

    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.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 10
    Last Post: 12 Sep 2010, 11:06 AM
  2. Failed opening required '[admin]/includes/application_top.php'
    By WetSteve in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 16 Apr 2009, 05:03 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