Forum


Replies: 4   Views: 7046
Fatal error class not found
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by niek  · 06-11-2013 - 14:35

Hi,



I Copied the community-files to the server. When i want to execute a simple test-script:



require_once (get_stylesheet_directory() . '/phpdocx/classes/CreateDocx.inc');

$docx = new CreateDocx();

$docx->addText('Hello world!');

$docx->createDocx('../word_documents/hello_world');

 



I receive this error:



Fatal error: Class 'LoggerRendererMap' not found in /home/user/domains/-url-/public_html/site/wp-content/themes/theme1/phpdocx/lib/log4php/LoggerHierarchy.php on line 82



It finds the CreateDocx.inc', so the pathreference works. It doesn't find the other scripts in the lib (sub)folders.



when i copy the loggerrenderermap.php to the log4php it gives a next error referring to antother document in the subfolder



Puzzling and searching internet whole day. Any help would be great!