PDA

View Full Version : после импорта на сервер вылетает ошибка


tkd34
04.05.2009, 19:25
Warning: include(language/lang-.php) [function.include]: failed to open stream: No such file or directory in /home/silape/public_html/mainfile.php on line 209

Warning: include() [function.include]: Failed opening 'language/lang-.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/silape/public_html/mainfile.php on line 209

Warning: include_once(themes//theme.php) [function.include-once]: failed to open stream: No such file or directory in /home/silape/public_html/mainfile.php on line 858
Создаю БД, пользователя, кидаю на ФТП. Ставлю режим показа ошибок..И вот:


Warning: include_once() [function.include]: Failed opening 'themes//theme.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/silape/public_html/mainfile.php on line 858

Warning: include_once(themes//theme.php) [function.include-once]: failed to open stream: No such file or directory in /home/silape/public_html/mainfile.php on line 1095

Warning: include_once() [function.include]: Failed opening 'themes//theme.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/silape/public_html/mainfile.php on line 1095

Warning: include_once(themes//theme.php) [function.include-once]: failed to open stream: No such file or directory in /home/silape/public_html/header.php on line 32

Warning: include_once() [function.include]: Failed opening 'themes//theme.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/silape/public_html/header.php on line 32

Fatal error: Call to undefined function themeheader() in /home/silape/public_html/header.php on line 52

На localhostе все тип-топ. Ни одной ошибки. Пытался перезалить и все файлы, и те на которые она ругается - бестолку????
ПыСы: это может быть конфиг????

Soniks
05.05.2009, 22:57
скорее всего проблема с базой данной или не правильно указан префикс таблиц в конфиге

blondex
04.01.2010, 17:58
У меня тоже ошибка, когда импортирую базы phpnuke, phpmyadmin ругается:


Ошибка

Кажется возникла ошибка в Вашем SQL запросе. Описание ошибки от MySQL сервера дано ниже, возможно, оно поможет Вам разобраться

ERROR: Незакрытая кавычка @ 125
STR: '
SQL:

#
# Volcar la base de datos para la tabla `nuke_cities`
#

INSERT INTO nuke_cities VALUES (1, 1, 'As�d�b�d', 'af', 'Afghanistan');


SQL-запрос:

# # Volcar la base de datos para la tabla `nuke_cities` # INSERT INTO nuke_cities VALUES (1, 1, 'As�d�b�d', 'af', 'Afghanistan');

Ответ MySQL: Документация
#1366 - Incorrect string value: '\xE2d\xE2b\xE2d' for column 'city' at row 1



Но базы импортирует. Аж 37 штук.
Помогите

Soniks
04.01.2010, 20:08
blondex, какую версию системы вы пытаетесь установить?

blondex
05.01.2010, 10:17
Устанавливаю Nuke 7.9

mysql 5.0.45
phpmyadmin 2.9
php 5.2.10
apache 2.2

Soniks
05.01.2010, 13:39
скачайте лучше последнию рускую версию http://rus-phpnuke.com/modules.php?name=Files&go=view_file&lid=961 там имеется установщик, который сам произведет импорт базы данных.

blondex
05.01.2010, 14:41
не нашла там установщик. скачалась папка с файлами...

Soniks
05.01.2010, 14:49
необходимо загрузить файлы из папки html на сервер, а затем вызвать инсталятор: http://ваш_сайт/install/install.php

blondex
05.01.2010, 14:50
туплю, запустила. все равно не импортирует:
похоже имеются ошибки в вашей базе данных!
вы не можете продолжать.

blondex
05.01.2010, 16:37
Слава Аллаху, установила. Удалось, только когда изменила кодировку базы на latin1.