Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 8th November 2013, 17:31
onastvar onastvar is offline
Senior Member
Join Date: Apr 2008
Location: U.S.A.
Posts: 197
Thanks: 61
Thanked 12 Times in 12 Posts
Question APS Packagelist update

FYI: I am getting following warning when I try to update packagelist for APS Installer under Sites > APS Installer > Update Packagelist

Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : StartTag: invalid element name in /usr/local/ispconfig/interface/lib/classes/aps_crawler.inc.php on line 275 Warning: SimpleXMLElement::__construct(): < in /usr/local/ispconfig/interface/lib/classes/aps_crawler.inc.php on line 275 Warning: SimpleXMLElement::__construct(): ^ in /usr/local/ispconfig/interface/lib/classes/aps_crawler.inc.php on line 275
APS Packagelist update finished.

I do not run "update packagelist for APS Installer" too often, last time I ran it it was okay. Anyone else has this issue?
ISPConfig | Debian Wheezy | BIND | Dovecot 2.1.7 | Apache 2.2.22 | MySQL 5.5.38 | PHP 5.3.22
Reply With Quote
Sponsored Links
Old 10th November 2013, 18:13
Baridas Baridas is offline
Junior Member
Join Date: Nov 2013
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post

I dont know if it is the same problem, but when I press "update packagelist" no apps are shown in the "avaible packages".

After the update the folder "/usr/local/ispconfig/interface/web/sites/aps_meta_packages" shows the packages.

This is on an fresh installation of ISPConfig on Debian Wheezy.
Reply With Quote
The Following User Says Thank You to Baridas For This Useful Post:
BatRomaUnmawn (12th November 2013)
Old 10th November 2013, 18:30
Quaxth Quaxth is offline
Senior Member
Join Date: Sep 2013
Location: Samut Prakan, Thailand
Posts: 440
Thanks: 48
Thanked 34 Times in 31 Posts
Send a message via Skype™ to Quaxth

Instead you could use the Softaculous installer, which is ages better than the internal ISPC Apps installer!

Got to http//remote.softaculous.com, sign up for an account for free and you'll have more than 300 Apps available for to free installation and all are updated to the latest versions. Also they support from Softaculous is just excellent if you've any problems. In hard cases they'll also connect remotely to your system and help to get all settled.

You'll need to ad your domains to the list in your account and maybe create the MySql Database upfront from within ISPC. A few of that Scripts still using older PHP versions, so check that you've the right PHP Version installed.

All installation has to be done using an available FTP User on Server and you've to give that user data to the setup script. Al;l is just very easy to do stuff.

I started to test the Aps from ISPC and found that just from the 1. page (14 Aps) more than 50% were not working on my server, various errors, so I stopped with them! Will not touch again, is just a lose of time and effort!
Have a nice day.
Reply With Quote
Old 11th November 2013, 23:44
frankytown frankytown is offline
Junior Member
Join Date: Nov 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts

So after a few hours, I think I found the problem. However I do not have an elegant solution yet.

Either the ZeenDoc aps package returns an invalid answer from the apscatalog or aps_crawler.inc.php does not process this case properly.

As a result, the variable $xml ends up containing the value "<" which is in turn used to initiate an XML document using the SimpleXMLElement function call, throwing an exception.

Alltough it is not a long term solution, I added && strcmp($apps[$j],'<') to the for loop of line 271 so this package is skipped.

Here the code snippet from line 269:

// Before parsing, make sure it's worth the work by checking if at least one app exists
$apps_count = substr_count($apps[$j], '<opensearch:totalResults>0</opensearch:totalResults>');
if($apps_count == 0 && strcmp($apps[$j],'<')) // obviously this vendor provides one or more apps
    // Rename namespaces and register them
    $xml = str_replace("xmlns=", "ns=", $apps[$j]);
    $sxe = new SimpleXMLElement($xml);

I do not think $app_count is ever going to return anything different than 0. There is some work to do there.

WARNING : I am not a programmer and do not pretend this solution is safe to use.

However, I hope this helps.
Reply With Quote
Old 12th November 2013, 09:57
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

The issue is quite new, so it might be that apsstandard.org changed their html or broke that html so that its invalid. Please post the issue to our bugtracker http://bugtracker.ispconfig.org/ so that we can check that and implement a workaround.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 12th November 2013, 21:57
siucdude911 siucdude911 is offline
Junior Member
Join Date: Feb 2013
Location: Chicago
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

Im now seeing the same issue in our lab and production... I opened a bug just now as we need this working.

Thank You

Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My Centos is terribly slow Galled Server Operation 9 7th December 2010 16:31
Vhosts...conf not synced to changes crypted General 50 24th April 2010 01:54
The system is currently updating the configuration files. warlock General 8 21st February 2009 19:15
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 20:38
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 06:19

All times are GMT +2. The time now is 15:53.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.