Chive – Internal Server Error Problem

Every webmaster knows the free PHP tool for the administration of MySQL databases phpMyAdmin, where one can do all important operations in its MySQL databases via browser. This is more likely to be developed in a easy manner and its surface is still based on a frameset.

Many webmasters are not familiar and so there are various alternatives, which are however often only developed and supported for a short time. A new competitor in this environment is Chive, which is based on the web2.0 Framework yii and offers a modern interface. The tool has been released on December 23, 2011 in the version 1.0.1, reason enough.

After unpacking the package onto the server, it can be started directly without a large configuration, you call the index.php and you should get an input mask, into which you can enter its database details. I was directly greeted by the following error message:

Internal Server Error
Strtotime () [<a href=’function.strtotime’> function.strtotime </a>]: 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 use any of these methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘Europe / Berlin’ for ‘CET / 1.0 / no DST’ instead

This is caused by Chive, if no time zone is defined in php.ini. If you have access to php.ini, you can simply add this option with the following line:
1

Date.timezone = “UTC”

Instead of “UTC” you can also use any time zone, for example “Europe / Berlin”. An overview can be found at php.net. Then you just have to restart the PHP instance and Chive should work fine.

Chive has apparently solved the problem already in earlier versions and in the index.php there is a fallback, which however does not always seem to work and triggers an error even with Chive 1.0.1.

If you do not have access to the php.ini, because you have a simple web hosting package at a cheap provider like me at speicheranbieter.de, you can also create the .htaccess remedy and add the following line:

1

SetEnv TZ UTC

Instead of UTC you can also use any time zone here. The .htaccess you only have to save and Chive should work without restarting the PHP instance.

Alternatively you can edit the index.php and if possible add the following line at the beginning of the file:

1

Date_default_timezone_set (“UTC”);

Again, of course, any valid time zone can be used. It should be noted with both codechanges in the files, that these are overwritten with an update to a new version and possibly have to be carried out again.

If someone can not understand, please comment, I try as best I can to help.

Read More Post

STAY CONNECTED

Most Popular

Manifesting Your Dream Career: Finding Your Passion And Purpose
01 Aug

Manifesting Your Dream Career: Finding Your Passion And Purpose

Are you passionate about finding your dream career? Manifesting can help you align your career with your passions and purpose.

Revolutionizing Your Ride: Expert Auto Service At Carolina Auto Service
27 Feb

Revolutionizing Your Ride: Expert Auto Service At Carolina Auto Service

Finding a reliable auto service provider is paramount in the bustling world of vehicle maintenance and repair. That's where Carolina

Floratam: The Robust Grass Solution From Council Growers SOD
25 Jan

Floratam: The Robust Grass Solution From Council Growers SOD

Floratam grass, a popular St. Augustine variety, has become a go-to choice for homeowners and landscapers seeking a lush, durable

Carolina Mobile Autoservice: Your Go-To For Expert Brake Service Repair
25 Jan

Carolina Mobile Autoservice: Your Go-To For Expert Brake Service Repair

For vehicle owners, the braking system is among the most critical components for safety and performance. Carolina Mobile Autoservice, a

Safeguarding Your Property: Expert Water Damage Services By MBC Capital
24 Jan

Safeguarding Your Property: Expert Water Damage Services By MBC Capital

Water damage can significantly impact homes and businesses, often leaving a trail of destruction and disruption in its wake. Understanding

Revanesse Lip Filler: The Secret To A Perfect Pout – Discover America’s New Favorite At Beauty From Ashes Aesthetics
19 Jan

Revanesse Lip Filler: The Secret To A Perfect Pout – Discover America’s New Favorite At Beauty From Ashes Aesthetics

In the ever-evolving world of cosmetic enhancements, there's a constant quest for the next big thing. The latest darling in