10-27-2011, 04:11 PM
(10-27-2011, 12:26 AM)amwassil Wrote: Browser Error:
http://www..../install/install.php
inc/inc.Settings 1 OK
inc/inc.Settings 2 OK
Fatal error: Call to a member function xpath() on a non-object in /.../inc/inc.ClassSettings.php on line 232
The script fails here: inc/inc.Settings.php
049 echo 'inc/inc.Settings 1 OK</br>'; // added for debug
050 require_once('inc.ClassSettings.php');
051 echo 'inc/inc.Settings 2 OK</br>'; // added for debug
052 $settings = new Settings();
053 echo 'inc/inc.Settings 3 OK</br>'; // added for debug
So the script fails at: $settings = new Settings();
So it happens in the constructor of the class Settings(). The only reasonable cause for that is a failure in reading the configuration file.
Place some echos in the constructor of class Settings in inc/inc.ClassSettings.php.
You could for example echo the $configFilePath.
Uwe