Mort-lemur Posted May 7, 2010 Share Posted May 7, 2010 Hi, When I run the error reporting and debugging contribution, I get a string of errors like this: Error: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for 'BST/1.0/DST' insteadFile: includes/classes/seo.class.php Line: 2359 The same error is reported several times on different lines of different files. Is this something I can fix or does it need to be done at server level? Thanks Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members. Link to comment Share on other sites More sharing options...
MrPhil Posted May 7, 2010 Share Posted May 7, 2010 You running PHP 5.3 or thereabouts? Try adding the following to near the top of the application_top.php files: date_default_timezone_set('Europe/London'); and see if the messages go away. Link to comment Share on other sites More sharing options...
Mort-lemur Posted May 7, 2010 Author Share Posted May 7, 2010 You running PHP 5.3 or thereabouts? Try adding the following to near the top of the application_top.php files: date_default_timezone_set('Europe/London'); and see if the messages go away. Brilliant ! Wiped out 7 errors all in one go! Thank you so much. Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members. Link to comment Share on other sites More sharing options...
Mort-lemur Posted May 7, 2010 Author Share Posted May 7, 2010 My next set of errors are a set of "Already Defined errors" such as these: Error: Constant CATEGORIES_IMAGES_BOX already definedFile: includes/application_top.php Line: 100 Error: Constant CATEGORIES_IMAGES_BOX_SHOW_IMAGE already defined File: includes/application_top.php Line: 100 Error: Constant CATEGORIES_IMAGES_BOX_SHOW_NAME already defined File: includes/application_top.php Line: 100 Error: Constant CATEGORIES_IMAGES_BOX_SHOW_DESCRIPTION already defined File: includes/application_top.php Line: 100 Error: Constant CATEGORIES_IMAGES_BOX_STYLE already defined File: includes/application_top.php Line: 100 Error: Constant CATEGORIES_IMAGES_BOX_COLUMNS already defined File: includes/application_top.php Line: 100 Error: Constant CATEGORIES_IMAGES_BOX_FRAME_STYLE already defined File: includes/application_top.php Line: 100 Error: Constant MODULE_SHIPPING_MZMT_NUMBER_GEOZONES already defined File: includes/application_top.php Line: 100 Error: Constant MODULE_SHIPPING_MZMT_NUMBER_TABLES already defined File: includes/application_top.php Line: 100 How can I rid myself from these? Many Thanks Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members. Link to comment Share on other sites More sharing options...
MrPhil Posted May 7, 2010 Share Posted May 7, 2010 Find the file(s) where those are defined: define('CATEGORIES_IMAGES_BOX','some kind of text'); You either have them being defined in two different files, or you have the same file being included or required twice. Link to comment Share on other sites More sharing options...
♥kymation Posted May 8, 2010 Share Posted May 8, 2010 The CATEGORIES_IMAGES_BOX_* defines are in the configuration database table. Regards Jim See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Mort-lemur Posted May 8, 2010 Author Share Posted May 8, 2010 Hi, Thanks Guys. I found the duplicates in the database and deleted them. Errors are now gone. I'll post some other errors soon if I cant get rid of them. Thanks Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.