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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th November 2013, 16:31
onastvar onastvar is offline
Senior Member
 
Join Date: Apr 2008
Location: U.S.A.
Posts: 188
Thanks: 59
Thanked 10 Times in 10 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 3.0.5.4p1 | Debian Wheezy | BIND | Dovecot 1.2.15 | Apache 2.2.16 | MySQL 5.5 | PHP 5.4.4-14
Reply With Quote
Sponsored Links
  #2  
Old 10th November 2013, 17:13
Baridas Baridas is offline
Junior Member
 
Join Date: Nov 2013
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default

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)
  #3  
Old 10th November 2013, 17: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
Default

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
  #4  
Old 11th November 2013, 22:44
frankytown frankytown is offline
Junior Member
 
Join Date: Nov 2013
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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:

Code:
// 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
  #5  
Old 12th November 2013, 08:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,665
Thanks: 819
Thanked 5,316 Times in 4,169 Posts
Default

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
  #6  
Old 12th November 2013, 20:57
siucdude911 siucdude911 is offline
Junior Member
 
Join Date: Feb 2013
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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

Thank You

http://bugtracker.ispconfig.org/inde...s&task_id=3224
Reply With Quote
Reply

Bookmarks

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 15:31
Vhosts...conf not synced to changes crypted General 50 24th April 2010 00:54
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19


All times are GMT +2. The time now is 07:41.


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