Forum


Replies: 6   Views: 4248
Addimage not doing anything
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 naoki.peter  · 11-04-2013 - 12:12

Hi aemka

Did you try to enable the log - tool for phpdocx?

Navigate to the phpdocx folder, open "classes/conf" and edit the file "log4php.properties". You can there insert following code:
[code]
#log4php.rootLogger = WARN, phpdocx_error

#log4php.appender.phpdocx_error = LoggerAppenderConsole
#log4php.appender.phpdocx_error.layout = LoggerLayoutPattern
#log4php.appender.phpdocx_error.layout.ConversionPattern = %d %p - %m%n

log4php.rootLogger = DEBUG, phpdocx_error

log4php.appender.phpdocx_error = LoggerAppenderRollingFile
log4php.appender.phpdocx_error.file = /tmp/phpdocx.log
log4php.appender.phpdocx_error.layout = LoggerLayoutTTCC
log4php.appender.phpdocx_error.MaxFileSize = 2MB
log4php.appender.phpdocx_error.MaxBackupIndex = 3
[/code]

After you call your script, it should write stuff in the logfile "/tmp/phpdocx.log". Perhaps there you find more information about the problem.

Greetings