When front page is set to display the custom home page and the cache turned on, Drupal serves a blank home page.
It works fine when logged in (which deactivates the cache).
I tested this with front-page set to render a themed page.
Geoff
When front page is set to display the custom home page and the cache turned on, Drupal serves a blank home page.
It works fine when logged in (which deactivates the cache).
I tested this with front-page set to render a themed page.
Geoff
Comments
Comment #1
Dublin Drupaller commentedJust tried to recreate the problem, but couldn't.
(a) using Drupal 4.7.beta.3
(b) front_page.module (4.7 version)
(c) cache enabled under ADMINISTER --> SETTINGS
I tried to recreate the problem you were having using different variations, such as themed, FULL, Redirect and all worked perfectly.
Ditto for when cache was not enabled. Worked fine.
I tried it several times in case it was because I was using a fresh install and a fresh database, but couldn't recreate the same problem you were having.
My only guess was that you had php in your front page and forgot to select the ALLOW PHP option.
Dub
Comment #2
Dublin Drupaller commentedas a quick follow up to my previous message, after a while, I do notice an issue with the cache. It's not really a front_page.module problem and I'm not sure how you can sort it apart from perhaps:
(a) clearing the cache each time the front page loads (which sort of defeats the purpose of the cache)
(b) telling the cache to ignore the front_pages. (So cache works for everything but the front page)
I'm having a look at previous versions of Drupal to see if there is something missing from the cache functions in Drupal 4.7.
Assume you have the same problems with other pages, so all I can say for the moment is disable cache under ADMINISTER -> SETTINGS.
Sorry I can't be of more help than that.
Dub
Comment #3
Dublin Drupaller commentedas an afterthought. Is it an idea to switch off cache while you're changing the front_page and then enabling it after you're happy with it?
Dub