Tuesday, March 23, 2010

php timezone error throws in drupal 7

Problem:

php timezone error throws in drupal 7

Fix:

Added the following line of code to .htaccess file in drupal directory after allowing overrides in httpd.conf

php_value date.timezone Europe/London

Fixed!

Would you like to know more?...

403 forbidden error fix.

Problem:

Gettng a 403 error whilst accessesing a new directory/application

I messed around with .htaccess and all the conf files for 4 hours. NOT IT.

Solution: Apache needs to be the owner, so it can do edits and access.

As root
%: chmod 755 -R //
%: chown apached /

From a browser access http://localhost/drupal

Now it works.

Damn it.

Would you like to know more?...