Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Sep 2016
    Posts
    5
    Plugin Contributions
    0

    Default Shipping, Postage, Order Total Modules are all blank and can't install new ones

    Hi,

    I've been using Zen Cart for years and love it.

    I recently upgraded from 1.3x to 1.55a and, after some issues which I resolved, have noticed the Shipping Modules, Postage Modules and Order Total Modules are all blank.

    Also, the international shipping tables which did work, are now not working and postage prices to the UK are the only ones working.

    Please help as I am not sure what to do and cannot find anything on Google or this forum to help.

    I have added modules before, like the Big Royal Mail module, and it isn't showing, so something is wrong.

    Thank you.
    Attached Images Attached Images  

  2. #2
    Join Date
    Sep 2016
    Posts
    5
    Plugin Contributions
    0

    Default Re: Shipping, Postage, Order Total Modules are all blank and can't install new ones

    The reason I want to know is I need to:-

    1. Get Worldwide shipping working
    2. See what modules are installed
    3. Upgrade (if required) the modules that are installed

    Thank you :)

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,404
    Plugin Contributions
    87

    Default Re: Shipping, Postage, Order Total Modules are all blank and can't install new ones

    What you're seeing is a "partial whitescreen", resulting from a PHP error in one of those order-total modules.

    Check your store's /logs folder for more information. For additional help, you can post one of those logs, wrapping the file's contents with "CODE" tags (the big # in the menu-bar displayed when you're writing a post).

    When the log file's name is similar to myDEBUG-adm-, then the logs will contain the name of your secret admin folder, so be sure to xxx-out that name prior to posting.

  4. #4
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Shipping, Postage, Order Total Modules are all blank and can't install new ones


  5. #5
    Join Date
    Sep 2016
    Posts
    5
    Plugin Contributions
    0

    Default Re: Shipping, Postage, Order Total Modules are all blank and can't install new ones

    Quote Originally Posted by lat9 View Post
    What you're seeing is a "partial whitescreen", resulting from a PHP error in one of those order-total modules.

    Check your store's /logs folder for more information. For additional help, you can post one of those logs, wrapping the file's contents with "CODE" tags (the big # in the menu-bar displayed when you're writing a post).

    When the log file's name is similar to myDEBUG-adm-, then the logs will contain the name of your secret admin folder, so be sure to xxx-out that name prior to posting.
    Ah hah, this makes sense - I didn't appreciate it was a partial white screen. When I look at the logs after going to that particular page, I get this error in the log:-

    [11-Sep-2016 10:08:29 Europe/London] PHP Fatal error: Call to undefined function zen_class_exists() in /xxxx/xxxxx/xxxxx/xxxxx/modules.php on line 195

    I understand the error but how do I fix it?

    Thanks.

  6. #6
    Join Date
    Sep 2016
    Posts
    5
    Plugin Contributions
    0

    Default Re: Shipping, Postage, Order Total Modules are all blank and can't install new ones

    Required extract from the .PHP file:-

    PHP Code:
          if (zen_class_exists($class)) {
            
    $module = new $class;
            if (
    $module->check() > 0) {
              if (
    $module->sort_order 0) {
                if (
    $installed_modules[$module->sort_order] != '') {
                  
    $zc_valid false;
                }
                
    $installed_modules[$module->sort_order] = $file;
              } else {
                
    $installed_modules[] = $file;
              }
            } 

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,404
    Plugin Contributions
    87

    Default Re: Shipping, Postage, Order Total Modules are all blank and can't install new ones

    Re-check your upgrade; there is no reference to zen_class_exists in the ZC 1.5.5a file-set.

    Looking at the 1.5.5a version of /YOUR_ADMIN/modules.php, the PHP function class_exists is used rather than a Zen Cart 'variant'.

    P.S. If it were me, I wouldn't just change that line, since there might be other required changes in that PHP module!

  8. #8
    Join Date
    Sep 2016
    Posts
    5
    Plugin Contributions
    0

    Default Re: Shipping, Postage, Order Total Modules are all blank and can't install new ones

    I uploaded the modules.php file to the admin dir and now it appears to work - no idea why this happened! Thank you for your help.

  9. #9
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    167
    Plugin Contributions
    1

    Default Re: Shipping, Postage, Order Total Modules are all blank and can't install new ones

    Strange - I have just had the same issue!

    I've not made any coding changes in a long time but suddenly got the same partial white screen.

    Amended -

    if (zen_class_exists($class)) {

    to

    if (class_exists($class)) {

    and now appears to be fine.

    Using 1.5.4 BTW ...

  10. #10
    Join Date
    Jul 2012
    Posts
    16,719
    Plugin Contributions
    17

    Default Re: Shipping, Postage, Order Total Modules are all blank and can't install new ones

    Quote Originally Posted by royaldave View Post
    Strange - I have just had the same issue!

    I've not made any coding changes in a long time but suddenly got the same partial white screen.

    Amended -

    if (zen_class_exists($class)) {

    to

    if (class_exists($class)) {

    and now appears to be fine.

    Using 1.5.4 BTW ...
    What php version does Zen Cart see? (admin screen version link)
    What did the mydebug file that was generated and located in the logs directory have in it. Obscure the admin directory when posting. This FAQ explains about a blank or partial blank screen: http://www.zen-cart.com/content.php?124-blank-page
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Shipping, order total and payment modules not activated
    By devyani in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 1 Mar 2013, 11:14 AM
  2. I deleted ALL my banners, now I can't add new ones
    By adod in forum Basic Configuration
    Replies: 5
    Last Post: 13 Nov 2008, 01:29 AM
  3. Fresh install Payment ,Shipping, and Order total, go no place.
    By TalonOne in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 24 Jan 2008, 08:26 PM
  4. The Modules of Payment, Shipping and Order total are missing
    By yuxiaomao in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 8 Dec 2007, 05:33 PM
  5. Shipping, Payment and Order total modules problems with other languagepacks
    By Llorakh in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 1 Nov 2007, 07:17 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