Thread: sqlpatch

Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2007
    Posts
    1,484
    Plugin Contributions
    10

    Default sqlpatch

    Scratching my head over this one, something staring me right in the face and I am not seeing it so I hope someone can show me what I'm missing.

    I am working on a new dev site using PHP 7.1, 1.5.5f, bootstrap template and a zillion mods. I always work on a local XAMPP install. This time, as I am starting to use git a bit more, I decided to set up an identical dev site on the dedicated remote server to make sure everything works properly in the remote environment. When I update my github repository from the local server it also pushes it to the remote server. This way both filesets are always in sync. It has been working great except whenever I push to the remote site it always resets the file permissions to 664 which causes a 500 error and I have to set everything back to 644. I didn't know about hooks until a couple days ago....

    2 days ago I cloned the local DB and overwrote the remote DB with it by deleting all of the tables and uploading a backup of the local. I wanted the DBs to be in sync after installing mods and doing some configuration, I do this fairly often like every couple days or whenever I've done a lot of new configuring. I don't know if this may be the cause of my issue so I thought I'd mention it.

    The problem is, sqlpatch no longer works on the remote server. It did work and I am not sure at what point it stopped. I get a 500 error and no logs. If I use the file upload function in sqlpatch it works, so the issue is only when I paste something in. I have replaced all of the admin files on the remote directly with the local files (except configure), and still get the 500 error. Everything has 644 permission. I have looked at the sqlpatch file and cannot see anything that stands out show where my problem lies, it's an unaltered core version.

    I am stumped! Any ideas?

    Zen Cart and it's community are the best!!

  2. #2
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: sqlpatch

    Had this before a few times.
    Its a common mod_security type rule on the server that has changed and needs to be whitelisted
    Get your server host to update it for sqlpatch.php

  3. #3
    Join Date
    Jan 2007
    Posts
    1,484
    Plugin Contributions
    10

    Default Re: sqlpatch

    Thanks, gilby, I was just figuring that out when you posted. I will have the server techs adjust the rule.

    Zen Cart and it's community are the best!!

 

 

Similar Threads

  1. sqlpatch.php blocked by webhost
    By gilby in forum General Questions
    Replies: 3
    Last Post: 29 May 2012, 08:29 AM
  2. admin/sqlpatch.php bug
    By emupilot in forum Bug Reports
    Replies: 0
    Last Post: 29 Sep 2007, 11:56 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