Topic: Fatal error when running on webhosting
On our webhosting the ImageManager module doesn't work. The same code does work on our dev server.
On our webhosting, upon clicking the image browse button to open the ImageManager window opens and dislays a PHP error:
Fatal error: main(): Failed opening required 'error' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/modules/tinymce/tinymce/jscripts/tiny_mce/plugins/imagemanager/includes/general.php on line 37After some tracing of the code, I found the problem is general.php is trying to include a file which does not exist:
"/var/www/html/modules/tinymce/tinymce/jscripts/tiny_mce/plugins/imagemanager/includes/../classes/Utils/.php"The file that should be loaded is
$mcImageManagerConfig['thumbnail'] = "ImageToolsGD";as defined in the default_config.php
The problem appears to occur when the config.php is included and the
require_once("classes/Authenticators/DrupalAuthenticatorImpl.php");include occurs. After that the $mcImageManagerConfig turns to NULL!
I'm running Drupal 4.7.3 - any ideas what could be causing this, I'm assuming its apache/php related as the same setup works okay on our dev server. The hosting is shared, running Ensim, should that make any difference to debugging this problem.