Php 5.3.0 & TomatoCart (The online store stop working due to the wrong system’s timezone)

After upgrading webservers to new stable 5.3.0, tomatocart started to give following errors to every page:

[09-Aug-2012 10:09:53] PHP Warning: date() [function.date]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting 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 ‘Asia/Jerusalem’ for ‘IDT/3.0/DST’ instead in /home/gadgetsc/domains/gadgets-car.com/public_html/templates/glass_gray/index.php on line 281

Since PHP 5.1.0 (when the date/time functions were rewritten), every call to a date/time function will generate a E_NOTICE if the timezone isn’t valid, and/or a E_WARNING message if using the system settings or the TZ environment variable. Learn More

Tags: , , | Posted under TomatoCart | Leave a comment

mojoPortal Tips: How to Set Up Multiple Sites on a Single mojoPortal Installation on Arvixe VPS

A multi-site implementation of mojoPortal might make sense for any number of reasons; separate sites for multiple locations, child sites for different departments, or reduced maintenance overhead for a related group of sites. Thankfully, mojoPortal makes this an easy process, as does Arvixe. Let’s walk through the steps of creating multiple sites on a single Arvixe instance.

Today I’m going to set up a separate mojoPortal instance for my hardware specialist to have his own website. Since he’s more focused on hardware than software, it’ll be less overhead for me to manage it as a child site of the main mojoPortal instance, IndigoTea.com

First, I’ll log into the IndigoTea.com admin section; under Site Settings, I’ll click the “New Site” link. Learn More

Tags: , , , , , , , , , | Posted under MojoPortal | Leave a comment