LinuxForum.Fans
Тема

Переход с IIS на Centos

Автор: milienko 63 сообщений 6627 просмотров В конец обсуждения ↓
#395482

упс
chown

#395483

[root@localhost ~]# chown -R apache:apache /var/www/htm
chown: cannot access `/var/www/htm': No such file or directory
[root@localhost ~]#

#395484

/var/www/html а не /var/www/htm

#395485

[root@localhost ~]# chown -R apache:apache /var/www/html
Прошло



Боюсь накосячить решил спросить:
Ошибка
[Tue Oct 07 22:15:16 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 22:15:16 2014] [notice] Digest: done

Читаю, что это лечит.
rngd -r /dev/urandom -o /dev/random
Стоит? или нет?

#395486

САйт отобразился, криво косо, без картинок в эроглифах, но открылся.

Сверху ошибки
Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20

Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89

Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35

Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25

#395487
milienko написал:


Боюсь накосячить решил спросить:
Ошибка
[Tue Oct 07 22:15:16 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 22:15:16 2014] [notice] Digest: done

Читаю, что это лечит.
rngd -r /dev/urandom -o /dev/random
Стоит? или нет?

Да это какое-то информационное сообщение, его можно игнорировать. У него даже статус notice.

Интересует, пропали ли в логах ошибки вида:
Permission denied

Очистите лог, подключитесь к серверу, поделитесь свежими логами.

#395488

[Tue Oct 07 22:47:55 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 07 22:47:55 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 22:47:55 2014] [notice] Digest: done
[Tue Oct 07 22:47:55 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.33 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations

#395489

О ни одной ошибки.
Если не хотите сообщений на экране об ошибках, удалите файл .htaccess

#395490

.htaccess - удалился сам. Такое возможно?

#395491

[Tue Oct 07 22:58:18 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20
[Tue Oct 07 22:58:18 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89
[Tue Oct 07 22:58:18 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35
[Tue Oct 07 22:58:18 2014] [error] [client 10.0.1.113] PHP Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25

#395492

[Tue Oct 07 22:59:37 2014] [error] [client 10.0.1.113] File does not exist: /var/www/html/video, referer: http://10.0.1.113/index.php
[Tue Oct 07 23:02:19 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20, referer: http://10.0.1.113/index.php
[Tue Oct 07 23:02:19 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89, referer: http://10.0.1.113/index.php
[Tue Oct 07 23:02:19 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35, referer: http://10.0.1.113/index.php
[Tue Oct 07 23:02:19 2014] [error] [client 10.0.1.113] PHP Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25, referer: http://10.0.1.113/index.php
[Tue Oct 07 23:02:19 2014] [error] [client 10.0.1.113] File does not exist: /var/www/html/data, referer: http://10.0.1.113/news.php

#395493

Ошибки уже не с сервером с а кодом сайта.
При желании их можно скрыть, если они некритические, но обычно лучше их исправить.

Я думал, что ошибки выводятся из-за содержимого в файле .htaccess, где явно прописывается их выводить на экран.
Сам он не мог удалиться.

Настроить уровень вывода сообщений можно также в файле php.ini.

#395495

Подскажешь, где почитать про настройку php под Centos? Страно, что в коде дело, на IIS все сейчас работает и вроде даже не скачет. Код один в один, кроме конфига:

Был такой:
<?php
error_reporting(E_ALL & ~E_NOTICE);
ini_set('display_errors','1');
setlocale(LC_ALL, "RU");
$cfg_global['db']['type'] = 'mysql';
$cfg_global['db']['login'] = 'u28950_it';
$cfg_global['db']['password'] = '';
$cfg_global['db']['host'] = 'u28950.mysql.masterhost.ru';
$cfg_global['db']['database'] = 'u28950_videoserv';
$path_site = "/home/u28950/videoserv.ru/www/";
require_once $path_site . 'DbSimple/Generic.php';
//require_once $path_site . 'www/class/Usersession.php';
require_once $path_site . 'Smarty/Smarty.class.php';
?>

Стал такой:
<?php
error_reporting(E_ALL & ~E_NOTICE);
ini_set('display_errors','1');
setlocale(LC_ALL, "RU");
date_default_timezone_set('UTC');
$cfg_global['db']['type'] = 'mysql';
$cfg_global['db']['login'] = 'root';
$cfg_global['db']['password'] = '';
$cfg_global['db']['host'] = 'localhost';
$cfg_global['db']['database'] = 'video';
$path_site = "/var/www/html/";
require_once $path_site . 'DbSimple/Generic.php';
require_once $path_site . 'Smarty/Smarty.class.php';
?>

Может чего то не хватает? Какой ни будь библиотеки? Как выяснить?

#395496

Блин, удалил бд что бы загрузит её в нужной кодировке, а теперь не получается импортировать. Попробую через ребут.

#395497
"milienko" написал:
Страно, что в коде дело, на IIS все сейчас работает и вроде даже не скачет. Код один в один, кроме конфига:

Ну вы же видите в сообщении об ошибке:

"milienko" написал:
[Tue Oct 07 23:02:19 2014] [error] [client 10.0.1.113] PHP Warning:  Creating default object from empty value in /var/www/html/class/RootAction.php on line 25, referer: http://10.0.1.113/index.php
[Tue Oct 07 23:02:19 2014] [error] [client 10.0.1.113] File does not exist: /var/www/html/data, referer: http://10.0.1.113/news.php

воспользуйтесь online переводчиком, если не знаете как это переводится.

#395498

может кто знает, почему перестал работать импорт базы муйэскль?

#395499
milienko написал:
Подскажешь, где почитать про настройку php под Centos? Страно, что в коде дело, на IIS все сейчас работает и вроде даже не скачет.

А какая версия php использовалась ранее?
Какая сейчас?

Думаю дело в этом.

#395500
Показать
[Tue Oct 07 23:06:52 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20, referer: http://10.0.1.113/index.php
[Tue Oct 07 23:06:52 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89, referer: http://10.0.1.113/index.php
[Tue Oct 07 23:06:52 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35, referer: http://10.0.1.113/index.php
[Tue Oct 07 23:06:52 2014] [error] [client 10.0.1.113] PHP Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25, referer: http://10.0.1.113/index.php
[Tue Oct 07 23:08:23 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:23 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:23 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:23 2014] [error] [client 10.0.1.113] PHP Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:23 2014] [error] [client 10.0.1.113] File does not exist: /var/www/html/data, referer: http://10.0.1.113/
[Tue Oct 07 23:08:25 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:25 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:25 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:25 2014] [error] [client 10.0.1.113] PHP Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:25 2014] [error] [client 10.0.1.113] File does not exist: /var/www/html/data, referer: http://10.0.1.113/
[Tue Oct 07 23:08:26 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:26 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:26 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:26 2014] [error] [client 10.0.1.113] PHP Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:26 2014] [error] [client 10.0.1.113] File does not exist: /var/www/html/data, referer: http://10.0.1.113/
[Tue Oct 07 23:08:28 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:28 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:28 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:28 2014] [error] [client 10.0.1.113] PHP Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25, referer: Переход с IIS на Centos
[Tue Oct 07 23:08:28 2014] [error] [client 10.0.1.113] File does not exist: /var/www/html/data, referer: http://10.0.1.113/
[Tue Oct 07 23:21:56 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20, referer: Переход с IIS на Centos
[Tue Oct 07 23:21:56 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89, referer: Переход с IIS на Centos
[Tue Oct 07 23:21:56 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35, referer: Переход с IIS на Centos
[Tue Oct 07 23:21:56 2014] [error] [client 10.0.1.113] PHP Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25, referer: Переход с IIS на Centos
[Tue Oct 07 23:21:56 2014] [error] [client 10.0.1.113] File does not exist: /var/www/html/data, referer: http://10.0.1.113/
[Tue Oct 07 23:22:00 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:00 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:00 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:00 2014] [error] [client 10.0.1.113] PHP Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:01 2014] [error] [client 10.0.1.113] File does not exist: /var/www/html/data, referer: http://10.0.1.113/
[Tue Oct 07 23:22:05 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:05 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:05 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:05 2014] [error] [client 10.0.1.113] PHP Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:05 2014] [error] [client 10.0.1.113] File does not exist: /var/www/html/data, referer: http://10.0.1.113/
[Tue Oct 07 23:22:05 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:05 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:05 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:05 2014] [error] [client 10.0.1.113] PHP Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:05 2014] [error] [client 10.0.1.113] File does not exist: /var/www/html/data, referer: http://10.0.1.113/
[Tue Oct 07 23:22:06 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:06 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:06 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:06 2014] [error] [client 10.0.1.113] PHP Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:06 2014] [error] [client 10.0.1.113] File does not exist: /var/www/html/data, referer: http://10.0.1.113/
[Tue Oct 07 23:22:06 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:06 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:06 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:06 2014] [error] [client 10.0.1.113] PHP Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25, referer: Переход с IIS на Centos
[Tue Oct 07 23:22:06 2014] [error] [client 10.0.1.113] File does not exist: /var/www/html/data, referer: http://10.0.1.113/
[Tue Oct 07 23:24:47 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20, referer: Переход с IIS на Centos
[Tue Oct 07 23:24:47 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89, referer: Переход с IIS на Centos
[Tue Oct 07 23:24:47 2014] [error] [client 10.0.1.113] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35, referer: Переход с IIS на Centos
[Tue Oct 07 23:24:47 2014] [error] [client 10.0.1.113] PHP Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25, referer: Переход с IIS на Centos
[Tue Oct 07 23:24:47 2014] [error] [client 10.0.1.113] File does not exist: /var/www/html/data, referer: http://10.0.1.113/
[Tue Oct 07 23:25:16 2014] [notice] caught SIGTERM, shutting down
[Tue Oct 07 23:25:16 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 07 23:25:17 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 23:25:17 2014] [notice] Digest: done
[Tue Oct 07 23:25:17 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.33 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Tue Oct 07 23:26:47 2014] [error] [client 10.0.1.103] File does not exist: /var/www/html/pma/pmadb, referer: http://10.0.1.113/pma/
[Tue Oct 07 23:26:53 2014] [error] [client 10.0.1.103] File does not exist: /var/www/html/pma/pmadb, referer: http://10.0.1.113/pma/
[Tue Oct 07 23:30:08 2014] [notice] caught SIGTERM, shutting down
[Tue Oct 07 23:30:45 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 07 23:30:45 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Oct 07 23:30:45 2014] [notice] Digest: done
[Tue Oct 07 23:30:45 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.4.33 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Tue Oct 07 23:31:08 2014] [error] [client 10.0.1.103] PHP Strict Standards: Non-static method DbSimple_Generic::connect() should not be called statically, assuming $this from incompatible context in /var/www/html/class/RootAction.php on line 20
[Tue Oct 07 23:31:08 2014] [error] [client 10.0.1.103] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Generic.php on line 89
[Tue Oct 07 23:31:08 2014] [error] [client 10.0.1.103] PHP Strict Standards: Non-static method DbSimple_Generic::parseDSN() should not be called statically, assuming $this from incompatible context in /var/www/html/DbSimple/Mysql.php on line 35
[Tue Oct 07 23:31:08 2014] [error] [client 10.0.1.103] PHP Warning: Creating default object from empty value in /var/www/html/class/RootAction.php on line 25
[Tue Oct 07 23:31:08 2014] [error] [client 10.0.1.103] File does not exist: /var/www/html/data, referer: http://10.0.1.113/index.php
#395501
milienko написал:
может кто знает, почему перестал работать импорт базы муйэскль?

Я так понимаю, что должны быть какие-нибудь сообщения. Если не на экране, то по крайней мере в логах.

#395502
"milienko" написал:
может кто знает, почему перестал работать импорт базы муйэскль?

Скорее всего, сейчас подключение к Mysql написано с использованием модуля mysql, в то время как сейчас в php рекомендуется использовать модуль mysqli, а mysql объявлен устаревшим и неподдерживаемым.

Так что ставьте либо точно такуюже версию PHP, что у вас в Windows, а в Windows, скорее всего у вас версия 5.3.*, ну либо переписывайте работу с Mysql через Mysqli.

http://php.net/manual/ru/book.mysqli.php

Войдите или зарегистрируйтесь, чтобы ответить.