drupal

Drupal Internal Server Error with +FollowSymLinks no allowed

You may set .htaccess: Option FollowSymLinks not allowed here in error log.  Just change it like this:

Options +SymLinksIfOwnerMatch

You should have more than one .htaccess file under the following directories:

  1. document root
  2. private file directory
  3. public file directory

Change all please.

Drupal status report PHP warning _system_sort_requirements

When you migrate your drupal 7.15 website with a new IP or new domain name, this php warning may come in Status Report.  The Array item has ! and no further information.

strcmp() expects parameter 2 to be string, array given in _system_sort_requirements

The reason may be in self detect problem.  The drupal validation call itself with the same domain name and failed.  Just add the domain name to /etc/hosts with IP address 127.0.0.1 and re-run.

 

 

Tags: 

SVN forbidden to commit .project

If you have a configuration of svn side by side with a Drupal installation, you will feel headaches with some forbidden error.  The forbidden error is not really you don't have to rights.  It is because  of a rewriting rule in drupal .htaccess file:

  RewriteRule "(^|/)\." - [F]

This rule is the devil.  It generates a forbidden error back to the svn client for any access of a dot-begin file like .project.   You can add one line in front to solve it (suppose your svn parent is /svn):

Avoid some pages use jQuery update 1.7

Here is a temporary module that shows you how to filter some pages that do not support jQuery 1.7.

When using Twitter Bootstrap or any other module that MUST have a jQuery 1.7, you may find that some existing modules doesn't work proper such as views module and content types management.

Install this module and specify the url that needed to fallback to 1.5 in jQuery Update administrative page.

Pages

Subscribe to RSS - drupal