Results 1 to 10 of 10

Threaded View

  1. #10
    Join Date
    Oct 2014
    Location
    Georgia
    Posts
    74
    Plugin Contributions
    0

    Default Re: HTTP 500 on store page, log into admin just fine

    Quote Originally Posted by mc12345678 View Post
    Ummm.. The "differences" between the 1.5.7c and 1.5.5f catalog side index.php actually have no commonality to the issue that was described. There was something else that was wrong.

    In fact the true differences between the catalog side index.php file for 1.5.5f compared to 1.5.7c is how the content of files is generated/processed. In the older version, the file's contents are generated as a potential array and then each element of the array is added onto the list of information. In the 1.5.7c version, basically the contents of the file were put together by taking an array and forcing it to a string. Again there was no `DIR_FS_INSTALL` nor `DIR_WS_INSTALL_TEMPLATE` in the expected catalog version of the index.php file.

    The above differences would not have brought out the issue that was previously described.

    1.5.5f:
    Code:
      foreach ($directory_array as $value) {
        $onload_file = DIR_WS_MODULES . 'pages/' . $current_page_base . '/' . $value;
        $read_contents='';
        $lines = @file($onload_file);
        foreach($lines as $line) {
          $read_contents .= $line;
        }
      $za_onload_array[] = $read_contents;
      }
    1.5.7c:
    Code:
      foreach ($directory_array as $value) { 
        $onload_file = DIR_WS_MODULES . 'pages/' . $current_page_base . '/' . $value;
        $read_contents='';
        if ($lines = @file($onload_file)) {
          $read_contents = implode('', $lines);
        }
      $za_onload_array[] = $read_contents;
      }
    I re-downloaded the 1.5.7c zip file - and I'm not sure how this happened, but the index file is different than what I downloaded the other day. So long story short, whatever that index file was that I had in my original download (see attached) was indeed wrong. We are good now. Thanks for the help!
    Attached Images Attached Images  

 

 

Similar Threads

  1. v155 Store works fine but admin page give HTTP ERROR 500
    By Arunachala in forum General Questions
    Replies: 10
    Last Post: 14 Aug 2017, 05:10 AM
  2. getting HTTP 500 error in admin page after installation
    By alkayem in forum Basic Configuration
    Replies: 6
    Last Post: 31 Aug 2011, 03:26 AM
  3. cant log into admin just refreshes
    By Lady MoonSpirit in forum General Questions
    Replies: 7
    Last Post: 22 Dec 2008, 05:01 PM
  4. 500 Internal Server Error when trying to log into admin
    By kbalona in forum General Questions
    Replies: 3
    Last Post: 3 May 2007, 11:29 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