Hi everyone. I’m having a weird issue with one of my models being cached somehow on a production server. I’m not experiencing this problem on a development server copy of the same app.
At first I noticed this because I was having a problem with cGridView search property being undefined, but since discovered that the Samples model in my app is not being updated. I would add the property and publish it to the prod server but the property still wouldn’t exist.
After disabling my memcache and resetting the mysql query cache, and making sure there are no other apache cache extensions, I’ve narrowed it down to an application level cache issue by doing the following:
In my production models folder, I can delete any model file, and the web service returns the expected model not found error. Not so with my Samples model. I delete Samples.php, and the model continues to serve new views with new parameters, but still using this old version of the model.
Request https://mioncoseq.path.med.umich.edu/devices/index (private)
error - include(Devices.php): failed to open stream: No such file or directory
Put Devices.php back, works like normal.
Do the same thing with Models/Samples.php and it keeps right on serving the old version, even if the file doesn’t exist on the server.
I’ve deleted everything under assets/ and disabled caching in config/main.php, even restarted services and the whole server. Perhaps there is some other caching in Yii I’m not aware of? Anyone experienced this before?