Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Sep 2007
    Location
    Far South Coast, NSW, Australia
    Posts
    436
    Plugin Contributions
    0

    Default checkout page is blank

    I looked in the logs and the most recent one says:

    [09-Jun-2015 14:06:59 Australia/Perth] PHP Warning: include_once(includes/modules/shipping/flatau.php): failed to open stream: No such file or directory in /home10/xxxxxxxxxxx/public_html/store/includes/classes/shipping.php on line 58
    [09-Jun-2015 14:06:59 Australia/Perth] PHP Warning: include_once(): Failed opening 'includes/modules/shipping/flatau.php' for inclusion (include_path='.:/opt/alt/php53/usr/share/pear:/opt/alt/php53/usr/share/php') in /home10/xxxxxxxxxxx/public_html/store/includes/classes/shipping.php on line 58
    [09-Jun-2015 14:06:59 Australia/Perth] PHP Fatal error: Class 'flatau' not found in /home10/xxxxxxxxxxx/public_html/store/includes/classes/shipping.php on line 59

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: checkout page is blank

    Class 'flatau' not found in /home10
    Check that includes/modules/shipping/flatau.php exists
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2007
    Location
    Far South Coast, NSW, Australia
    Posts
    436
    Plugin Contributions
    0

    Default Re: checkout page is blank

    No, not there. I checked in the v154 download and it dousn't seem to exist at all.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,393
    Plugin Contributions
    94

    Default Re: checkout page is blank

    Quote Originally Posted by jenpen View Post
    No, not there. I checked in the v154 download and it dousn't seem to exist at all.
    That's because flatau.php is not part of the Zen Cart base distribution. You've either installed a plugin or "cloned" the flat-rate shipping module at some point in time.

  5. #5
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: checkout page is blank

    Quote Originally Posted by jenpen View Post
    I looked in the logs and the most recent one says:

    [09-Jun-2015 14:06:59 Australia/Perth] PHP Warning: include_once(includes/modules/shipping/flatau.php): failed to open stream: No such file or directory in /home10/xxxxxxxxxxx/public_html/store/includes/classes/shipping.php on line 58
    As lat9 has stated, this file is not a part of the ZenCart distribution package, so you won't find it there.

    Kobra was asking in this file exists in *your* store /modules/shipping/ folder. If it *doesn't* this would, as lat9 also stated, suggest that you've either installed a plugin or "cloned" the flat-rate shipping module at some point in time.

    In *addition* to this deduction, we can also infer that

    1. This module has never worked since the day it was installed (or cloned), and that you've only just discovered these log entries, or
    2) If it HAS been working in the past, someone or something has deleted the
    includes/modules/shipping/flatau.php file.
    and
    3) If this file was intentionally deleted (for example, if you no longer use it) there is a file called "flatau.php" that still exists in the /languages/english/modules/shipping/ folder that *also* needs to be deleted.

    OR,
    4) This module has been installed and working on a previous zencart installation, the files removed/deleted during an upgrade, and the old database was migrated, which still indicates that this module is active.




    Cheers
    RodG
    Last edited by RodG; 9 Jun 2015 at 10:38 PM.

  6. #6
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: checkout page is blank

    Three possible cures.

    1) Replace the mssing file from a backup (assuming you have one).
    2) Delete the languague file associated with the module.
    3) log into the admin of your site, navigate to the shipping modules section and note/fix any errors that appear.

    I'm a little vague on when exactly when ZenCart adds/removes the 'installed modules' to its DB configuration table, and the mere act of navigating to this section of the site may even be enough to remove the entry that no longer exists.

    Cheers
    RodG

  7. #7
    Join Date
    Sep 2007
    Location
    Far South Coast, NSW, Australia
    Posts
    436
    Plugin Contributions
    0

    Default Re: checkout page is blank

    Thanks, all of you.

    I do have a vague memory of cloning flat.php when I first installed the store, many years ago. I upgraded to v154 recently but did not delete any files, just uploaded over the top, so it's a mystery.

    Anyway, I found a copy in a back-up, replaced it where it should be, but... still a blank page

  8. #8
    Join Date
    Sep 2007
    Location
    Far South Coast, NSW, Australia
    Posts
    436
    Plugin Contributions
    0

    Default Re: checkout page is blank

    BTW the only shipping module activated is FREE SHIPPING! because they only sell memberships.

  9. #9
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: checkout page is blank

    Quote Originally Posted by jenpen View Post
    ound a copy in a back-up, replaced it where it should be, but... still a blank page
    Does the module show up under the modules->shipping section?

    Are you still getting the same entries in the error logs?

    In the absence of any further (probably better) advice, and assuming that you have a little bit of experience with phpmyadmin (or similar tool) you could try searching the zen configuration table for the configuration_key value "MODULE_SHIPPING_INSTALLED" and looking to see what the configuration_value field contains, and if it does contain an entry for the flatau.php module you can edit and remove it.

    This *shouldn't* really be needed though because this field *should* be automatically updated by ZenCart, dependent on which modules it finds are installed.

    Cheers
    RodG

  10. #10
    Join Date
    Sep 2007
    Location
    Far South Coast, NSW, Australia
    Posts
    436
    Plugin Contributions
    0

    Default Re: checkout page is blank

    Right, now I'm getting somewhere. I realised that this dumb user (me) had not checked the "Free shipping" option in the checkout_shipping page, which is perhaps why I was getting a blank page even after replacing flatau.php. Shouldn't it have been pre-checked by default as it's the only option? Anyway when I went back to try again, it was pre-checked.

    So then I went on to the payment page to find the store was not accepting payments in my area - what? And realised that our NAB-Transact payment module - also a single option - had also disappeared. I have now replaced those files too and all seems well.

    Thanks RodG and Kobra for your considered responses. I don't know how those files got deleted. But all is fine now.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Checkout blank page during checkout - authorize.net
    By gandalfsmith in forum General Questions
    Replies: 0
    Last Post: 6 Jan 2012, 09:05 PM
  2. blank checkout page: index.php?main_page=checkout&fecaction=null
    By gibow in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 13 Jul 2011, 01:30 PM
  3. Replies: 1
    Last Post: 22 Jan 2009, 11:24 AM
  4. Replies: 2
    Last Post: 3 Aug 2008, 03:51 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