All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Attempting to save edits to variables results in Status: 404 Page not found.

Andrew Fairhurst 29 Nov 2012 08:49 problem, complete

Hi Low,

Many thanks for your excellent module: Low Variables.

I'm having trouble saving Low Variables on a Staging site.

New Variables can be created, no problem. Issue arises when trying to edit/save any existing variables. The save action doesn't complete and the system lands on a Status: 404 Page not found.

Looking into it, I've realised my path to save variables as files is incorrect [Extension Settings]; it's still set for the live site. Problem is, I can't save the change due to the reason above.

Any ideas?

Thanks,

Andrew

Replies

  1. Andrew Fairhurst 29 Nov 2012 09:00

    Hi Low,

    Apologies for the false alarm; I've found a solution.

    I added the path to the save location in the config.php file.

    Thanks,

    Andrew

  2. Low 29 Nov 2012 09:05

    Are you still receiving the 404, tho?

  3. Andrew Fairhurst 29 Nov 2012 09:25

    Hi again. Actually, the problem is still persistent. Some pages will allow me to save changes, whilst others don't.

    I'm having problems saving changes made to variables, whilst working on the Low Variables page. Status: 404 Page not found, is returned.

  4. Low 29 Nov 2012 09:27

    I have seen something like this before, and it always turned out to be an environmental problem, ie. the server. Is mod_security running on the server?

  5. Andrew Fairhurst 29 Nov 2012 09:53

    I'm not sure if mod_security is running; I'll look into it.

    I've got a couple of groups of variables:
    • shortcuts
    • dry snippets

    The shortcuts are simply ee disable strings e.g.
    • categories|member_data
    • categories|member_data|pagination

    These save, no problem.

    The dry snippets are generally html. If I move one over to the shortcuts group, saving fails.

    I'll check on mod_security

  6. Low 29 Nov 2012 09:55

    You can see a similar problem here: https://getsatisfaction.com/low/topic...

    See the bottom comment for the solution found. Worth a shot.

  7. Andrew Fairhurst 29 Nov 2012 10:06

    I don't have an admin folder.

    Am awaiting response from host re: mod_security

    I'm able to edit/update variables via the standard EE method, so will use that as a work around for now.

    Thanks,

    Andrew

  8. Low 29 Nov 2012 10:29

    While you wait for your host, you can try to put this in your .htaccess file:

    <IfModule mod_security.c> 
    SecFilterEngine Off
    </IfModule>


    If mod_security is installed, and you're allowed to turn it off in your .htaccess, this might help solve it as well. If you're not allowed to turn it off, it could result in an error 500, so see what it does.

  9. Andrew Fairhurst 29 Nov 2012 10:41

    Mod Security was running. The hosts have tweeked 3 settings, and it now seems to be working again. Thanks for your support.

  10. Low 29 Nov 2012 10:42

    Cool. Do you know which settings were tweaked? Then I can relay that to others oif they run into the same issue.

  11. Andrew Fairhurst 29 Nov 2012 10:47

    Host disabled:
    300061
    340149
    340163

    Thanks.