What are the simplexml_load_file warnings...
Why
This low-level warning appears when EasyTable appears in the Administrator screens when the component tries to get information about the currently available version of EasyTable and compare it with the currently installed software. As a low level warning it doesn't affect the operation of the component.
If you receive this warning it means several things:
- Your Joomla installation is not running the recommended PHP configuration for Joomla 1.5 and thus is showing you low-level warning messages that generally don't affect the operation of the Joomla or any extensions you may have installed.
- the warning message is the result of EasyTable not being able to check the version information on our servers.
- the component tries to load a version information file from our servers
- your server configuration doesn't allow remote access to the XML file
- we capture the error message but
- the PHP warning level is set to show even low level warnings.
Apart from configuration issues these warnings can also appear in testing environments if:
- you are not connected to the internet
- a proxy/firewall/network cache blocks access to the SeePeopleSoftware.com website
- you're using an incorrectly configured virtualisation environment ( WAMP, MAMP, WinAMP, VMWare, Parallels etc... ).
Possible Solutions
You can prevent the warnings from appearing by setting the error_reporting level/value to a level that doesn't report warnings.
You can fix the error completely by setting allow_url_fopen in php.ini to on. (NB: this presumes that your network doesn't block access by your server to the internet)
Advanced
If you're comfortable editing PHP file you can disable the version check by making the following changes.
For EasyTable for J!
Starting at line 46 through to line 81 of
\administrator\components\com_easytable\views\easytables\view.html.php
you will find a function called et_version() replace that function with the code below:
Note: you will have to do this for any updates, like the about to be released 1.0.5a.
function et_version($source='public')
{
/**
*
* Let's fake a version check.
*
**/
$et_version = '0.0';
$et_version_tip = JText::_('VERSION_CHECK_FAILED_TO_CONTACT_SERVER_');
$et_version_array = array("version" => $et_version, "tip" => $et_version_tip);
return $et_version_array;
}
For EasyTable Pro
Starting at line 28 through to line 60 of
\administrator\components\com_easytablepro\views\viewfunctions.php
you will find a function called et_version() replace that function with the code below:
Note: you will have to do this for any updates prior to the 1.0.0 release.
function et_version($source='public')
{
/**
*
* Let's fake a version check.
*
**/
$et_version = '0.0';
$et_version_tip = JText::_('VERSION_CHECK_FAILED_TO_CONTACT_SERVER_');
$et_version_array = array("version" => $et_version, "tip" => $et_version_tip);
return $et_version_array;
}
This method will be replaced in the 1.1 version of EasyTable for J! & the 1.0 version of EasyTable Pro to a browser based ajax solution which should work in a broad range of environments and prevent a component blocking failure occurring on the server.
RSForm!Pro is a powerful Joomla! form creator, helping you to create custom forms in minutes. The new product makes form management much easier and gives you the time to handle your clients better.
For only €19.00 how can you go wrong?
( We've used it for years... Shouldn't you? )
