Главная ›
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)) {
?>- Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии
- Русский
Новые пользователи
- Marat Farkhulin
Сейчас на сайте
Сейчас на сайте 0 пользователей и 2 гостя.
Поиск
Рабочий график
Обратная связь
Рабочие дни
с понедельника по пятницу
Рабочее время
с 10 до 18 по Московскому времени, GMT+3
Технический перерыв
с 13 до 14
