Patrick Malone wrote: Hi,
I just installed Xerte on my server (at 1and1.com) last night. The installation routine went through with no issue, it checked and found everything was adequate for the install and after the installation completed there were no errors at all. I am using version 3 with the update.
...
And as a side note, on every page load I get this error;
/xerte/edithtml.php?template_id=<br%20/><b>Strict%20Standards</b>:%20%20date():%20It%20is%20not%20safe%20to%20rely%20on%20the%20system%27s%20timezone%20settings.%20You%20are%20*required*%20to%20use%20the%20date.timezone%20setting%20or%20the%20date_default_timezone_set()%20function.%20In%20case%20you%20used%20any%20of%20those%20methods%20and%20you%20are%20still%20getting%20this%20warning
Patrick
The 'config.php' file turns on all PHP errors/warnings and these will be displayed by your browser.
This one is a strict standards warning. You could set the timezone in your php.ini to prevent it showing again, or change the 'development' setting in the config.php file. (I wouldn't do that until you have the other errors resolved though.)
Fatal error: Call to undefined function dont_show_template() in /homepages/29/d92127831/htdocs/911ng/xerte/edithtml.php on line 59
I took a quick look at this, and I suspect you may be hitting a bug here. The dont_show_template function has not been included in the edithtml.php file. (It looks like it is omitted from a couple of others too.) However, it is only called because of another detected problem - the 'template_id' is either not set or not numeric (around line 59 of edithtml.php shows this).
There is a debug statement in the code which should be written to a debug file. You haven't specified the type of server you are using, but for windows see if the 'c:\debug.log' file exists or for other O/S look for '/tmp/debug.log'. The file should contain information about what is going wrong. You might need to set XOT_DEBUG_LOGFILE to 'c:\debug.log' in the config.php file in order to get the debug file created.
Note: In my case (Linux) the tmp/debug.log is not created for some reason. I suspect this is another PHP/Apache permissions thing. I set the file location to the Xerte import directory and it created it there with no problem. For Windows users I suspect the c:\debug.log may not exist. The config.php file sets XOT_DEBUG_LOGFILE to /tmp/debug.log. But when '_debug' is called, the functions.php file sets the debug log file location to c:\debug.log then overwrites that with the value of XOT_DEBUG_LOGFILE. I'm not sure how PHP or Windows will handle '/tmp/debug.log', but I would not be surprised if the file was not created.
John.