Варианты решения Ваших вопросов

  хостинг
<< Назад       нет модуля PHP

Вопрос: пропал модуль DBD/XBase.pm выходит ошибка: Can't locate DBD/XBase.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at import.pl line 24. BEGIN failed--compilation aborted at import.pl line 24. помогите, пожалуйста
Ответ:

Здравствуйте. запрос передан администраору сервера

Вопрос: хорошо. появилась еще проблема: Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EET/2.0/no DST' instead in /home/ozonelab/public_html/impulsi.ru/recycle_.php on line 194 время на сервере не неверное или что?
Вопрос: c последним вопросом сами разобрались.ждем установки модуля Xbase
Ответ:

все доступные php модули вы можете увидеть и установить в меню панели Выбрать PHP версию.

Вопрос: но там нет модуля DBD-Xbase что делать в таком случае?
Ответ:

приведите адрес страницы где вы видите ошибку

Вопрос: прошу прощения..но этомодуль не PHP а Perl. Всписке доступных модулей он есть. Я попытался его установить, но при установке выдается ошибка: Установка "DBD::XBase" Perl Module Testing connection speed...(using fast method)...Done Ping:1 (ticks) Testing connection speed to mirror.netcologne.de using pureperl...(cached .. 56400.00 bytes/s)...Done Ping:0 (ticks) Testing connection speed to cpan.makeperl.org using pureperl...(cached .. 30900.00 bytes/s)...Done Ping:1 (ticks) Testing connection speed to ftp-stud.hs-esslingen.de using pureperl...(cached .. 29900.00 bytes/s)...Done Ping:0 (ticks) Testing connection speed to cpan.hexten.net using pureperl...(cached .. 28300.00 bytes/s)...Done Ping:1 (ticks) Testing connection speed to distrib-coffee.ipsl.jussieu.fr using pureperl...(cached .. 20700.00 bytes/s)...Done Five usable mirrors located Ping:8 (ticks) Testing connection speed to 208.74.125.42 using pureperl...(using cached speed)...Done Ping:9 (ticks) Testing connection speed to 66.23.237.210 using pureperl...(using cached speed)...Done Ping:10 (ticks) Testing connection speed to 69.72.212.11 using pureperl...(using cached speed)...Done Three usable fallback mirrors located Mirror Check passed for mirror.netcologne.de (/index.html) Checking C compiler....Could not locate an executable "gcc" binary....Done ** Unrecoverable Error ** The C compiler is not functional and auto repair failed. Perl module installs require a working C compiler. Please repair the C compiler and try again. ************************** можете помочь?
Вопрос: скрипт который запускается вот: http://impulsi.ru/admin/cgi-bin/import.pl
Ответ:

модуль DBD::XBase    1.05    XBase (.dbf) driver for DBI установлен

Вопрос: но его нет в списке установленных модулей? И ошибка осталась. Дописывал в скрипт #!/usr/bin/perl use cPanelUserConfig; or #!/usr/bin/perlml НЕ ПОМОГЛО. Ошибка: Can't locate DBD/XBase.pm in @INC (@INC contains: /home/ozonelab/perl5/lib/perl5 /home/ozonelab/perl5/lib/perl5/x86_64-linux-thread-multi /home/ozonelab/perl/usr/local/lib64/perl5 /home/ozonelab/perl/usr/local/share/perl5 /home/ozonelab/perl/usr/lib64/perl5/vendor_perl /home/ozonelab/perl/usr/share/perl5/vendor_perl /home/ozonelab/perl/usr/lib64/perl5 /home/ozonelab/perl/usr/share/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at import.pl line 26. BEGIN failed--compilation aborted at import.pl line 26.
Ответ:

проблема проверяется

Ответ:

