Your software
My Mautic version is:3.2.4
My PHP version is:7.4.14
My Database type and version is: MySQL 5.7.33
Your problem
My problem is: I deleted the contents of var/cache per the troubleshooting documentation (Troubleshooting | Mautic Community Documentation). Now I’m unable to even access and load the site.
These errors are showing in the log: I don’t see anything in the logs for today’s date
Steps I have tried to fix the problem: Not sure what to try
I have cleared browser cache and cookies several times. I tried opening it in ingotnito window and that didn’t help. Also, the permissions are set to 755.
EJL,
I decided to save my database and uninstall the Mautic script and then reinstall a fresh clean version to that same subdomain. I use Softaculous on cPanel to do the install.
Now, with the fresh clean install and new database I can’t access the site at all. I get a message from my browser that its getting too many redirects. I don’t understand why a fresh new installation won’t let me access it. I’ve tried clearing the cache and cookies and an incognito window as well.
I have open a support ticket with my host and see what I can figure out from that end first. A clean install should work.
EJL,
No, I did not. As an update for this morning. I just was able to access the new installation of Mautic from an Incognito window. My host indicated that I was getting too many redirects from Cloudfare. I’ve disabled Cloudfare for that subdomain.
I didn’t have a lot of data (maybe a weeks worth) in my previous Mautic installation as I was just setting things up.
I’m still unclear of why when I cleared the contents of var/cache that it broke Mautic. Maybe I went about it incorrectly. I was following the instructions in the Troubleshooting section of Mautic. This all originated because I was attempting to connect my Mautic instance to Zapier. I was advised to clear my cache folder contents, so I did.
I’ll attempt to try to connect it with this fresh install but I need to re-configue some of the settings I had already had in place.
in the future you can save the local.php file and use it to restore your settings by copying into the app/config folder of any new installs.
If I recall correctly the Zapier plugin in nonfunctional due to some changes on Zapier’s end but it may be sorted out by now.
Unfortunately the documentation for Mautic is far behind its development. Its being addressed, but it isn’t current as I understand it.
If you have ssh access you can run the cache:clear command as opposed to deleting the whole folder.
That’s good to know about the local.php file. Where exactly is that file located?
Makes sense with regards to Zapier. Do you know if Integrately works? I know they have a mautic connector. (and Integrately costs far less to use than Zapier)
I do have SSH access, although I know enough to be dangerous, I try to stay away from shell commands unless absolutely necessary. After going through this though I probably will use the shell command next time.
I’m reconfiguring the new mautic install now. I’m so much faster at it the second time around! LOL