Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2011
    Location
    Sonoma County, CA, USA
    Posts
    20
    Plugin Contributions
    0

    Default "Down for Maintenance" only on admin/orders.php?

    I've been trying to add a field to the checkout-shipping page and display it in the list on the admin/orders.php page. I followed the gist of the instructions in this post and got it working perfectly locally. When I push the changes to the live server, however, I get a "down for maintenance" message on the admin/orders.php page only. The front end of the site works fine, and the new field gets saved in the database when an order is placed. The rest of the admin works fine, just not orders.php. I've checked ZC's error log and the hosting account's PHP error log, but neither contains recent errors. I'm wondering how else I can troubleshoot where this behavior is originating? That's where I'm stuck -- with nothing showing up in logs, I don't know how to tell what's going wrong.

    I'm using a BitBucket git repo as origin for both my local and live repos. The files are identical between local and live (except for configure.php, .htaccess, and caches and logs). I even copied the live database down to test locally and it works with my updated files. PHP version is 5.4 both locally and live. Any tips on how to hunt for an error that causes a "down for maintenance" message on only admin/orders.php? I've been digging through this so long I'm not sure what to try next.

    The exact maintenance message is "We're down for maintenance, but we'll be back up soon. Please check back!" This appears as the only content on a white page, with no header or footer. The url of this page is admin/orders.php -- it's not the standard nddbc.html or anything. It persists for a couple of hours even after I reset my changes. Also, when I search the site files for the above maintenance string, I come up empty.

    Thanks in advance for any light anyone can shed.
    Current ZC version: 1.5, upgraded manually from 1.3.9h.
    Mods: CEON URI mapping, Column Layout Grid, EZ Thumbnails, EZ Page Improved TOC, Giftwrap, Hide Categories, Integrated COWOA, USPS and Shipstation, CKEditor.

  2. #2
    Join Date
    Jul 2011
    Location
    Sonoma County, CA, USA
    Posts
    20
    Plugin Contributions
    0

    Default Re: "Down for Maintenance" only on admin/orders.php?

    Well, this was odd. Turns out my code was fine, but the permissions for orders.php were 664 when they should have been 644. That caused the server to throw a 500 error, but the 500 error page had been set up to display a generic message without mentioning the fact that it was a 500 error. Once I figured that out, I took a closer look at orders.php and noticed the permissions problem.

    What's weird is that I'm using git to deploy, so the files should mirror my local copy exactly, and my local copy had the correct permissions. I'm chalking this up to a glitch in the matrix.
    Current ZC version: 1.5, upgraded manually from 1.3.9h.
    Mods: CEON URI mapping, Column Layout Grid, EZ Thumbnails, EZ Page Improved TOC, Giftwrap, Hide Categories, Integrated COWOA, USPS and Shipstation, CKEditor.

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

    Default Re: "Down for Maintenance" only on admin/orders.php?

    Quote Originally Posted by ecclescake View Post
    What's weird is that I'm using git to deploy, so the files should mirror my local copy exactly, and my local copy had the correct permissions.
    Out-of-the-box git doesn't retain file permissions.
    .

    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. v151 Changing the "Down For Maintenance" to "Under Construction"
    By SilverHD in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 18 Feb 2014, 04:51 AM
  2. View "Down For Maintenance" page new images - site is not down
    By sbbemn in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 21 Feb 2012, 04:52 PM
  3. Down for Maintenance - "Contact us" page still works
    By dlucarelli in forum General Questions
    Replies: 6
    Last Post: 8 Sep 2010, 12:02 PM
  4. upgraded- "down for maintenance" not working
    By chachab in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 7 Aug 2010, 09:54 PM
  5. Automate (cron job) "Down for Maintenance"?
    By zcnb in forum General Questions
    Replies: 10
    Last Post: 6 Nov 2008, 04:14 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