Plugin

Developer
Supported

Session Variables Plugin

ExpressionEngine 1.x, ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From PutYourLightsOn

     

You must be logged in to post.

Adding the plugin to templates causes 404s

General

Tyssen
Tyssen

As the title says, if I add the plugin to any templates, it returns a 404. Take it out, and it’s fine again.

The site is using Stash for templating but I get the same issue if I completely remove any Stash references from a template and just paste in the plugin tag.

Site is running EE 2.7.3 and uses Resource Router 1.0.4.

PutYourLightsOn
# 1
Developer
PutYourLightsOn

what code are you adding to the template?

Tyssen
# 2
Tyssen

Normal template includes a stash embed and stash set tag, but it also happens if the only tag in the template is the plugin itself setting a session variable.

PutYourLightsOn
# 3
Developer
PutYourLightsOn

i can’t replicate this. can you test in a template on its own with Resource Router disabled?

Tyssen
# 4
Tyssen

Tried that, same result. Up until now I’ve been testing this on my local dev site under MAMP. But I’ve just tested it on a new template on the live site and it’s working fine. So something about my local set-up that’s tripping it up. :?