Page 1 of 1
My comic won't update even after I deleted the old file
Posted: Wed Jul 05, 2006 4:26 am
by Reactor
I often post a new comic, then notice some flaws in it, make some changes and replace it with the newer version. I do this by simply replacing the old file in Public HTML - Comics with a new one with the same name. It's always worked before, and I could see the new version instantly by reloading the page in my browser.
Two days ago I did this for my latest comic, and the old comic still appeared, even though the file was no longer there! Now, two days later, it's still the old comic I see, not the revision.
I've tried doing a full update and regular update, numerous times, to no avail. I am not seeing my browser's cache, I've already checked that.
Any suggestions? Why is the old comic still there when its file has been deleted and replaced?

Posted: Wed Jul 05, 2006 6:37 am
by Oualawouzou
Try deleting the comic from public_html/comics, upload the new one to workspace/comics and trigger a regular manual update. Don't use full updates unless it's the only thing that can fix your problem.
Posted: Wed Jul 05, 2006 6:52 am
by Reactor
Thanks! That worked. So why did i have this problem in the first place?
Posted: Wed Jul 05, 2006 6:57 am
by JTorch
I'm not sure what caused the problem, but just don't upload things to public_html. It's tedious, but if you want to test pages it would likely be safer to just upload to workspace/comics/ and then trigger an update. I personally think someone should come up with a CG page viewer for viewing html pages with ***tags*** on your computer without having to update to see what it looks like.
Posted: Wed Jul 05, 2006 7:03 am
by Lando
portable autokeen? brilliant!
Posted: Wed Jul 05, 2006 7:07 am
by JTorch
Something like that. It wouldn't update your site, just allow you to see what the page would look like after the ***tags*** have been converted. I'd make it, but I'm afraid I have no idea how, if it's even possible.
Posted: Thu Jul 06, 2006 8:24 am
by Reactor
JTorch wrote:I'm not sure what caused the problem, but just don't upload things to public_html. It's tedious, but if you want to test pages it would likely be safer to just upload to workspace/comics/ and then trigger an update.
Actually, it's not tedious, it's the easiest thing in the world. Or was until a few days ago. I've replaced files in Public Html-Comics with revised versions many many times with no problem at all. I still don't understand why it didn't work this time.
Normally, you just replace the file with one of the same name, and no updates are needed, you just refresh your browser and, presto, there it is.

Posted: Thu Jul 06, 2006 9:04 am
by Kisai
You shouldn't change the files in public_html since they will be overwritten by the templates when the comic updates.
Yes, any live change should be reflected instantly, but CG sends out no-expire headers, so you literately have to do a forced-refresh to update (shift-f5) to force the browser to check the page again, otherwise it will still use the cached state.
Whenever you update your templates, especially with new images that have the same file names, do a shift-f5 refresh