·
Added a discussion

Hello

After the UNA install, I am trying to save in certain places on the site after amending some text.

For example, when changing the Cover tex. I used Studio -> Polyglot -> Keys. I searched for 'Unity is strength' and changed the text. When I clicked the Save button, the spinner icon turns and save just hangs there. I open the Console in Google Chrome to take a look at any errors and see this:

POST site . mydomain . com/grid.php?o=sys_studio_lang_keys&a=edit&start=0&filter=0%23-%23Unity%20is%20strength&order_dir=ASC& 403

send @ gzip_loader.php?file=bx_templ_js_e6554ffd30a78ef2dcec3e62bbddd2f9.js:6

ajax @ gzip_loader.php?file=bx_templ_js_e6554ffd30a78ef2dcec3e62bbddd2f9.js:6

e.fn.ajaxSubmit @ gzip_loader.php?file=bx_templ_js_e6554ffd30a78ef2dcec3e62bbddd2f9.js:55

t @ gzip_loader.php?file=bx_templ_js_e6554ffd30a78ef2dcec3e62bbddd2f9.js:55

dispatch @ gzip_loader.php?file=bx_templ_js_e6554ffd30a78ef2dcec3e62bbddd2f9.js:5

r.handle @ gzip_loader.php?file=bx_templ_js_e6554ffd30a78ef2dcec3e62bbddd2f9.js:5

I am not certain but the 403 error, suggests that access to the resource is forbidden. I am guessing that this may be a permissions error. Is there a list of file permissions I can find to check all the files and folders have the correct permissions set? I set both /gzip_loader.php and /grid.php to 755. Perhaps they are trying to write to a folder that is inaccessible?

Note, I have ModSecurity running on this particular account on this server. Is this an issue?

Any suggestions are most welcome? I used SOftaclulous to install this trial UNA site, so did not have a script to look at regarding permissions.

Robert

  • 584
Comments
    • I've done a search on here for saving problems and it does come up about Modsecrutiy rules being a problem for certain types of save. On the server, I am running the Comodo Ruleset for ModSecurity. I am not sure whether it's safe to disable ModSecurity for just this account on the server or try and amend the Modsecurity rules. Anyone got any suggestions on what needs to be changed in the ModSecurity rules?

      • Hello Robert !

        You may try to use this solution https://una.io/page/view-discussion?id=1886 Just place the code into studio/.htaccess file.

        • Thanks for the suggestion LeonidS

          Yes, I saw that solution already when I did a search Unfortunately, that solution didn't work on my server.

          I'm running DirectAdmin control panel on the server, and I found out that there is a way to turn ModSecurity off for the one account from within DirectAdmin control panel, or turn off specific ModSecurity rules for the account. I prefer the latter to turn of specific rules. it will mean inspecting the Apache error logs to determine which rules are blocking the Submit and Save buttons on the UNA install. I'll be working on that again later this afternoon. I've just had other projects I am busy with too, this one is lower down the pecking order for my time.

          Thanks.

          • Update...

            Great! the problem is now fixed. I just had to disable two specific rules in the ruleset for that one account on the server, not the entire ModSecurity.

            Problem solved.

            Thanks for the suggestions! :)

            Login or Join to comment.