Joomla: 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.

Try this it will help you,

Open libraries/joomla/utilities/date.php file

Replace

function __construct($date = ‘now’, $tzOffset = 0)
{
if ($date == ‘now’ || empty($date))
{
$this->_date = strtotime(gmdate(“M d Y H:i:s”, time()));
return;
}

with

function __construct($date = ‘now’, $tzOffset = 0)
{
date_default_timezone_set (“America/New_York”);
if ($date == ‘now’ || empty($date))
{
$this->_date = strtotime(gmdate(“M d Y H:i:s”, time()));
return;
}

Advertisements

Drupal Optimization

If you are hosting Drupal sites on your server, the following tips will help you to achieve better performance.

1. Uninstall modules which are not absolutely needed.

2. Remove unnecessary contents.

3. Install a PHP Accelerator (opcode cache)(i.e. eaccelerator, xcache, etc). This will require root access to your server. A PHP accelerator will usually cache frequently accessed files, and will greatly improve server performance. Check for compatibility issues before installing cache.

4. Analyse database queries, and look for slow queries. Create indexes for your Drupal database if required.

5. Install and configure memcached. Details can be found here: http://drupal.org/node/44220 .

6. Install advanced cache module, and apply requested patches.

7. In Drupal admin > settings > performance change the Caching Mode to Normal.

8. In Drupal admin > settings > performance change Aggregate and compress CSS files to Enabled.

9. Install and Configure QueryCache module.

10. Set HTTP headers cache options to optimal values.

11. Use Xdebug to find PHP code bottle necks and then optimize them.

Jetpack Plugin isn’t connecting

When you are trying to use Jetpack plugin on your wordpress site, if you get following error message please follow below steps for override this issue
“Error Details: The Jetpack server was unable to communicate with your site [HTTP 500]. Ask your web host if they allow connections from WordPress.com. If you need further assistance, contact Jetpack Support: http://jetpack.me/support/”

Solution:

1 Disable all the plugins expect Jetpack via your wp-admin. Then try to activate it.

2 Re-enable all plugins