Вход

Отправить сообщение

Вы можете оставить сообщение, используя расположенную ниже форму контактов.
КАПЧА
Этот вопрос задается для того, чтобы выяснить, являетесь ли Вы человеком или представляете из себя автоматическую спам-рассылку.
CAPTCHA на основе изображений
Введите символы, которые показаны на картинке.

Error installing Drupal function ereg () is deprecated in file.inc

Скрыть все описания
Описание ошибки: 

The error occurs when you install Drupal: function ereg () is deprecated in \includes\file.inc

This error stems from the fact that in php 5.3.0 the function ereg () deprecated.

There are two quick solution to this problem:

1. Go to an earlier version of PHP (this can be done through the hosting control panel, or writing a letter asking to move to a more earlier version of PHP allows a service to your hosting company)

2. Edit the source file in Drupal. To do this, open the file in the editor /includes/file.inc and find there the following line

<?php
elseif ($depth >= $min_depth && ereg($mask, $file)) {
?>

And replace it with the following:

<?php
elseif ($depth >= $min_depth && mb_ereg($mask, $file)) {
?>