Testing connection speed...(using fast method)...Done
Ping:1 (ticks) Testing connection speed to mirror.netcologne.de using pureperl...(cached .. 56400.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to cpan.makeperl.org using pureperl...(cached .. 30900.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to ftp-stud.hs-esslingen.de using pureperl...(cached .. 29900.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to cpan.hexten.net using pureperl...(cached .. 28300.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to distrib-coffee.ipsl.jussieu.fr using pureperl...(cached .. 20700.00 bytes/s)...Done
Five usable mirrors located
Ping:8 (ticks) Testing connection speed to 208.74.125.42 using pureperl...(using cached speed)...Done
Ping:9 (ticks) Testing connection speed to 66.23.237.210 using pureperl...(using cached speed)...Done
Ping:10 (ticks) Testing connection speed to 69.72.212.11 using pureperl...(using cached speed)...Done
Three usable fallback mirrors located
Mirror Check passed for mirror.netcologne.de (/index.html)
Checking C compiler....C compiler (/usr/bin/gcc) OK (cached Fri Jan 17 10:56:08 2014)
Tuned C compiler not available because it is not enabled....Done
Method: Using Perl Expect, Installer: cpanm
cpanm (App::cpanminus) 1.6916 on perl 5.010001 built for x86_64-linux-thread-multi
Work directory is /home/ozonelab/.cpanm/work/1389952040.445874
You have make /usr/bin/make
Falling back to HTTP::Tiny 0.029
You have /bin/tar: tar (GNU tar) 1.23
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
You have Cpanel::HttpRequest 2.1
Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.84)
Checking if you have ExtUtils::Install 1.46 ... Yes (1.54)
Testing connection speed...(using fast method)...Done
Ping:1 (ticks) Testing connection speed to mirror.netcologne.de using pureperl...(cached .. 56400.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to cpan.makeperl.org using pureperl...(cached .. 30900.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to ftp-stud.hs-esslingen.de using pureperl...(cached .. 29900.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to cpan.hexten.net using pureperl...(cached .. 28300.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to distrib-coffee.ipsl.jussieu.fr using pureperl...(cached .. 20700.00 bytes/s)...Done
Five usable mirrors located
Ping:8 (ticks) Testing connection speed to 208.74.125.42 using pureperl...(using cached speed)...Done
Ping:9 (ticks) Testing connection speed to 66.23.237.210 using pureperl...(using cached speed)...Done
Ping:10 (ticks) Testing connection speed to 69.72.212.11 using pureperl...(using cached speed)...Done
Three usable fallback mirrors located
Fetching http://mirror.netcologne.de/cpan/index.html (connected:0).......(request attempt 1/12)...Resolving mirror.netcologne.de...(resolve attempt 1/65)......connecting to 194.8.197.22...@194.8.197.22......connected......receiving...100%......request success......Done
Mirror Check passed for mirror.netcologne.de (/index.html)
Searching on cpanmetadb ...
Fetching http://cpanmetadb.cpanel.net/v1.0/package/DBD::XBase (connected:0).......(request attempt 1/12)...Using dns cache file /home/ozonelab/.HttpRequest/cpanmetadb.cpanel.net......searching for mirrors (mirror search attempt 1/3)......5 usable mirrors located. (less then expected)......mirror search success......connecting to 208.74.125.51...@208.74.125.51......connected......receiving...100%......request success......Done
Searching DBD::XBase on cpanmetadb (http://cpanmetadb.cpanel.net/v1.0/package/DBD::XBase) ...
Fetching http://cpanmetadb.cpanel.net/v1.0/package/DBD::XBase (connected:1).......(request attempt 1/12)...@208.74.125.51......connected......receiving...100%......request success......Done
Source: fastest CPAN mirror ... DBD::XBase is up to date. (1.05)

Вопрос: спасибо.. С этим решилось.. Но вот еще один обнаружился :( DBD::mysql тоже есть в списке доступных и тоже не устанавливается
Ответ:

Как вы проверяете? Модуль подключен в сПанели.

Вопрос: запускаю скрипт который использует этот модуль. он возвращает ошибку: install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /home/ozonelab/perl5/lib/perl5 /home/ozonelab/perl5/lib/perl5/x86_64-linux-thread-multi /home/ozonelab/perl/usr/local/lib64/perl5 /home/ozonelab/perl/usr/local/share/perl5 /home/ozonelab/perl/usr/lib64/perl5/vendor_perl /home/ozonelab/perl/usr/share/perl5/vendor_perl /home/ozonelab/perl/usr/lib64/perl5 /home/ozonelab/perl/usr/share/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at (eval 23) line 3. Perhaps the DBD::mysql perl module hasn't been fully installed, or perhaps the capitalisation of 'mysql' isn't right. Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge, XBase. at import.pl line 166
Вопрос: запускаю скрипт. он отдает ошибку: install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /home/ozonelab/perl5/lib/perl5 /home/ozonelab/perl5/lib/perl5/x86_64-linux-thread-multi /home/ozonelab/perl/usr/local/lib64/perl5 /home/ozonelab/perl/usr/local/share/perl5 /home/ozonelab/perl/usr/lib64/perl5/vendor_perl /home/ozonelab/perl/usr/share/perl5/vendor_perl /home/ozonelab/perl/usr/lib64/perl5 /home/ozonelab/perl/usr/share/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at (eval 23) line 3. Perhaps the DBD::mysql perl module hasn't been fully installed, or perhaps the capitalisation of 'mysql' isn't right. Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge, XBase. at import.pl line 166
Ответ:

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

 

Вопрос: http://impulsi.ru/admin/cgi-bin/import.pl
Ответ:

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

Ответ:

Здравствуйте. Разработчики занимаются проблемой. Ожидаем положительного ответа

Вопрос: очень надеюсь.
Ответ:

модуль установлен

Testing connection speed...(using fast method)...Done
Ping:0 (ticks) Testing connection speed to cpan.makeperl.org using pureperl...(cached .. 61800.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to cpan.hexten.net using pureperl...(cached .. 56600.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to ftp-stud.hs-esslingen.de using pureperl...(cached .. 29900.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to distrib-coffee.ipsl.jussieu.fr using pureperl...(cached .. 20733.33 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to mirror.netcologne.de using pureperl...(cached .. 18800.00 bytes/s)...Done
Five usable mirrors located
Ping:8 (ticks) Testing connection speed to 208.74.125.42 using pureperl...(using cached speed)...Done
Ping:9 (ticks) Testing connection speed to 66.23.237.210 using pureperl...(using cached speed)...Done
Ping:10 (ticks) Testing connection speed to 69.72.212.11 using pureperl...(using cached speed)...Done
Three usable fallback mirrors located
Mirror Check passed for cpan.makeperl.org (/index.html)
Checking C compiler....C compiler (/usr/bin/gcc) OK
Tuned C compiler not available because it is not enabled....Done
Method: Using Perl Expect, Installer: cpanm
cpanm (App::cpanminus) 1.6916 on perl 5.010001 built for x86_64-linux-thread-multi
Work directory is /home/ozonelab/.cpanm/work/1390047983.501100
You have make /usr/bin/make
Falling back to HTTP::Tiny 0.029
You have /bin/tar: tar (GNU tar) 1.23
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
You have Cpanel::HttpRequest 2.1
Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.84)
Checking if you have ExtUtils::Install 1.46 ... Yes (1.54)
Testing connection speed...(using fast method)...Done
Ping:0 (ticks) Testing connection speed to cpan.makeperl.org using pureperl...(cached .. 61800.00 bytes/s)...Done
Ping:0 (ticks) Testing connection speed to cpan.hexten.net using pureperl...(cached .. 56600.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to ftp-stud.hs-esslingen.de using pureperl...(cached .. 29900.00 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to distrib-coffee.ipsl.jussieu.fr using pureperl...(cached .. 20733.33 bytes/s)...Done
Ping:1 (ticks) Testing connection speed to mirror.netcologne.de using pureperl...(cached .. 18800.00 bytes/s)...Done
Five usable mirrors located
Ping:8 (ticks) Testing connection speed to 208.74.125.42 using pureperl...(using cached speed)...Done
Ping:9 (ticks) Testing connection speed to 66.23.237.210 using pureperl...(using cached speed)...Done
Ping:10 (ticks) Testing connection speed to 69.72.212.11 using pureperl...(using cached speed)...Done
Three usable fallback mirrors located
Fetching http://cpan.makeperl.org/index.html (connected:0).......(request attempt 1/12)...Resolving cpan.makeperl.org...(resolve attempt 1/65)......connecting to 5.9.39.101...@5.9.39.101......connected......receiving...100%......request success......Done
Mirror Check passed for cpan.makeperl.org (/index.html)
Searching on cpanmetadb ...
Fetching http://cpanmetadb.cpanel.net/v1.0/package/DBD::mysql (connected:0).......(request attempt 1/12)...Using dns cache file /home/ozonelab/.HttpRequest/cpanmetadb.cpanel.net......searching for mirrors (mirror search attempt 1/3)......5 usable mirrors located. (less then expected)......mirror search success......connecting to 208.74.125.51...@208.74.125.51......connected......receiving...100%......request success......Done
Searching DBD::mysql on cpanmetadb (http://cpanmetadb.cpanel.net/v1.0/package/DBD::mysql) ...
Fetching http://cpanmetadb.cpanel.net/v1.0/package/DBD::mysql (connected:1).......(request attempt 1/12)...@208.74.125.51......connected......receiving...100%......request success......Done
Source: fastest CPAN mirror ... DBD::mysql is up to date. (4.026)

Ответ:

по вашей ссылке примеру мы видим

Разархивирование данных из источника tov.zip
Archive: tov.zip inflating: MAIL_11.DBF Разархивирование произведено успешно.
Разархивирование данных завершено.
Установлено соединение с плоскими таблицами DBF
Установлено соединение с БД MySQL
Очистка таблицы товаров
Загрузка данных о ТОВАРАХ
Количество записей о товарах составляет: 46436


Обрабатываются данные



При загрузке товаров были пропущены к добавлению следующие записи:


Загрузка и обработка каталога товаров успешно завершены.
Обработано 46436 записей. Добавлено: 46436 товаров .

Формируется меню каталога
Формируется меню каталога завершено


<< Назад