Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2012
    Posts
    2
    Plugin Contributions
    0

    Default Debugging after upgrade from 1.3.9 to 1.5.1

    Hello all. I've upgraded from 1.3.9 to 1.5.1 following this kind of procedure: http://usmanshahzada.com/blog/how-to...-zen-cart-1-5/

    Now I have 1.5.1 in /newzen but I have a lot of work since it used a custom template, custom language, etc. My main problem is that I can't seem to debug the site. There are no debug files created in /logs, tried giving 777 rights to /logs, I tried putting a STRICT_ERROR_REPORTING in configure, but I can't see any logs or errors, although it's clear that site is crashed, it loads only header then the rest is blank. If I only saw errors somewhere, I could take it from there. Any ideas?

  2. #2
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Debugging after upgrade from 1.3.9 to 1.5.1

    I assume you already tried re-uploading the files and other suggestions found at: http://www.zen-cart.com/content.php?124-blank-page. I have found some hosting providers do not allow you to override PHP settings from inside a running script. In this case STRICT_ERROR_REPORTING may not help.

    If your hosting provider allows you to customize the php.ini you can change the following:
    Code:
    display_errors = On
    display_startup_errors = On
    error_reporting = E_ALL
    Keep in mind you should never run with these settings on a live (production) website.

    Another place you can look is the web server error logs (if your provider gives you access to these) to see if any errors have been reported. In some cases fatal PHP errors will be logged here but not displayed.

    You may want to also supply some more information about the hosting provider and maybe a link to the website for others to take a deeper look.
    Last edited by lhungil; 9 Oct 2012 at 09:52 PM. Reason: please provide more information. It will allow others to help you.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Debugging after upgrade from 1.3.9 to 1.5.1

    Is this on your live site? Or did you do it on a test *copy* of your site? What's the URL?

    Is there a reason why you didn't follow the upgrade instructions posted on the Zen Cart site, or the instructions included in the Zen Cart files?
    www.zen-cart.com/upgrade
    http://www.zen-cart.com/entry.php?3-...d-of-upgrading

    Maybe your configure.php files contain incorrect data, or were edited incorrectly and are triggering PHP errors ... long before any error messages can be output to logs.

    Most often when PHP errors are happening immediately following (or during) an upgrade (typically indicated by a blank page), it means that files were missed or outdated files were left behind, or customizations were made incorrectly.
    And usually those PHP errors will show up in the myDebug-xxxxxxx.log logs.
    If they don't, then most often the problem is in files in the /includes/auto_loaders and/or /includes/init_includes/ and/or /includes/functions folders .... and since that's half of the store, the best advice is really to tell you to re-do your compare of all the files and clean up anything that doesn't match what's supposed to be there.

    http://www.zen-cart.com/content.php?124-blank-page
    http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    .

    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.

  4. #4
    Join Date
    Oct 2012
    Posts
    2
    Plugin Contributions
    0

    Default Re: Debugging after upgrade from 1.3.9 to 1.5.1

    Ok, thanks for the ideas. I ended up reviewing all my work and it was some stupid couple of files with 600 rights instead of 644. But really...zencart upgrade is a joke, have they seen any modern management system? You click a button and it's done

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Debugging after upgrade from 1.3.9 to 1.5.1

    Quote Originally Posted by costelc View Post
    But really...zencart upgrade is a joke, have they seen any modern management system? You click a button and it's done
    Thanks for your constructive feedback.

    The developers are working on a more modular plugin-style system. Do keep in mind that all those other systems you're talking about are probably not doing ecommerce. A blog is a lot different than dealing with products, shipping, checkout, payment, order management, customers, and so on.
    .

    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.

 

 

Similar Threads

  1. Error after Upgrade from 1.3.9h
    By deepfrydaniel in forum Upgrading to 1.5.x
    Replies: 10
    Last Post: 13 Oct 2014, 03:20 PM
  2. no https after upgrade from 1.3.5 to 1.3.6
    By mafiasam in forum Upgrading from 1.3.x to 1.3.9
    Replies: 14
    Last Post: 5 Jan 2007, 06:24 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