Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Stuck in Maintenance Mode

    zc156a
    vanilla install w/demo data
    drop tables
    import from live db backup
    rerun zc_install
    setup payment modules
    setup shipping modules
    install zca bootstrap and fiddle with it.
    change to responsive classic

    Pretty sure I have not reinstalled since I ran the custom mySQL code by DrByte:

    Stuck in MaintMode now
    First visit to website: header bar indicating down for maint to public
    2nd visit to website (refresh page): consumer page with down for maintenace info and image.
    I copied my IP from the page footer and pasted into the website maintenance field.





    If I could just get it out of Maintenance, I can probably recreate the steps that I went through to get stuck. The first pass in/out of maintenance mode did not cause a problem. It was after I edited and restored one or more of the text fields.


    Code:
    [08-Jan-2019 19:08:28 America/Los_Angeles] Request URI: /156/index.php?main_page=down_for_maintenance, IP address: 98.146.xxx.yyy#1  require(/home/cPanel/public_html/156/includes/templates/template_default/templates/tpl_down_for_maintenance_default.php) called at [/home/cPanel/public_html/156/includes/templates/Scorch_RCclone/common/tpl_main_page.php:171]
    #2  require(/home/cPanel/public_html/156/includes/templates/Scorch_RCclone/common/tpl_main_page.php) called at [/home/cPanel/public_html/156/index.php:97]
    --> PHP Warning: Use of undefined constant TEXT_DATE_TIME - assumed 'TEXT_DATE_TIME' (this will throw an Error in a future version of PHP) in /home/cPanel/public_html/156/includes/templates/template_default/templates/tpl_down_for_maintenance_default.php on line 25.
    Last edited by RixStix; 9 Jan 2019 at 04:25 AM.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  2. #2
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: Stuck in Maintenance Mode

    Additional info

    Public page
    The Admin / Webmaster has enabled maintenance at :
    TEXT_DATE_TIME



    instead of the real time

    (that's one way of getting me to stop for the day and not asking any more questions) :-)
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

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

    Default Re: Stuck in Maintenance Mode

    The TEXT_DATE_TIME is set in your down_for_maintenance/header_php.php file:
    https://github.com/zencart/zencart/b...er_php.php#L24

    Quote Originally Posted by RixStix View Post
    If I could just get it out of Maintenance
    But, from what you posted above about installing payment modules etc, that suggests you have a working Admin. So just go to Admin->Configuration->Website Maintenance and turn it off.
    .

    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
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: Stuck in Maintenance Mode

    UHM, that is what I was doing. Looking at the various editable messages. After looking, set back false had no effect on the public page.

    Finally, clicked the "Continue" button on the down for maint page and public functionality restored.

    Cannot duplicate things now. Never had to click the Continue button in the past (that I remember).

    Sorry to bother.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

 

 

Similar Threads

  1. v151 While in maintenance mode how can I view my site?
    By jilly57 in forum General Questions
    Replies: 2
    Last Post: 26 Jan 2013, 12:20 AM
  2. How can I test my products in Maintenance Mode?
    By wmorris in forum General Questions
    Replies: 1
    Last Post: 15 Oct 2011, 06:37 PM
  3. 1.3.9c demo stuck in maintenance
    By Saintsteven in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 27 May 2010, 08:46 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