Updates not displaying in frontend (SOLVED)

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Updates not displaying in frontend (SOLVED)

Post 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?
Last edited by jmcgin51 on Mon Jan 15, 2007 12:18 am, edited 1 time in total.
bojans

Re: Updates not displaying in frontend

Post 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
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Updates not displaying in frontend

Post 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...

????
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Updates not displaying in frontend

Post 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?
Last edited by jmcgin51 on Sat Jan 13, 2007 5:53 am, edited 1 time in total.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Updates not displaying in frontend

Post 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?
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Updates not displaying in frontend

Post 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
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm
Location: the Netherlands

Re: Updates not displaying in frontend

Post 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
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Updates not displaying in frontend

Post by jmcgin51 »

I'll give both of these a try - thanks, Dee and Elijah!
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Updates not displaying in frontend (SOLVED)

Post 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!!!!!
westonjeff
Forum Members
Forum Members
Posts: 19
Joined: Tue Feb 14, 2006 8:48 pm

Re: Updates not displaying in frontend (SOLVED)

Post 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?
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Updates not displaying in frontend (SOLVED)

Post 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.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
westonjeff
Forum Members
Forum Members
Posts: 19
Joined: Tue Feb 14, 2006 8:48 pm

Re: Updates not displaying in frontend (NOT SOLVED)

Post 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 . . .
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: Updates not displaying in frontend (SOLVED)

Post by Elijah Lofgren »

Make sure the folder are CHMOD 777 and exist.

- Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Post Reply

Return to “CMSMS Core”