LiveInternetMail.ru
Форум русской поддержки Joomla!® CMS
26.05.2012, 23:11:22 *
Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.
Вам не пришло письмо с кодом активации?

Войти
   
   Начало   Поиск Joomla 1.7 FAQ Joomla 1.5 FAQ Joomla 1.0 FAQ Правила форума Новости Joomla Войти Регистрация Помощь  
Страниц: [1]   Вниз
  Добавить закладку  |  Печать  
Автор Тема: Ошибка при редактировании меню из админки на masterhost  (Прочитано 1702 раз)
0 Пользователей и 2 Гостей смотрят эту тему.
Wild Tiger
Давно я тут
****

Репутация: +17/-1
Offline Offline

Пол: Мужской
Сообщений: 375


Сайты только на Joostina


« : 01.12.2010, 03:16:46 »

Свежеустановленная с демо-контентом Joostina 1.3.0 stable 12:03:2010
Проблема в следующем: при попытке в админке зайти редактирование пунктов меню сайта (Меню - Mainmenu) выскакивает ошибка 404.
Существующие меню переименовать могу, а вот пункты этих меню редактировать и создавать не могу - ошибка 404.

Хостинг: Masterhost c PHP Version 5.3.3 MySQL version 5.1.50 (http://support.masterhost.ru/phpinfo53.php)

Что делал после обнаружения косяка (последовательно):
-переименован htaccess.txt в .htaccess
-в .htaccess прописана с полным путем и доступна на запись php_value session.save_path
-в .htaccess раскомментирована переменная php_value register_globals 0
-в .htaccess раскомментирована переменная php_value magic_quotes_gpc 1
-в .htaccess раскомментирована переменная Options +FollowSymLinks
Ошибку это не исправило.

Переустановка Joostina не помогает.
На другом хостинге все нормально работает, т.е. сборка нормальная.

лог-файл ошибок:
Код:
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::dataElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 169
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::endElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 162
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::startElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 159
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::dataElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 169
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::endElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 162
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::startElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 159
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::dataElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 169
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::endElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 162
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::startElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 159
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::dataElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 169
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::endElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 162
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::startElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 159
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::dataElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 169
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::endElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 162
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::startElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 159
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::endElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 162
[Wed Dec 1 01:51:15 2010] [error] PHP Warning: Parameter 1 to DOMIT_Lite_Parser::endElement() expected to be a reference, value given in /home/u274032/znt.ru/www/includes/domit/xml_saxy_shared.php on line 162
[Wed Dec 1 01:51:15 2010] [error] PHP Fatal error: Call to a member function getTagName() on a non-object in /home/u274032/znt.ru/www/administrator/components/com_menus/admin.menus.php on line 733
[Wed Dec 1 01:51:33 2010] [error] PHP Warning: date() [<a href='function.date'>function.date</a>]: 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/Moscow' for 'MSK/3.0/no DST' instead in /home/u274032/znt.ru/www/includes/joostina.php on line 21
[Wed Dec 1 01:51:33 2010] [error] PHP Warning: date() [<a href='function.date'>function.date</a>]: 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/Moscow' for 'MSK/3.0/no DST' instead in /home/u274032/znt.ru/www/includes/joostina.php on line 149
[Wed Dec 1 01:51:33 2010] [error] PHP Warning: mktime() [<a href='function.mktime'>function.mktime</a>]: 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/Moscow' for 'MSK/3.0/no DST' instead in /home/u274032/znt.ru/www/includes/joostina.php on line 3969
[Wed Dec 1 01:51:33 2010] [error] PHP Warning: strftime() [<a href='function.strftime'>function.strftime</a>]: 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/Moscow' for 'MSK/3.0/no DST' instead in /home/u274032/znt.ru/www/includes/joostina.php on line 3970

где собаке порыться?
Записан
boston
Moderator
*****

Репутация: +222/-3
Offline Offline

Пол: Мужской
Сообщений: 2699



« Ответ #1 : 07.12.2010, 01:15:08 »

1.3.0 stable не умеет 100% корректно работать на php 5.3.*
Воспользуйся версией 1.3.0.4
Записан
GapArchi
Осваиваюсь на форуме
***

Репутация: +4/-2
Offline Offline

Сообщений: 106



« Ответ #2 : 18.04.2012, 09:04:02 »

Столкнулся с этим в Joomla 1.0.13, миграция не выход, присутствую несколько самописных компонентов, переписывать которые пока нет времени.
Поэтому, заменяем содержимое строк в файле /includes/domit/xml_saxy_shared.php
Код:
/*это*/
call_user_func($this->startElementHandler, $this, $tagName, $attributes);
/*на это*/
call_user_func($this->startElementHandler, &$this, $tagName, &$attributes);

/*это*/
call_user_func($this->endElementHandler, $this, $tagName);
/*на это*/
call_user_func($this->endElementHandler, &$this, $tagName);

/*это*/
call_user_func($this->characterDataHandler, $this, $data);
/*на это*/
call_user_func($this->characterDataHandler, &$this, $data);
у меня сработало, в купе с этой проблемой вылазит еще и вот это на frontend-e
warning: Parameter 3 to showItem() expected to be a reference
, решается подобным способом, нашел в буржунете:
Цитировать
In case you haven't solved this...
Try to modify following things in the /includes/Cache/Lite/Function.php:

1.
from: $result = call_user_func_array(array($class, $method), $arguments);
to:$result = call_user_func_array(array($class, $method), &$arguments);

2.
from: $result = call_user_func_array(array($$object_123456789, $method), $arguments);
to: $result = call_user_func_array(array($$object_123456789, $method), &$arguments);

3.
from: $result = call_user_func_array($target, $arguments);
to: $result = call_user_func_array($target, &$arguments);


The difference is not that big, it's just a matter of adding a ampersand before the arguments parameter, &$arguments, in all cases for php to realize that things are being passed by reference.
Записан
Страниц: [1]   Вверх
  Добавить закладку  |  Печать  
 
Перейти в:  

Рейтинг@Mail.ru Rambler Top100 Powered by SMF 1.1.16 | SMF © 2006, Simple Machines

Joomlaforum.ru is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters
the trademark holder in the United States and other countries.

LiveInternet