привет! Подскажите, кто сталкивался с такой ошибкой: PHP Warning: Cannot modify header information - headers already sent by (output started at /home/papka/public_html/components/com_xmap/xmap.xml.php:133) in /home/papka/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68 Чтото связано с компонентом Xmap.. но что ему не нравится? Раньше такого не было. Может ли быть это както связано с тем, что это большой инет-магаз, 3000 товаров, SEF линки на русском языке? Мой конфиг: Joomla 1.5.15 SH404sef 1.5.3.296 Virtuemart 1.1.3 Xmap 1.2.2 РНР 5.2.10 mysql 5.0.87-community
Fanamura Если я правильно понял вопрос, то лог выглядит вот так: Код (html): [Fri Jan 22 09:36:50 2010][error] PHP Warning: fopen(/home/papka/public_html/cache/productfeed_RSS2.0_catid8.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home/papka/public_html/libraries/bitfolge/feedcreator.php on line 863 [Fri Jan 22 09:26:12 2010][error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/papka/public_html/components/com_xmap/xmap.xml.php:133) in /home/papka/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68 [Fri Jan 22 09:18:41 2010][error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/papka/public_html/components/com_xmap/xmap.xml.php:133) in /home/papka/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68 [Fri Jan 22 09:01:23 2010][error] PHP Warning: fopen(/home/papka/public_html/cache/productfeed_RSS2.0_catid4.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home/papka/public_html/libraries/bitfolge/feedcreator.php on line 863 [Fri Jan 22 09:01:02 2010][error] PHP Warning: fopen(/home/papka/public_html/cache/productfeed_RSS2.0_catid7.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home/papka/public_html/libraries/bitfolge/feedcreator.php on line 863 [Fri Jan 22 08:49:08 2010][error] PHP Warning: fopen(/home/papka/public_html/cache/productfeed_RSS2.0_catid19.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home/papka/public_html/libraries/bitfolge/feedcreator.php on line 863 [Fri Jan 22 08:45:50 2010][error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/papka/public_html/components/com_xmap/xmap.xml.php:133) in /home/papka/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68 [Fri Jan 22 08:38:07 2010][error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/papka/public_html/components/com_xmap/xmap.xml.php:133) in /home/papka/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68 [Fri Jan 22 08:37:57 2010][error] PHP Warning: fopen(/home/papka/public_html/cache/productfeed_RSS2.0_catid71.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home/papka/public_html/libraries/bitfolge/feedcreator.php on line 863 [Fri Jan 22 08:00:39 2010][error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/papka/public_html/components/com_xmap/xmap.xml.php:133) in /home/papka/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68 [Fri Jan 22 07:54:25 2010][error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/papka/public_html/components/com_xmap/xmap.xml.php:133) in /home/papka/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68 [Fri Jan 22 07:38:27 2010][error] PHP Warning: fopen(/home/papka/public_html/cache/productfeed_RSS2.0_catid146.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home/papka/public_html/libraries/bitfolge/feedcreator.php on line 863 [Fri Jan 22 07:25:30 2010][error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/papka/public_html/components/com_xmap/xmap.xml.php:133) in /home/papka/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68 [Fri Jan 22 07:10:00 2010][error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/papka/public_html/components/com_xmap/xmap.xml.php:133) in /home/papka/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68 [Fri Jan 22 06:38:44 2010][error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/papka/public_html/components/com_xmap/xmap.xml.php:133) in /home/papka/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68 [Fri Jan 22 06:27:05 2010][error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/papka/public_html/components/com_xmap/xmap.xml.php:133) in /home/papka/public_html/administrator/components/com_virtuemart/classes/ps_session.php on line 68 [Fri Jan 22 06:12:10 2010][error] PHP Warning: fopen(/home/papka/public_html/cache/productfeed_RSS2.0_catid131.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /home/papka/public_html/libraries/bitfolge/feedcreator.php on line 863
Fanamura упс Вот файл xmap.xml.php: Код (PHP): $changefreq = $this->sitemap->getProperty('changefreq',$node->changefreq,$node->id,'xml',$node->uid); $priority = $this->sitemap->getProperty('priority',$node->priority,$node->id,'xml',$node->uid); echo '<url>'."\n"; # Removed escapeURL until a better solution for UTF-8 is found # echo '<loc>', $this->escapeURL($link) ,'</loc>'."\n"; echo '<loc>', $link ,'</loc>'."\n"; if ($this->_isAdmin) { echo '<uid>', $node->uid ,'</uid>'."\n"; echo '<itemid>', $node->id ,'</itemid>'."\n"; а это ps_session.php: Код (PHP): /** * Initialize the Session environment for VirtueMart * */ function ps_session() { $this->component_name = 'option='.VM_COMPONENT_NAME; $this->initSession(); } /**
Fanamura, добрый день! Был на выходных, вот токо добрался.. Страницу откопать к сож не могу, так как лично мне они не попадались когда захожу на сайт. Все ошибки я смотрю в Cpanel хостера, там есть такой Журнал ошибок, вот там все есть. Может Вы подскажете линк как читать самому эти заголовки? Как доберусь до них, так и выложу сюда
Доброе время суток Столкнулся с такой же проблемой. Установил xmap 1.2.7 проблема не исчезла xmap.xml.php:152 стало вместо xmap.xml.php:133 ps_session.php on line 68 и добавилось еще сообщение PHP Warning: Invalid argument supplied for foreach() in мойсайт/administrator/components/com_xmap/extensions/com_virtuemart.php on line 171 Прошу помочь!