Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Logged In Users get 500 error when viewing static cached pages

Status Resolved
Add-on / Version Speedy 1.9
Severity
EE Version 7.3.15

Gregory Maher

Feb 15, 2024

It seems that logged-in users are getting 500 server errors when viewing static cached pages. We tried setting the cookie domain to the specific subdomain we’re using, but no luck. When not logged in things seem to be working as designed. Any ideas?

Also, I’m resubmitting because I don’t see my ticket in My Tickets.

#1

Gregory Maher

Comment has been marked private.

#2

BoldMinded (Brian)

Hi, Greg. I’m going to need a lot more info 😊 What cache driver are you using? What does your Speedy options in your $config.php file look like? What does your cache tag look like in the template? Have you looked at the server logs for any PHP errors?

#3

Gregory Maher

Comment has been marked private.

#4

Gregory Maher

Comment has been marked private.

#5

BoldMinded (Brian)

Looks like you’re using the APPPATH constant in your config file somewhere?

#6

Gregory Maher

Comment has been marked private.

#7

BoldMinded (Brian)

Possibly, but I might also have a fix for Speedy so this doesn’t happen to other people.

#8

Gregory Maher

Comment has been marked private.

#9

Gregory Maher

Comment has been marked private.

#10

BoldMinded (Brian)

Comment has been marked private.

#11

Gregory Maher

Comment has been marked private.

#12

Gregory Maher

Comment has been marked private.

#13

BoldMinded (Brian)

Comment has been marked private.

#14

Gregory Maher

That seems to have cleared everything up. I think we’re looking good!

Also, do you have any tips or tricks when working with Speedy and Cloudflare? It seems the Cloudflare caching makes using ?speedy_debug=1 impossible to use? Is there anything we can do to permanently enable the debugging so we can see it even in the Cloudflare caches?

Thanks for everything, Brian!

Greg

#15

BoldMinded (Brian)

Glad it’s working now. I honestly haven’t done much work with Cloudflare, so I can’t share any recommendations for you on that front. Sorry :(

#16

Gregory Maher

Don’t be sad…it’s all good!

Thanks again for the quick fixes - much appreciated. Have a great afternoon!

Login to reply