Another caching question.
Permalink Browser Info Environment
I have posted in the general editing forum about other "strange" behaviors that seem cache-related, but I can't tell for sure. It may be a concrete5 issue. One of the community responders suggest I check with you. So, for for example, even though I have caching turned off, and have emptied the cache, I cannot upload image files. I get a "Token Error" and am asked to reload the page (which does nothing).
Also, if I upload a group of images, place one on a page, then go back to the File Manager, the newly uploaded images do not show up—unless I click the arrow to show the oldest modified images, and then click it again to show the most recent ones. These images are all small (well under 1MB), properly name jpgs or pngs. I also ftp-ed a file in order to retrieve it from the "Incoming Directory", but the File Manager doesn't see that one at all. I have had some issues with editing a block, which then doesn't show the updated information or disappears entirely from the screen until publishing the page.
It all feels cache-related, but I can't solve it. The web server is not running memcached or varnish, or any other cache accelerator that I am aware of. It's a VPS, so I have more flexibility than shared, but not as much as managed.
I get the same behavior when using Chrome or Firefox.
Any help or insight that you could provide would be highly appreciated. I love the theme. The client loves the look and function of the site (still in development), but I obviously need to solve this issue.
Thanks!
Also, if I upload a group of images, place one on a page, then go back to the File Manager, the newly uploaded images do not show up—unless I click the arrow to show the oldest modified images, and then click it again to show the most recent ones. These images are all small (well under 1MB), properly name jpgs or pngs. I also ftp-ed a file in order to retrieve it from the "Incoming Directory", but the File Manager doesn't see that one at all. I have had some issues with editing a block, which then doesn't show the updated information or disappears entirely from the screen until publishing the page.
It all feels cache-related, but I can't solve it. The web server is not running memcached or varnish, or any other cache accelerator that I am aware of. It's a VPS, so I have more flexibility than shared, but not as much as managed.
I get the same behavior when using Chrome or Firefox.
Any help or insight that you could provide would be highly appreciated. I love the theme. The client loves the look and function of the site (still in development), but I obviously need to solve this issue.
Thanks!
Type: | Discussion |
---|---|
Status: | In Progress |
Thanks. I guessed that it was probably something like that (though a developer I am not. I will have to do a bit of research on the php errors issue.). What is strange to me is that everything worked fine for awhile, and I can't think of anything that would have changed the environment.
Ah ok. If it happened recently, maybe you installed an addon which could interfere with the interface? Did you add any new modules to your server? I also compared your env info to mine and everything was looking good.
Yeah, that's what I can't figure. I didn't add any new addons after the initial installation. I am going to have to table this for the moment, though. The webhost is migrating my VPS to another data center and to newer servers/more recent software. (At my request, unrelated to this issue.) Who knows, if it's something in the current server environment, maybe that will resolve itself. One can hope....
Sites have been migrated to new servers (same host), and so far, images are uploading fine. So it may have been the server environment (didn't affect 5.6-5.7 sites, just 8.21). If I run into it again, I will let you know. Thanks for your quick responses and offers to help.
Tim
Tim
Token errors occur when your session expires before you could submit a request/response to the server. So this might be a problem with your server configuration. One way to find out is to try and tail the php error logs while you reproduce those errors on the page.
I have also dealt with a client site before who had some really bad caching issues. And it turned out that the site was using a cloudflare CDN. After turning that off, everything went smoothly.
In your case, it really seems that there could be just one misconfiguration that's causing your problems and hopefully the error logs will show what it is. I'll try to do some research on my own. Please let me know if you manage to figure it out.
Kind regards,
James