| Re: Site time |
| by Quest on 2005/12/27 13:19:58 My guess is that you don't have the GMT-Greenwich Mean Time set correctly for one or both of your areas. Knowing: Where are your servers located and where are you located? Croatia? Would help someone to help you. |
| Re: Site time |
| by Dave_L on 2005/12/27 12:42:15 In a PHP custom block, omit the initial "< ? php" and the final "? >". XOOPS adds those automatically. I don't know how you're attempting to put PHP in a theme. The script I posted above can either be placed in a custom block as: le="color: #000000"><?php echo date('r'); Or you can create a separate file named (for example) date.php, containing: and then browse that file. |
| Re: Site time |
| by Poslanik on 2005/12/27 11:39:37 If I make a custom block with any PHP at all (set to PHP of course) I can't see sh*te. When I set the block to HTML it's ok... :/ I even tried adding the code to my theme file but that's not working either, this line of code is wrong. Jesus wtf is wrong now, I can't print any PHP. Tried <?php echo ("whatever"); ?> but that isn't working either, oh jesus. Btw I know the PHP has to be at the top of the page before the doc type tag. I just can't get any PHP to work be it in block or theme. Can anyone help me out? |
| Re: Site time |
| by Dave_L on 2005/12/27 0:40:03 Use this script to check the server time zone: The XOOPS setting for server time zone has to be consistent with that. |
| Re: Site time |
| by script_fu on 2005/12/27 0:02:34 Hum... As far as I know all servers should be set GMT. I dont think I have ever been on a server that wasn't. I guess if you have control over it its cool. But that sure would mess up everyone else... |