За последние 24 часа нас посетили 11428 программистов и 1159 роботов. Сейчас ищут 382 программиста …
-
Георгий
Активный пользователь- С нами с:
- 24 мар 2010
- Сообщения:
- 3
- Симпатии:
- 0
$requestAddress = «http://www.aaa.ru»;
$xml_str = file_get_contents($requestAddress,0);
$xml = new SimplexmlElement($xml_str);выдаёт ошибку String could not be parsed as XML
Как быть?
Спасибо -
- С нами с:
- 2 фев 2007
- Сообщения:
- 4.680
- Симпатии:
- 1
- Адрес:
- Минск
-
Георгий
Активный пользователь- С нами с:
- 24 мар 2010
- Сообщения:
- 3
- Симпатии:
- 0
-
karakh
Активный пользователь- С нами с:
- 11 дек 2007
- Сообщения:
- 1.344
- Симпатии:
- 0
а если просто вывести echo $xml_str — там xml есть? или там false, например?
-
Apple
Активный пользователь- С нами с:
- 13 янв 2007
- Сообщения:
- 4.984
- Симпатии:
- 2
Раньше говорили «блин буду!».
Эх, молодежь. -
Команда форума
Модератор- С нами с:
- 26 окт 2009
- Сообщения:
- 5.239
- Симпатии:
- 0
Apple
да не он просто имел ввиду что, там xml весит 1600 килограмм хз сколько это в килобайтах xD -
Георгий
Активный пользователь- С нами с:
- 24 мар 2010
- Сообщения:
- 3
- Симпатии:
- 0
вот там какая хрень
Полный текст фрагмента
<?php
function getWeather() {
$requestAddress = «http://www.google.com/ig/api?weather=челябинск&hl=ru»;
$xml_str = file_get_contents($requestAddress,0);
XML $xml = new SimplexmlElement($xml_str);
$count = 0;
echo ‘<div id=»weather»>’;
foreach($xml->weather as $item) {
foreach($item->forecast_conditions as $new) {
echo ‘<div class=»weatherIcon»>’;
echo ‘<img src=»http://www.google.com/’ .$new->icon[‘data’] . ‘»/><br/>’;
echo $new->day_of_week[‘data’];
echo ‘</div>’; } }
echo ‘</div>’;}
getWeather();
?>а по адресу http://www.google.com/ig/api?weather=челябинск&hl=ru
лежит
<xml_api_reply version=»1″> <weather module_id=»0″ tab_id=»0″ mobile_row=»0″ mobile_zipped=»1″ row=»0″ section=»0″> <forecast_information> <city data=»Chelyabinsk, Province of Chelyabinsk»/> <postal_code data=»челябинск»/> <latitude_e6 data=»»/> <longitude_e6 data=»»/> <forecast_date data=»2010-02-10″/> <current_date_time data=»2010-02-10 08:00:00 +0000″/> <unit_system data=»US»/> </forecast_information> <current_conditions> <condition data=»Cloudy»/> <temp_f data=»-13″/> <temp_c data=»-25″/> <humidity data=»Humidity: 73%»/> <icon data=»/ig/images/weather/cloudy.gif»/> <wind_condition data=»Wind: SE at 4 mph»/> </current_conditions> <forecast_conditions> <day_of_week data=»Wed»/> <low data=»-17″/> <high data=»2″/> <icon data=»/ig/images/weather/mostly_sunny.gif»/> <condition data=»Mostly Sunny»/> </forecast_conditions> <forecast_conditions> <day_of_week data=»Thu»/> <low data=»-1″/> <high data=»12″/> <icon data=»/ig/images/weather/cloudy.gif»/> <condition data=»Cloudy»/> </forecast_conditions> <forecast_conditions> <day_of_week data=»Fri»/> <low data=»5″/> <high data=»18″/> <icon data=»/ig/images/weather/mostly_sunny.gif»/> <condition data=»Partly Sunny»/> </forecast_conditions> <forecast_conditions> <day_of_week data=»Sat»/> <low data=»6″/> <high data=»27″/> <icon data=»/ig/images/weather/mostly_sunny.gif»/> <condition data=»Partly Sunny»/> </forecast_conditions> </weather></xml_api_reply>
-
karakh
Активный пользователь- С нами с:
- 11 дек 2007
- Сообщения:
- 1.344
- Симпатии:
- 0
в настоящий момент там лежит
<?xml version=»1.0″?><xml_api_reply version=»1″><weather module_id=»0″ tab_id=»0″ mobile_row=»0″ mobile_zipped=»1″ row=»0″ section=»0″ ><problem_cause data=»Информация временно недоступна.»/></weather></xml_api_reply>Но вопрос для начала в том, вытягивает ли file_get_contents($requestAddress,0); этот xml или нет.
-
- С нами с:
- 2 фев 2007
- Сообщения:
- 4.680
- Симпатии:
- 1
- Адрес:
- Минск
вытягивает, скорее всего
Георгий
1. у SimplexmlElement конструктор принимает в качестве первого параметра и url-
<?php $xml = new SimplexmlElement($requestAddress, null, true); ?>
2. Кодировки
либо приводить к utf-8, чтоб SimplexmlElement мог отработать
либо просто указать кодировку ответа в запросе
Знатоки, подскажите пожалуйста как убрать данную ошибку String could not be parsed as XML.
Версия дистрибутива altlinux-7.0.4-school-server-i586-ru-install-dvd5, установил Joomla 3, социальную сеть JomSocial-3.0.1 и вылезла данная ошибка в консоли администратора Joomla, и висит консоль управления, не ходит по меню.
Я так понимаю нет в PHP поддержки XML, тупо ее надо установить. Запускал apt-get upgrade, apt-get update не помогло, ошибка осталась.
Как сделать это правильно ?
« Последнее редактирование: 07.05.2015 13:58:37 от Skull »
Записан
Знатоки, подскажите пожалуйста как убрать данную ошибку String could not be parsed as XML.
Версия дистрибутива altlinux-7.0.4-school-server-i586-ru-install-dvd5, установил Joomla 3, социальную сеть JomSocial-3.0.1 и вылезла данная ошибка в консоли администратора Joomla, и висит консоль управления, не ходит по меню.
Я так понимаю нет в PHP поддержки XML, тупо ее надо установить. Запускал apt-get upgrade, apt-get update не помогло, ошибка осталась.
Как сделать это правильно ?
Надо логи Apache смотреть (/var/log/httpd2/error_log)
Записан
Андрей Черепанов (cas@)
Вот журналы ошибок. Переименовал расширение txt.
Записан
Предполагаю надо добавить поддержку XML командой apt-get install php-xml
Пробовал, выходит сообщение Данный пакет не найден. Значит надо добавить в список репозиториев нужный репозиторий.
Какой нужно добавить репозиторий ?
Записан
В репозитории видно только это
# apt-cache search php5 | grep xml
php5-xmlrpc - XML-RPC module for PHP5
Записан
Проверил:
[root@altserver ~]# apt-cache search php5 | grep xml
php5-xmlrpc — XML-RPC module for PHP5
Попробовал установить:
[root@altserver ~]# apt-get install php5-xmlrpc
Чтение списков пакетов… Завершено
Построение дерева зависимостей… Завершено
Последняя версия php5-xmlrpc уже установлена.
0 будет обновлено, 0 новых установлено, 0 пакетов будет удалено и 0 не будет обновлено.
И XML
[root@altserver ~]# apt-get install php5-xml
Чтение списков пакетов… Завершено
Построение дерева зависимостей… Завершено
Выбрано php5-libs для ‘php5-xml’
Последняя версия php5-libs уже установлена.
0 будет обновлено, 0 новых установлено, 0 пакетов будет удалено и 0 не будет обновлено.
Наверное причина в другом.
« Последнее редактирование: 05.05.2015 10:02:50 от ArtCh »
Записан
Я так понимаю нет в PHP поддержки XML, тупо ее надо установить. Запускал apt-get upgrade, apt-get update не помогло, ошибка осталась.
Неправильная фраза. Правильно — нет соответствующего модуля.
Как сделать это правильно ?
Понять, что вот это:
failed to load external entity "http://cloud.jomsocial.com/jomsocial.xml" in /var/www/html/joomla/plugins/system/jomsocialupdate/jomsocialupdate.php on line 195
Если тут вызывается какая-то функция, надо понять, в каком она модуле может быть. Надо ещё посмотреть в описании Джумалы, что ей надо. Вроде бы, ещё pear отношение к php имеет…
Записан
failed to load external entity "http://cloud.jomsocial.com/jomsocial.xml" in /var/www/html/joomla/plugins/system/jomsocialupdate/jomsocialupdate.php on line 195
Если тут вызывается какая-то функция, надо понять, в каком она модуле может быть. Надо ещё посмотреть в описании Джумалы, что ей надо. Вроде бы, ещё pear отношение к php имеет…
$ curl -Is http://cloud.jomsocial.com/jomsocial.xml | head -1
Потому что это старый неподдерживаемый шлак и не работает. Софт и модули тут не при чём.
HTTP/1.1 404 Not Found
Записан
Андрей Черепанов (cas@)
При инсталляции JomSocial происходит проверка и последний пункт сообщает о ошибки, наверное в этом причина.
Если щелкнуть далее, инсталляция продолжается и заканчивается без ругательств. И не работает консоль администратора. А сам сайт живой и все работает.
If any of these are not supported (marked as No), your system does not meet the requirements for installation. Some features might not be available. Please take appropriate actions to correct the errors.
JPEG Library Yes
PNG Library Yes
GIF Library Yes
GD Library Yes
GD2 Library Yes
cURL Library No
Правильнее было бы узнать требование JomSocial к версиям и наличию необходимых модулей, компонентов на сервере, что есть и чего не хватает.
Такое очучение что для PHP не все нужные модули установлены.
« Последнее редактирование: 05.05.2015 12:24:32 от ArtCh »
Записан
cURL Library No
Наверное, это php5-curl
Записан
Проверил
[root@altserver joomla]# apt-get install php5-curl
Чтение списков пакетов… Завершено
Построение дерева зависимостей… Завершено
Последняя версия php5-curl уже установлена.
0 будет обновлено, 0 новых установлено, 0 пакетов будет удалено и 0 не будет обновлено.
[root@altserver joomla]#
Есть в наличии.
Записан
Есть в наличии.
Смотрите код, который проверяет наличие этого пункта. Например, нет собственно программы curl из одноимённого пакета.
Записан
Андрей Черепанов (cas@)
Как правильно написать команду добавить недостающие компоненты для всего Lamp сервера сразу, что не навредить работоспособности всего сервера ?
Записан
Как правильно написать команду добавить недостающие компоненты для всего Lamp сервера сразу, что не навредить работоспособности всего сервера ?
apt-get install lamp-server
Но это именно базовый LAMP-сервер, без довесков, которые для разных веб-приложений отличаются.
Записан
Андрей Черепанов (cas@)
Но это именно базовый LAMP-сервер, без довесков, которые для разных веб-приложений отличаются.
Какая должна быть команда Добавить все довески ?
Записан
Moderator: General Support Moderators
-
Slackervaara
- Joomla! Ace
- Posts: 1096
- Joined: Sat Aug 13, 2011 6:27 am
Error: 0 String could not be parsed as XML
0 String could not be parsed as XML appeared as error message, but only on the front page that could not be viewed. I was confused and Googled. As I could login in as admin, I put on error reporting.
The error reporting stopped at Newsfeed.
I inaktivated two newsfeed modules and suddenly the frontpage worked. It seems that only one of two modules was not working. I have had those modules for 4 years previously without problems.
Hope this helps someone.
-
itoctopus
- Joomla! Virtuoso
- Posts: 4025
- Joined: Mon Nov 25, 2013 4:35 pm
- Location: Montreal, Canada
- Contact:
Re: Error: 0 String could not be parsed as XML
Post
by itoctopus » Wed Apr 20, 2016 1:34 am
It’s curious how this happened all of a sudden? Have you upgraded your website or have you upgraded your environment (e.g. Apache, MySQL, PHP, etc…).
A remote possibility is a hack. I suggest you run a scan on your website to check if everything’s clean.
-
connektiva
- Joomla! Intern
- Posts: 91
- Joined: Fri Apr 01, 2016 9:42 pm
- Contact:
Re: Error: 0 String could not be parsed as XML
Post
by connektiva » Wed Apr 20, 2016 4:46 am
Have you checked that it is not an outdated module extension. Did you perform any update?
-
Slackervaara
- Joomla! Ace
- Posts: 1096
- Joined: Sat Aug 13, 2011 6:27 am
Re: Error: 0 String could not be parsed as XML
Post
by Slackervaara » Wed Apr 20, 2016 10:07 am
It’s not a hack, because I hade the same error on a local copy of the site with 3.5. It seems to be related to the site where the xml-file is fetched.
-
sovainfo
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Error: 0 String could not be parsed as XML
Post
by sovainfo » Wed Apr 20, 2016 10:40 am
Also bad error handling of the module. Expect a message saying something is temporarily unavailable. What extensions are you talking about?
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
Slackervaara
- Joomla! Ace
- Posts: 1096
- Joined: Sat Aug 13, 2011 6:27 am
Re: Error: 0 String could not be parsed as XML
Post
by Slackervaara » Wed Apr 20, 2016 10:42 am
Its the Newsfeed module of Joomla 3.4.8 and Joomla 3.5. Its not a third party extension.
-
sovainfo
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Error: 0 String could not be parsed as XML
Post
by sovainfo » Wed Apr 20, 2016 11:56 am
In J351 updated from J350 with learning joomla demo data published the feed display module to position-7 and all menu items. Received a number of feeds. Changed the feed removing the last character (y) to make it invalid. Received Feed not found in module text.
Can you provide details so I can reproduce your issue?
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
sovainfo
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Error: 0 String could not be parsed as XML
Post
by sovainfo » Wed Apr 20, 2016 2:14 pm
Thank you for the details, reproduced the issue. Indeed bad error handling!
Edit libraries/joomla/feed/factory.php, function getfeed:
Code: Select all
try {
$parsed = $parser->parse();
}
catch (Exception $e)
{
$parsed = "No feeds available";
}
return $parsed;
I know it is not the right code to propose as a fix for core, but helps you get your front end back.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
Slackervaara
- Joomla! Ace
- Posts: 1096
- Joined: Sat Aug 13, 2011 6:27 am
Re: Error: 0 String could not be parsed as XML
Post
by Slackervaara » Wed Apr 20, 2016 2:45 pm
Thanks! The site that provided the newfeed has fixed their error, so it works again, but I will test it next time.
Last edited by Slackervaara on Wed Apr 20, 2016 2:56 pm, edited 1 time in total.
-
sovainfo
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Error: 0 String could not be parsed as XML
Post
by sovainfo » Wed Apr 20, 2016 2:53 pm
Verified it and I receive the feeds now, before I received the text «No feeds available» in the module. So, my conclusion is that it works.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
Webdongle
- Joomla! Master
- Posts: 42388
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Error: 0 String could not be parsed as XML
Post
by Webdongle » Wed Apr 20, 2016 8:34 pm
Slackervaara wrote:Thanks! The site that provided the newfeed has fixed their error, so it works again, but I will test it next time.
So the error was not Joomla core but an error in a feed from an external site ?
-
sovainfo
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Error: 0 String could not be parsed as XML
Post
by sovainfo » Wed Apr 20, 2016 10:05 pm
Webdongle wrote:
Slackervaara wrote:Thanks! The site that provided the newfeed has fixed their error, so it works again, but I will test it next time.
So the error was not Joomla core but an error in a feed from an external site ?
No, the error is bad error handling in Joomla. It is supposed to deal with empty documents. Sounds like that was not properly tested.
Indeed, the document should not have been empty. Which is already fix. The Joomla bug remains. The issue for the user is resolved this time for this particular feed. When my fix is applied it won’t happen on any feed. Till a Joomla update is applied. Unless it was fixed in core as well or my fix re-applied.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
Webdongle
- Joomla! Master
- Posts: 42388
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Error: 0 String could not be parsed as XML
Post
by Webdongle » Thu Apr 21, 2016 1:19 am
sovainfo wrote:The Joomla bug remains. The issue for the user is resolved this time for this particular feed. When my fix is applied it won’t happen on any feed. Till a Joomla update is applied. Unless it was fixed in core as well or my fix re-applied.
Great
link to the tracker you created please I am looking forward to testing your PR. The sooner it’s tested then the sooner it will be added to Joomla core.
-
Slackervaara
- Joomla! Ace
- Posts: 1096
- Joined: Sat Aug 13, 2011 6:27 am
Re: Error: 0 String could not be parsed as XML
Post
by Slackervaara » Thu Apr 21, 2016 6:45 am
Glad that it will be definitly fixed. Got some mails asking: Have I been banned?, although I fixed the error within 30 minutes. Such unknown errors can be stressing for the webmaster.
-
sovainfo
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Error: 0 String could not be parsed as XML
Post
by sovainfo » Thu Apr 21, 2016 9:41 am
Webdongle wrote:Great
link to the tracker you created please I am looking forward to testing your PR. The sooner it’s tested then the sooner it will be added to Joomla core.
As mentioned the solution provided won’t make it into core. It is not the proper solution for that, so I won’t be wasting my time by creating a PR. Maybe this triggers someone to come up with a proper solution.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
Webdongle
- Joomla! Master
- Posts: 42388
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Error: 0 String could not be parsed as XML
Post
by Webdongle » Thu Apr 21, 2016 1:40 pm
sovainfo wrote:.. It is not the proper solution for that, so I won’t be wasting my time by creating a PR. …
If it’s not a proper fix then perhaps it wasn’t a bug in the first place
sovainfo wrote:… Maybe this triggers someone to come up with a proper solution.
The best way to ‘trigger’ «someone to come up with a proper solution» is to create a tracker in https://issues.joomla.org/ . That way exact instructions for reproducing the results can be tested and verified.
-
sovainfo
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Error: 0 String could not be parsed as XML
Post
by sovainfo » Thu Apr 21, 2016 5:56 pm
Webdongle wrote:
sovainfo wrote:.. It is not the proper solution for that, so I won’t be wasting my time by creating a PR. …
If it’s not a proper fix then perhaps it wasn’t a bug in the first place
Hahaha, joking, right?
Webdongle wrote:
sovainfo wrote:… Maybe this triggers someone to come up with a proper solution.
The best way to ‘trigger’ «someone to come up with a proper solution» is to create a tracker in https://issues.joomla.org/ . That way exact instructions for reproducing the results can be tested and verified.
Be my guest, not having the issue, only pointed out the poor error handling.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
deleted user
Re: Error: 0 String could not be parsed as XML
Post
by deleted user » Thu Apr 21, 2016 6:39 pm
I was going to groan that only InvalidArgumentException and RuntimeException objects should be caught in that try/catch since that’s all Joomla’s API is throwing (catching the base Exception, or throwing it, IMO is a code smell and a hint of bad error processing by whomever is throwing the error and handling it), but apparently PHP’s SimpleXMLElement class throws Exception in this error case, so sadly that is the right fix.
-
sovainfo
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Error: 0 String could not be parsed as XML
Post
by sovainfo » Thu Apr 21, 2016 10:41 pm
Was actually referring to «No feeds available», thinking it should be translatable. Used Exception to make sure to catch anything. Used die’s to figure out what caused the issue. Provided the q&d solution for OP to get his site back. Stopped investigating when q&d solution appeared to work. Can’t continue investigation because source of the problem is fixed and don’t know how to reproduce the error situation.
Thank you looking into this. Noticed quite a few returns returning function results expecting the caller to catch exceptions. Not familiar enough with this functionality to know whether it needs a redesign of the error handling. So in isolation it seems to be right, but what if you broaden the scope? How do you think about that?
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
deleted user
Re: Error: 0 String could not be parsed as XML
Post
by deleted user » Thu Apr 21, 2016 11:10 pm
My general rule of thumb is if something can handle error conditions, it should handle them, otherwise the error should bubble up the stack. It also should only handle explicit errors it should expect (so since calling $parser->parse() can cause InvalidArgumentException and RuntimeException objects to be thrown it’d make sense to try and catch them if practical, but not the base Exception class as this could mean any error, even something not in the context of the parse method). Exception really should only be caught when you absolutely have to (SimpleXMLElement’s constructor (http://php.net/manual/en/simplexmlelement.construct.php) throws it on an error) or in a global exception handler; contextual Exception classes should be preferred to represent a more specific error condition.
Return to “General Questions/New to Joomla! 3.x”
Jump to
- Joomla! Announcements
- ↳ Announcements
- ↳ Announcements Discussions
- Joomla! 4.x — Ask Support Questions Here
- ↳ General Questions/New to Joomla! 4.x
- ↳ Installation Joomla! 4.x
- ↳ Administration Joomla! 4.x
- ↳ Migrating and Upgrading to Joomla! 4.x
- ↳ Extensions for Joomla! 4.x
- ↳ Security in Joomla! 4.x
- ↳ Templates for Joomla! 4.x
- ↳ Search Engine Optimization (Joomla! SEO) in Joomla! 4.x
- ↳ Language — Joomla! 4.x
- ↳ Performance — Joomla! 4.x
- ↳ Joomla! 4.x Coding
- Joomla! 3.x — Ask Support Questions Here
- ↳ General Questions/New to Joomla! 3.x
- ↳ Installation Joomla! 3.x
- ↳ Joomla! 3.x on IIS webserver
- ↳ Administration Joomla! 3.x
- ↳ Access Control List (ACL) in Joomla! 3.x
- ↳ Migrating and Upgrading to Joomla! 3.x
- ↳ Security in Joomla! 3.x
- ↳ Extensions for Joomla! 3.x
- ↳ Templates for Joomla! 3.x
- ↳ Search Engine Optimization (Joomla! SEO) in Joomla! 3.x
- ↳ Language — Joomla! 3.x
- ↳ Performance — Joomla! 3.x
- ↳ Joomla! 3.x Coding
- Joomla! Versions which are End of Life
- ↳ Joomla! 2.5 — End of Life 31 Dec 2014
- ↳ General Questions/New to Joomla! 2.5
- ↳ Installation Joomla! 2.5
- ↳ Joomla! 2.5 on IIS webserver
- ↳ Administration Joomla! 2.5
- ↳ Access Control List (ACL) in Joomla! 2.5
- ↳ Migrating and Upgrading to Joomla! 2.5
- ↳ Security in Joomla! 2.5
- ↳ Extensions for Joomla! 2.5
- ↳ Templates for Joomla! 2.5
- ↳ Search Engine Optimization (Joomla! SEO) in Joomla! 2.5
- ↳ Language — Joomla! 2.5
- ↳ Performance — Joomla! 2.5
- ↳ Joomla! 1.5 — End of Life Sep 2012
- ↳ General Questions/New to Joomla! 1.5
- ↳ Installation 1.5
- ↳ Joomla! 1.5 on IIS webserver
- ↳ Administration 1.5
- ↳ Migrating and Upgrading to Joomla! 1.5
- ↳ Security in Joomla! 1.5
- ↳ Extensions for Joomla! 1.5
- ↳ Templates for Joomla! 1.5
- ↳ Search Engine Optimization (Joomla! SEO) in Joomla! 1.5
- ↳ Language — Joomla! 1.5
- ↳ Performance — Joomla! 1.5
- ↳ Joomla! 1.0 — End of Life 22 July 2009
- ↳ Installation — 1.0.x
- ↳ Upgrading — 1.0.x
- ↳ Security — 1.0.x
- ↳ 3rd Party/Non Joomla! Security Issues
- ↳ Administration — 1.0.x
- ↳ Extensions — 1.0.x
- ↳ Components
- ↳ Modules
- ↳ Plugins/Mambots
- ↳ WYSIWYG Editors — 1.0.x
- ↳ Integration & Bridges — 1.0.x
- ↳ phpbb — Joomla! Integration
- ↳ Templates & CSS — 1.0.x
- ↳ Language — 1.0.x
- ↳ Joom!Fish and Multilingual Sites
- ↳ Performance — 1.0.x
- ↳ General Questions — 1.0.x
- Joomla! International Language Support
- ↳ International Zone
- ↳ Arabic Forum
- ↳ تنبيهات هامة
- ↳ الدروس
- ↳ 4.x جوملا!
- ↳ جوملا! 1.6/1.7
- ↳ الأسئلة الشائعة
- ↳ التثبيت و الترقية
- ↳ الحماية — و تحسين السرعة والأداء
- ↳ لوحة التحكم
- ↳ الإضافات البرمجية
- ↳ تعريب جوملا! و الإضافات البرمجية
- ↳ القوالب و التصميم
- ↳ صداقة محركات البحث
- ↳ القسم العام
- ↳ 1.5 !جوملا
- ↳ الأسئلة الشائعة
- ↳ التثبيت و الترقية
- ↳ الحماية — و تحسين السرعة والأداء
- ↳ لوحة التحكم
- ↳ الإضافات البرمجية
- ↳ تعريب جوملا! و الإضافات البرمجية
- ↳ القوالب و التصميم
- ↳ صداقة محركات البحث
- ↳ القسم العام
- ↳ جوملا! 1.0
- ↳ الأسئلة الشائـعة
- ↳ التثبيت
- ↳ لوحة التحكم
- ↳ الإضافات البرمجية
- ↳ الإضافات المعرّبة
- ↳ القوالب و التصميم
- ↳ الحماية — تحسين السرعة والأداء — صداقة محركات البحث
- ↳ القسم العام
- ↳ القسم العام
- ↳ !عرض موقعك بجوملا
- ↳ الأرشيف
- ↳ Bengali Forum
- ↳ Bosnian Forum
- ↳ Joomla! 1.5
- ↳ Instalacija i prvi koraci
- ↳ Ekstenzije
- ↳ Templejti
- ↳ Moduli
- ↳ Prevodi i dokumentacija
- ↳ Joomla! 1.7 / Joomla! 1.6
- ↳ Catalan Forum
- ↳ Notícies
- ↳ Temes sobre l’administració
- ↳ Temes sobre la traducció
- ↳ Components, mòduls i joombots
- ↳ Temes de disseny
- ↳ Webs realitzades amb Joomla!
- ↳ Offtopics
- ↳ Chinese Forum
- ↳ Croatian Forum
- ↳ Danish Forum
- ↳ Meddelelser
- ↳ Joomla! 4.x
- ↳ Joomla! 3.x (Anbefalet til nye installationer. Nyeste funktionalitet)
- ↳ Installation, backup, opdatering og flytning — Godt igang
- ↳ Administration — Generel brug
- ↳ Komponenter, Moduler og Plugins
- ↳ Template, CSS og Design
- ↳ Nethandel, betaling m.m.
- ↳ Ældre versioner (disse vedligeholdes ikke længere fra officiel side)
- ↳ Joomla! 2.5 (Supporteres indtil 31. dec. 2014)
- ↳ Installation, backup, opdatering og flytning — Godt igang
- ↳ Administration — Generel brug
- ↳ Komponenter, Moduler og Plugins
- ↳ Template, CSS og Design
- ↳ Nethandel, betaling m.m.
- ↳ Joomla 1.5 (Tidligere langtidssupporteret version indtil sep. 2012)
- ↳ Installation, backup, opdatering og flytning — Godt igang
- ↳ Administration — Generel brug
- ↳ Komponenter, Moduler og Plugins
- ↳ Template, CSS og Design
- ↳ Nethandel, betaling m.m.
- ↳ Joomla 1.0 (Udgået version, der blev afløst af 1.5 i 2008)
- ↳ Installation, backup, opdatering og flytning — Godt igang
- ↳ Administration — Generel brug
- ↳ Komponenter, Moduler og Mambots
- ↳ Template, CSS og Design
- ↳ Nethandel, betaling m.m.
- ↳ Oversættelser (lokalisering)
- ↳ Joomla brugergrupper i Danmark
- ↳ JUG Kolding
- ↳ JUG København
- ↳ JUG Odense
- ↳ JUG Århus
- ↳ JUG Sorø
- ↳ Kommerciel (betalt) hjælp ønskes
- ↳ SEO
- ↳ FAQ — Dokumentation og vejledninger
- ↳ Vis dit websted
- ↳ Afviste ‘Vis dit websted’ indlæg
- ↳ Diverse (Off topic)
- ↳ Dutch Forum
- ↳ Aankondigingen
- ↳ Algemene vragen
- ↳ Joomla! 4.x
- ↳ Joomla! 3.x
- ↳ Installatie 3.x
- ↳ Extensies 3.x
- ↳ Templates 3.x
- ↳ Joomla! 2.5
- ↳ Installatie 2.5
- ↳ Componenten 2.5
- ↳ Modules 2.5
- ↳ Plugins 2.5
- ↳ Templates 2.5
- ↳ Joomla! 1.5
- ↳ Installatie
- ↳ Componenten
- ↳ Modules
- ↳ Plugins
- ↳ Templates
- ↳ Joomla! 1.0
- ↳ Installatie 1.0.x
- ↳ Componenten 1.0.x
- ↳ Modules 1.0.x
- ↳ Mambots 1.0.x
- ↳ Templates 1.0.x
- ↳ Vertalingen
- ↳ Offtopic
- ↳ Show jouw website
- ↳ Filipino Forum
- ↳ International Support Center
- ↳ Pinoy General Discussion & Archives
- ↳ Site Showcase
- ↳ Events
- ↳ Design Tips and Tricks
- ↳ Tsismis Zone
- ↳ Pinoy Translation Zone
- ↳ Pinoy Forum Archives
- ↳ Joomla! Philippines Local Forum www.joomla.org.ph
- ↳ Finnish Forum
- ↳ French Forum
- ↳ Les annonces!
- ↳ Le bistrot!
- ↳ L’expo!
- ↳ J! 4.x — L’atelier!
- ↳ J! 3.x — L’atelier!
- ↳ 3.x — Questions générales, nouvel utilisateur
- ↳ 3.x — Installation, migration et mise à jour
- ↳ 3.x — Sécurité et performances
- ↳ 3.x — Extensions tierce partie
- ↳ 3.x — Templates et design
- ↳ 3.x — Développement
- ↳ 3.x — Ressources
- ↳ J! 2.5.x — L’atelier!
- ↳ 2.5 — Questions générales
- ↳ 2.5 — Installation, migration et mise à jour
- ↳ 2.5 — Sécurité et performances
- ↳ 2.5 — Extensions tierce partie
- ↳ 2.5 — Templates et design
- ↳ 2.5 — Développement
- ↳ 2.5 — Ressources
- ↳ J! 1.5.x — L’atelier!
- ↳ 1.5 — Questions générales
- ↳ 1.5 — Installation, migration et mise à jour
- ↳ 1.5 — Sécurité et performances
- ↳ 1.5 — Extensions tierce partie
- ↳ 1.5 — Templates et design
- ↳ 1.5 — Développement
- ↳ 1.5 — Ressources
- ↳ J! 1.0.x — L’atelier!
- ↳ 1.0 — Questions générales
- ↳ 1.0 — Installation et mise à jour
- ↳ 1.0 — Sécurité
- ↳ 1.0 — Extensions tierce partie
- ↳ 1.0 — Templates et design
- ↳ 1.0 — Développement
- ↳ 1.0 — Ressources
- ↳ Besoin d’un professionel ?
- ↳ Extensions Open Source pour Joomla!
- ↳ German Forum
- ↳ Ankündigungen
- ↳ Joomla! 4.x
- ↳ Joomla! 3.x
- ↳ Allgemeine Fragen
- ↳ Installation und erste Schritte
- ↳ Komponenten, Module, Plugins
- ↳ Template, CSS und Designfragen
- ↳ Entwicklerforum
- ↳ Zeige Deine Webseite
- ↳ Joomla! 2.5
- ↳ Allgemeine Fragen
- ↳ Installation und erste Schritte
- ↳ Komponenten, Module, Plugins
- ↳ Template, CSS und Designfragen
- ↳ Entwicklerforum
- ↳ Zeige Deine Webseite
- ↳ Joomla! 1.5
- ↳ Allgemeine Fragen
- ↳ Installation und erste Schritte
- ↳ Komponenten, Module, Plugins
- ↳ Template, CSS und Designfragen
- ↳ Entwicklerforum
- ↳ Zeige Deine Webseite
- ↳ Professioneller Service
- ↳ Sonstiges (Offtopic)
- ↳ Archiv
- ↳ Joomla! 1.0
- ↳ Allgemeine Fragen 1.0.x
- ↳ Installation und erste Schritte 1.0.x
- ↳ Komponenten, Module, Mambots 1.0.x
- ↳ Template, CSS und Designfragen 1.0.x
- ↳ Entwicklerforum 1.0.x
- ↳ Zeige Deine Webseite 1.0.x
- ↳ Greek Forum
- ↳ Joomla! 4.x
- ↳ Joomla! 3.x
- ↳ Joomla! 2.5.x
- ↳ Joomla! 1.5.x
- ↳ Joomla! 1.0.x
- ↳ Hebrew Forum
- ↳ Indic Languages Forum
- ↳ Indonesian Forum
- ↳ FAQ
- ↳ Bantuan
- ↳ Komponen
- ↳ Modul
- ↳ Template
- ↳ Diskusi
- ↳ Italian Forum
- ↳ Guide
- ↳ Traduzioni
- ↳ Componenti — Moduli — Plugins
- ↳ Template — Grafica
- ↳ Notizie
- ↳ Prodotti Open Source per Joomla!
- ↳ Richieste professionali
- ↳ Joomla! 4.x
- ↳ Joomla! 3.x
- ↳ Joomla! 2.5.x
- ↳ Joomla! 1.x
- ↳ Latvian Forum
- ↳ Lithuanian Forum
- ↳ Joomla! 4.x
- ↳ Joomla! 1.5
- ↳ Joomla! 1.7 / Joomla! 1.6
- ↳ Joomla! 1.0
- ↳ Vertimai ir Kalba
- ↳ Malaysian Forum
- ↳ Solved
- ↳ Norwegian Forum
- ↳ Informasjon
- ↳ Arkiverte annonseringer
- ↳ FAQ — Ofte spurte spørsmål
- ↳ Arkiv
- ↳ Joomla! 4.x
- ↳ Joomla! 3.x
- ↳ Administrasjon/installasjon
- ↳ Migrering/Oppdatering
- ↳ Template, CSS og design
- ↳ Komponenter/moduler/programutvidelser
- ↳ Sikkerhet
- ↳ Generelt
- ↳ Netthandel, betaling m.m.
- ↳ VirtueMart
- ↳ Andre nettbutikkløsninger
- ↳ Generelt
- ↳ Oversettelser
- ↳ Fremvisning av sider (Show off)
- ↳ Avviste fremvisninger
- ↳ Diverse (off topic)
- ↳ Kommersiell hjelp ønskes
- ↳ Eldre versjoner av Joomla!
- ↳ Joomla! 1.0
- ↳ Administrasjon/installasjon
- ↳ Template, CSS og design
- ↳ Komponenter/moduler/mambots
- ↳ Sikkerhet
- ↳ Generelt
- ↳ Joomla! 1.5
- ↳ Administrasjon/installasjon
- ↳ Migrering/Oppdatering
- ↳ Template, CSS og design
- ↳ Komponenter/moduler/programutvidelser
- ↳ Sikkerhet
- ↳ Generelt
- ↳ Joomla! 2.5
- ↳ Administrasjon/installasjon
- ↳ Migrering/Oppdatering
- ↳ Template, CSS og design
- ↳ Komponenter/moduler/programutvidelser
- ↳ Sikkerhet
- ↳ Generelt
- ↳ Persian Forum
- ↳ قالب ها
- ↳ مدیریت
- ↳ سوالهای عمومی
- ↳ نصب
- ↳ مامبوت ها
- ↳ ماژولها
- ↳ کامپوننت ها
- ↳ Polish Forum
- ↳ Instalacja i aktualizacja
- ↳ Administracja
- ↳ Komponenty, moduły, wtyczki
- ↳ Szablony
- ↳ Paczta i Podziwiajta
- ↳ Modyfikacje i własne rozwiązania
- ↳ Tłumaczenia
- ↳ FAQ
- ↳ Tips&Tricks
- ↳ Dokumentacja
- ↳ Profesjonalne usługi
- ↳ Portuguese Forum
- ↳ Componentes, módulos e mambots
- ↳ Programação e desenvolvimento
- ↳ Segurança
- ↳ Sites dos usuários
- ↳ Off-topic
- ↳ Tradução
- ↳ Templates
- ↳ Romanian Forum
- ↳ Traduceri
- ↳ Russian Forum
- ↳ Объявления по Joomla!
- ↳ Безопасность Joomla!
- ↳ Joomla 4.x — Задайте здесь свой вопрос по поддержке
- ↳ Joomla 3.x — Задайте здесь свой вопрос по поддержке
- ↳ Общие вопросы/Новичок в Joomla! 3.x
- ↳ Установка Joomla! 3.x
- ↳ Миграция и переход на Joomla! 3.x
- ↳ Расширения для Joomla! 3.x
- ↳ Многоязычные веб-сайты на Joomla 3.x
- ↳ Joomla 2.5 — Задайте здесь свой вопрос по поддержке
- ↳ Общие вопросы/Новичок в Joomla! 2.5
- ↳ Установка Joomla! 2.5
- ↳ Расширения для Joomla! 2.5
- ↳ Русский язык Joomla! 2.5
- ↳ Serbian/Montenegrin Forum
- ↳ Tehnička pitanja
- ↳ Instalacija i početnička pitanja
- ↳ Šabloni
- ↳ Prevod i dokumentacija
- ↳ Ćaskanje
- ↳ Bezbednost
- ↳ Joomla! dodaci
- ↳ Pravna pitanja
- ↳ Arhiva
- ↳ Joomla! Događaji i Zajednica
- ↳ Izlog (spisak) sajtova radjenih u Joomla! CMS-u
- ↳ Profesionalne usluge
- ↳ Slovak Forum
- ↳ Spanish Forum
- ↳ Joomla! 4.x
- ↳ Joomla! 3.x
- ↳ Migración y actualización a Joomla 3.x
- ↳ Versiones de Joomla! obsoletas
- ↳ Joomla! 2.5
- ↳ Joomla! 1.5
- ↳ Extensiones
- ↳ Plantillas (templates) y diseño
- ↳ Idioma y traducciones
- ↳ SEO para Joomla!
- ↳ Seguridad y rendimiento
- ↳ Productos de Código Abierto para Joomla!
- ↳ Servicios profesionales
- ↳ Salón de la comunidad Ñ
- ↳ Swedish Forum
- ↳ Meddelanden
- ↳ Forum Joomla! 4.x
- ↳ Forum Joomla! 3.x
- ↳ Allmänna frågor
- ↳ Användning och administration
- ↳ Installation, backup och säkerhet
- ↳ Komponenter, moduler och plugin
- ↳ Mallar (templates) och design
- ↳ Äldre versioner
- ↳ Forum Joomla! 1.0
- ↳ Allmänna frågor
- ↳ Användning och administration
- ↳ Installation, backup och säkerhet
- ↳ Komponenter, moduler och Mambots
- ↳ Mallar (templates) och design
- ↳ Forum Joomla! 1.7 / Joomla! 1.6
- ↳ Allmänna frågor
- ↳ Användning och administration
- ↳ Installation, backup och säkerhet
- ↳ Komponenter, moduler och plugin
- ↳ Mallar (templates) och design
- ↳ Forum Joomla! 1.5
- ↳ Allmänna frågor
- ↳ Användning och administration
- ↳ Installation, backup och säkerhet
- ↳ Komponenter, moduler och plugin
- ↳ Mallar (templates) och design
- ↳ Forum Joomla! 2.5
- ↳ Allmänna frågor
- ↳ Användning och administration
- ↳ Installation, backup och säkerhet
- ↳ Komponenter, moduler och plugin
- ↳ Mallar (templates) och design
- ↳ Översättning
- ↳ Webbplatser gjorda i Joomla
- ↳ Webbplatser J! 3.x
- ↳ Webbplatser J! 2.5
- ↳ Webbplatser Joomla! 1.7 / Joomla! 1.6
- ↳ Webbplatser J! 1.5
- ↳ Webbplatser J! 1.0
- ↳ Kommersiell hjälp önskas
- ↳ Diverse (off topic)
- ↳ Tamil Forum
- ↳ Thai Forum
- ↳ โชว์เว็บไซต์ของคุณที่สร้างด้วยจูมล่า
- ↳ เคล็ดลับการใช้งานส่วนต่างๆ เกี่ยวกับจ&#
- ↳ คอมโพเน้นท์ โมดูล ปลักอิน ต่างๆ ที่ติดตั
- ↳ อับเดดข่าวสารเกี่ยวกับจูมล่าลายไทย
- ↳ Turkish Forum
- ↳ Duyurular
- ↳ Dersler
- ↳ Genel Sorular
- ↳ Bileşen, Modül, Bot
- ↳ Eklenti Haberleri
- ↳ Temalar
- ↳ Vietnamese Forum
- ↳ Gặp gỡ và giao lưu
- ↳ Joomla Tiếng Việt
- ↳ Cài đặt — Cấu hình
- ↳ Thành phần mở rộng cho Joomla!
- ↳ Hỏi đáp Joomla! 3.x
- ↳ Hỏi đáp Joomla! 2.5
- ↳ Hỗ trợ kỹ thuật
- ↳ Bài viết cũ
- ↳ Thiết kế Template
- ↳ Joomla! 1.5
- ↳ Hỏi đáp Joomla! 4.x
- ↳ Welsh Forum
- Other Forums
- ↳ Open Source Products for Joomla!
- ↳ The Lounge
- ↳ Forum Post Assistant (FPA)
- Joomla! Development Forums
- Joomla! Official Sites & Infrastructure
- ↳ docs.joomla.org — Feedback/Information
- ↳ extensions.joomla.org — Feedback/Information
- ↳ joomla.com — Feedback/Information
- ↳ Sites & Infrastructure — Feedback/Information
- ↳ Archived Boards — All boards closed
- ↳ Design and Accessibility — Archived
- ↳ Quality and Testing — Locked and Archived
- ↳ Joomla! 1.0.x_Q&T
- ↳ Q&T 1.0.x Resolved
- ↳ Known Issues
- ↳ Superseded Issues
- ↳ Archive
- ↳ Q&T 1.0.x Resolved — Archived
- ↳ Known Issues — Archive
- ↳ Superseded Issues — Archive
- ↳ Joomla! 3.x Bug Reporting
- ↳ Third Party Testing for Joomla! 1.5
- ↳ Q&T 1.5.x Resolved
- ↳ Joomla! 1.5 BETA
- ↳ Joomla! 1.5 BETA 2
- ↳ Reaction to the ‘Letter to the community’
- ↳ Reaction to New Project Name
- ↳ Logo Competition
- ↳ Humor, Fun and Games
- ↳ Libraries
- ↳ patTemplate
- ↳ com_connector — Multi Joomla Bridge
- ↳ CiviCRM Support
- ↳ CiviCRM Installation Issues
- ↳ FAQ Archive
- ↳ FAQ Discussion Board
- ↳ 3rd Party Extensions FAQ
- ↳ FAQs not moved
- ↳ 3rd Party/Non Joomla! Security FAQ
- ↳ Joomla! Coding 101
- ↳ Joombie Tools of the Trade
- ↳ Joombie Coding Q/A
- ↳ Joombie Think Tank
- ↳ Joombie Developer Lab
- ↳ Joomla Forge — Archived
- ↳ Non-Profit Organizations and Joomla!
- ↳ Schools and Universities
- ↳ Bangsamoro Forum
- ↳ Joomla! 1.5 Template Contest
- ↳ SMF — Simplemachines.org Forum
- ↳ GPL Discussion
- ↳ Security Announcements — Old
- ↳ Tips & Tricks — Moving
- ↳ Submit Your Suggested Tips & Tricks to Docs.joomla.org now please.
- ↳ Google Summer of Code and GHOP
- ↳ Google Summer of Code 2008
- ↳ Proposed projects
- ↳ Student area
- ↳ Past Google Summer of Code Editions
- ↳ Google’s Highly Open Participation Contest
- ↳ Documentation
- ↳ Suggestions, Modifications, and Corrections
- ↳ Archive
- ↳ 1.5 Archive
- ↳ Suggestions, Modifications & Corrections
- ↳ Submit
- ↳ Feedback and Suggestions
- ↳ Applications for participation in the Development Workgroup
- ↳ Development
- ↳ 1.5 Site Showcase — Archived
- ↳ 1.0 x Site Showcase — Archived.
- ↳ Feature Requests — White Papers — Archived
- ↳ Under Review — Archived
- ↳ Accepted — Archived
- ↳ Not Accepted — Archived
- ↳ Wishlists and Feature Requests — Archive
- ↳ Wishlist Archives — Archived
- ↳ Spanish Forum — Archive
- ↳ Papelera
- ↳ Tutoriales
- ↳ General
- ↳ Salón de la Joomlaesfera hispanohablante
- ↳ Danish Forum — Archive
- ↳ Diskussion af Meddelelser + Sikkerhedsmeddelelser + FAQ
- ↳ Shop.Joomla.org
- ↳ Joomla! 1.6 RC Support [closed]
- ↳ Joomla! 1.0 Coding
- ↳ Core Hacks and Patches
- ↳ Joomla! 2.5 Beta Support
- ↳ People.joomla.org — Feedback/Information
- ↳ Joomla! 1.5 Bug Reporting
- ↳ Joomla! 1.5 Coding
- ↳ Joomla! 3 Beta Support
- ↳ Trending Topics
- ↳ Help wanted in the community
- ↳ templates.joomla.org — Feedback/Information
- ↳ Certification
- ↳ Albanian Forum
- ↳ Azeri Forum
- ↳ Urdu Forum
- ↳ Basque Forum
- ↳ Itzulpenaren inguruan
- ↳ Laguntza teknikoa
- ↳ Belarusian Forum
- ↳ Maltese Forum
- ↳ Hungarian Forum
- ↳ Slovenian Forum
- ↳ Japanese Forum
- ↳ Khmer Forum
- ↳ ពិពណ៌ស្ថានបណ្ដាញជុំឡា
- ↳ ជុំឡាខ្មែរមូលដ្ឋានីយកម្ម
- ↳ Community Blog Discussions
- ↳ JoomlaCode.org
- ↳ Joomla! Marketing and PR Team
- ↳ resources.joomla.org — Feedback/Information
- ↳ Training.Joomla.org
- ↳ OpenSourceMatters.org
- ↳ magazine.joomla.org — Feedback/Information
- ↳ Site Showcase
- ↳ Joomla! 4 Related
- ↳ Joomla! Events
- ↳ Joomla! Ideas Forum
- ↳ Registered Joomla! User Groups
- ↳ Joomla! 2.5 Coding
- ↳ Joomla! 2.5 Bug Reporting
- ↳ User eXperience (UX)
- ↳ Joomla! Working Groups
- ↳ Translations
проблема с классом SimpleXMLElement
передаю ему обычную rss ленту, а он выдает мне следующие ошибки
Цитата:
Warning SimpleXMLElement__construct() [function.—construct] Entity line 177 parser error EntityRef expecting ‘;’ in CServerdocsitlines.ruwwwincmodulesclass.rss.php on line 89
Warning SimpleXMLElement__construct() [function.—construct] е решение для розничных сетей KORUS Retail&Distribution in CServerdocsitlines.ruwwwincmodulesclass.rss.php on line 89
Warning SimpleXMLElement__construct() [function.—construct] ^ in CServerdocsitlines.ruwwwincmodulesclass.rss.php on line 89
Warning SimpleXMLElement__construct() [function.—construct] Entity line 366 parser error EntityRef expecting ‘;’ in CServerdocsitlines.ruwwwincmodulesclass.rss.php on line 89
Warning SimpleXMLElement__construct() [function.—construct] descriptionАмериканское агентство GSD&M по заказу in CServerdocsitlines.ruwwwincmodulesclass.rss.php on line 89
Warning SimpleXMLElement__construct() [function.—construct] ^ in CServerdocsitlines.ruwwwincmodulesclass.rss.php on line 89
Fatal error Uncaught exception ‘Exception’ with message ‘String could not be parsed as XML’ in CServerdocsitlines.ruwwwincmodulesclass.rss.php89 Stack trace #0 CServerdocsitlines.ruwwwincmodulesclass.rss.php(89) SimpleXMLElement-__construct(‘xml version=…’) #1 CServerdocsitlines.ruwwwincmodulesclass.rss.php(119) RSS-rssParser(‘xml version=…’) #2 CServerdocsitlines.ruwwwpage.php(38) RSS-getRSS() #3 {main} thrown in CServerdocsitlines.ruwwwincmodulesclass.rss.php on line 89
патался понять в чем причина этих сбоев, но так и не понял
8 ответов
12
10 ноября 2007 года
alekciy
3.0K / / 13.12.2005
Хоть бы написал, что в in CServerdocsitlines.ruwwwincmodulesclass.rss.php строке 89 и прочее написано.
А по сабжу… смотри, что там записано и думай. Если RSS полностью валидный XML, то проблема в твоем коде, который читает этот XML.
312
10 ноября 2007 года
dead_star
392 / / 26.11.2006
Хоть бы написал, что в in CServerdocsitlines.ruwwwincmodulesclass.rss.php строке 89 и прочее написано.
код простой до нельзя
Код:
$file = «http://www.itlines.ru/export/news.rss»;
$rss = file_get_contents($file);
$news = new SimpleXMLElement($rss);
дальше выдает ошибку
А по сабжу… смотри, что там записано и думай. Если RSS полностью валидный XML, то проблема в твоем коде, который читает этот XML.
валидатор говорит:
Цитата:
line 177, column 273: XML parsing error: <unknown>:177:273: not well-formed (invalid token) [help]
… озничных сетей KORUS Retail&Distribution на базе ERP-системы Microsoft D …
я так понимаю проблема в символе «&»
а вот этого я вообще непонял:confused:
Цитата:
line 19, column 0: item should contain a guid element (18 occurrences) [help]
элемент «guid» не является обязательным, что он тогда ругается
312
10 ноября 2007 года
dead_star
392 / / 26.11.2006
ладно. хрен с ним. «guid» я добавлю, а что делать с символе «&»?
312
10 ноября 2007 года
dead_star
392 / / 26.11.2006
покапался, посматрел и немношко прифигел
«&» мы жрем, а «&» нет. я в шоке.
15
10 ноября 2007 года
shaelf
2.7K / / 04.05.2005
Еслиб немного прочитал про правила составления xml документа, то удивления бы не возникло.
312
10 ноября 2007 года
dead_star
392 / / 26.11.2006
Еслиб немного прочитал про правила составления xml документа, то удивления бы не возникло.
на это могу сказать одно:
в книге Использование HTML и XHTML (от Хольцшлаг М.) в которой в частности на ряду с другими языками описывается язук разметки XML нет упоминания об этом.
а что касается специализированных учебников по XML или спецификации XML то до них просто еще не дошли руки
PS в сутках к сожаленью только 24 часа
15
10 ноября 2007 года
shaelf
2.7K / / 04.05.2005
В любой нормальной книге по XML и XHTML должны упоминаться html сущьности, т.к. это оочень важная часть. Если книга плохая, то отложи в сторону и не читай. Лучше оставить голову пустой, чем забить её неверной информацией.
12
10 ноября 2007 года
alekciy
3.0K / / 13.12.2005
покапался, посматрел и немношко прифигел
«&» мы жрем, а «&» нет. я в шоке.
А чего тут в шоке то быть? Нормально поведение, все правильно говорят. Я к примеру считаю, что XML стек знаю достаточно хорошо, но ни одной книге по нему не прочитал. Спецификация, спецификаци и еще раз спецификация, чем какие-то там сомнительные книги. В сутках и правда 24 часа и тратить безценное время на чтение книги, а не спецухи зря. Тем более на русский язык она давно уже издана.