PDA

View Full Version : Calendar not displaying


paceit
02-20-2008, 03:25 PM
Hi, I'm running version 5.2.5 of Calendar and it's been working fine so far. But last few days it has disappeared off the pages. I can run setup and add events etc, but no display on public pages below:

http://www.rotarygozo.org/en/
http://www.rotarygozo.org/en/rotary_gozo_events.htm

I ran the test and results all pass.

If I upgrade do I upload all files? and do database settings etc remain intact?

ve9gra
02-20-2008, 04:26 PM
You can either rename your page *.php, or add something to your .htaccess to allow the parsing of PHP in an .htm or .html file.

You can see what's happening by viewing the source of your page... you'll see the PHP straight up.

paceit
02-21-2008, 01:16 PM
thanks for the heads up. you are quite right.

I have always had an entry in my .htaccess file to parse php in html as follows:

AddHandler application/x-httpd-php .htm .html

This previously worked. I have now discovered the cause. My hosts just upgraded to PHP5 as default. Therefore I fixed it by changing above to:

AddHandler application/x-httpd-php4 .php

Now all working again.
Cheers, D