Tuesday, April 30, 2013

Drupal 7 - AJAX error occured during the View edit

I moved site from development server on live server and i want to change the View, but AJAX error "An AJAX HTTP request terminated abnormally." occured and disable me to change the Page View and also Block view.

I found solution - i had turned the redirection with the .htaccess on URL without the "www" and this made this trouble. If you have the same AJAX problem - just disable redirection (at least for a while), than you can make a changes again.

Monday, April 22, 2013

Drupal 7 a webhosting na Wedosu

Při instalaci Drupalu 7 na portále Wedos.CZ  jsem narazil na nefukčnost s defaultním souborem .htaccess . Jako znalý SEO problematiky jsem ale chtěl, aby se mi zobrazovaly "Čistá URL / Clean URLs ", která jsou přívětivá především pro uživatele, ale jsou přínosem samozřejmě i pro zlepšení ranku.

Pomoc je vcelku jednoduchá, otevřete si soubor .htaccess a na řádku 14. přidejte znak # , tím řádek zakomentujete a výsledkem bude "#Options +FollowSymLinks"


Wednesday, April 3, 2013

Drupal 7 - PDO / PHP 5.2.5 required

With the new version of Drupal 7.20 there is requirement for php5.3 and it shout on you error message:


PDO is required!

Drupal 7 requires PHP 5.2.4 or higher with the PHP Data Objects (PDO) extension enabled.
See the system requirements page for more information.

The solution is quick and easy. You have to open .htaccess and put there new directive:

AddHandler application/x-httpd-php53 .php .php5 .php4 .php3

That is all you have to do.