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

Support archive

Problem with Wygwam Low Variable

Dylan 15 Aug 2012 01:41 problem, complete

Hi,

Sorry this is a bit of a weird one. I have a couple of Wygwam fieldtype in Low Variables. It works fine in my local environment and other servers I've deployed it on. However the client's hosting runs PHP under CGI and it's causing a few issues. Whenever I save a Low Variables group that includes a Wygwam field that contains a link it results in a 403 Forbidden error with the message:

'You don't have permission to access /admin-folder/index.php'

If the link is removed from the Wygwam field it works fine. My system folder is above web root. I'm using EE 2.5.2, Wygwam 2.5 and Low Variables 2.3.1

I'm not sure if this is a Wygwam or a Low Variables issue. The rest of the control panel works including Wygwam fieldtypes in a channel field group.

Any help would be really appreciated.

Thanks,

Dylan

Replies

  1. Low 15 Aug 2012 08:09

    Hi Dylan,

    When you save vars with that Matrix field, how many other vars are on that page?

  2. Dylan 15 Aug 2012 08:14

    It's happening with any Wygwam field that contains a hyperlink. I've got a variable group with just one wygwam field and a variable group that contains a matrix with multiple wygwam fields.

  3. Low 16 Aug 2012 14:48

    Apologies for the time it takes me to respond -- I'm on holiday at the moment, only checking support once a day. Normal support will resume next week.

    Anyway, can you confirm if it happens with a group with just one Wygwam field, no other variables? As you can guess, this will be hard to replicate. I suggest you ask P&T what's going on, too.

  4. Dylan 17 Aug 2012 01:32

    That's okay, enjoy your holiday. This can wait until next week.

    Yes, I can confirm it happens with a group that only contains one Wygwam field. I'll have a dig around and see if I can work out what's happening.

    Cheers,

    Dylan

  5. Low 12 Sep 2012 10:17

    Hi Dylan,

    Any progress on this? I'm pretty sure it has to do with mod_security running on the server. Can you ask your host if they're running that?

  6. Dylan 12 Sep 2012 21:52

    Hi Low,

    Thanks for following up. I'm sorry I didn't post my solution. I put break points into both Wygwam and Low variables and the problem was occurring before the save actions were even processed. My EE installs usually have an admin folder with an index.php file inside. I was able to resolve the problem by changing the name from index.php to something else.

    Dylan