Page 1 of 1

Updates not displaying in frontend (SOLVED)

Posted: Fri Jan 12, 2007 4:03 pm
by jmcgin51
using CMSMS 1.0.2...

I just started having a problem where page updates are not being displayed in the frontend website.  For example, I changed a link url, saved the page, cleared the cache, and navigated to the appropriate page on the frontend.  When I click the link, it takes me to the old url.  Hovering over the link also displays the old URL.  But when I go back to the page in the Admin, the correct URL is saved.

In another page, I changed the action of a form, but after clearing the cache and reloading the page, I still get the old form action, though the correct action is saved in the backend.

This just started happening yesterday.  I stopped and started my vhost, with no changes.  I've used the Clear Cache button several times, with no change.  Any ideas?  Where do I start?

Re: Updates not displaying in frontend

Posted: Fri Jan 12, 2007 8:52 pm
by bojans
Maybe you have turn on google web accelerator (or some similar tools)? Once I have the same problem with one other aplication and I solve the problem with turn off google accelerator.  :-\

Bojan

Re: Updates not displaying in frontend

Posted: Fri Jan 12, 2007 9:02 pm
by jmcgin51
thanks for the idea, bojans, but I'm on a company computer, and haven't installed any other software lately.  Nothing has changed about my site, (I haven't added/updated/removed any modules, changed templates, etc.), so I'm really stumped, especially since the correct code is saved in the db.  Somehow the page isn't calling the code from the db, even though the cache is cleared, and I've used CTRL-F5 to clear my browser cache...

????

Re: Updates not displaying in frontend

Posted: Sat Jan 13, 2007 5:51 am
by jmcgin51
The more I think about this issue, the less it makes sense.  As I understand it, the page content is stored in the database, and when the page is called, it hits the database, finds the content, and displays it.  SOOOOO...

How can the Admin panel show the page correctly, but the frontend doesn't????  Aren't they calling the same db record???

Is there a way to manually clear the cache (instead of using the "Clear Cache" button in the Global Settings page)?

This one really has me baffled...

EDIT TO ADD: I just noticed my Preview tab displays a blank window, not the page preview that is expected...  Could this be related?

Re: Updates not displaying in frontend

Posted: Sun Jan 14, 2007 4:28 pm
by jmcgin51
anyone, any ideas???

If the correct data is stored in the database (as evidenced by the fact that the Admin section correctly displays the edited page), then why won't the front end display the correct data?

Re: Updates not displaying in frontend

Posted: Sun Jan 14, 2007 7:23 pm
by Elijah Lofgren
jmcgin51 wrote: Is there a way to manually clear the cache (instead of using the "Clear Cache" button in the Global Settings page)?
You can delete the files in tmp/cache and make sure that the folder is writable.

Hope this helps,

Elijah

Re: Updates not displaying in frontend

Posted: Sun Jan 14, 2007 7:30 pm
by Dee
Elijah Lofgren wrote: You can delete the files in tmp/cache and make sure that the folder is writable.
Same goes for tmp/templates_c

Regards,
D

Re: Updates not displaying in frontend

Posted: Sun Jan 14, 2007 11:57 pm
by jmcgin51
I'll give both of these a try - thanks, Dee and Elijah!

Re: Updates not displaying in frontend (SOLVED)

Posted: Mon Jan 15, 2007 12:17 am
by jmcgin51
that worked!  I had cleared the tmp/cache folder before, so it must have been tmp/templates_c...  thanks so much to you both!!!!!

Re: Updates not displaying in frontend (SOLVED)

Posted: Tue Jan 23, 2007 5:16 pm
by westonjeff
I was having the exact same problems (preview not displaying anything, front end didn't match editing screens, etc.)

Now in the process of clearing the tmp/templates_c directory of almost *7000 files*?

Is this standard? Any way to automatically clean these up?

Re: Updates not displaying in frontend (SOLVED)

Posted: Tue Jan 23, 2007 5:27 pm
by Elijah Lofgren
westonjeff wrote: I was having the exact same problems (preview not displaying anything, front end didn't match editing screens, etc.)

Now in the process of clearing the tmp/templates_c directory of almost *7000 files*?

Is this standard? Any way to automatically clean these up?

Usually you can just go to "Site Admin -> Global Settings" and hit the "Clear" button next to "Site Cache".
Another idea is to use Cpanel (if your server has it) and delete the entire directory using the File Manager and then just re-create the dir.

Re: Updates not displaying in frontend (NOT SOLVED)

Posted: Tue Jan 23, 2007 8:23 pm
by westonjeff
Elijah:

thanks for the reply and info . . . however, now that I've deleted all the files from

tmp/templates_c
and
tmp/cache

directories, the public side of my site displays blank pages -- viewing source provides the following:




help, again, please . . .

Re: Updates not displaying in frontend (SOLVED)

Posted: Tue Jan 23, 2007 11:18 pm
by Elijah Lofgren
Make sure the folder are CHMOD 777 and exist.

- Elijah