Help Center

Powered by Minitek FAQ Book
Loading...

Error: String could not be parsed as XML

M
majestroPosted 9 years agoEdited 9 years ago
Information for Developer

1.
Error: String could not be parsed as XML

Sometimes it appears in the admin panel when you try to use the component
Screenshot with debug https://yadi.sk/i/o0i73d7jv9xNo
/administrator/components/com_faqbookpro/helpers/utilities.php - string 335
$xml_file = file_get_contents('http://update.minitek.gr/joomla-extensions/minitek_faqbookpro.xml');


Solution: disable checking for updates in
/administrator/components/com_faqbookpro/helpers/utilities.php - string 326
if ($params->get('version_check', 1)) 

change to
if ($params->get('version_check', 0)) 


Joomla Cache disabled, but sometimes it helps to clean. Can not each time clean cache before using FaqBook Pro =) No other cache plug-ins.

.htaccess
<FilesMatch ".(flv|gif|jpg|jpeg|png|ico|swf|js|css|pdf)$">
  Header set Cache-Control "max-age=1209600"
</FilesMatch>


Server
MySQLi 5.6.28-76.1-beget-log

PHP 5.5.37

Apache/2.4.10 (Unix)


2.
Long component loading - 10 seconds
Screenshot with Firebug Network https://yadi.sk/i/ZIYng20UvA3ZX
It looks like a server overload, request to http://update.minitek.gr/joomla-extensions/minitek_faqbookpro.xml ?
Request from Russia, Moscow.

Minitek Updates Authentication plugin Enabled, Download ID are correct.
Subscribed on: 30th December, 2015
Expires on: 30th December, 2016

Perhaps it would be better to check for updates after component loading?
Thanks!
Loading...
0
#1826

1 answer

M
MinitekPosted 9 years agoModerator
Hi there,

Thank you for the report. I will fix this in next version.