Page 1 of 1

Warning: error_log() [function.error-log]: File

PostPosted: 21. June 2010 08:20
by jane1167
Hiya all.

I move a site to my localhost.
using xampp1.7.1 with zend optimizer enabled.

here's my [zend] portion in my php
Code: Select all

[Zend]
zend_extension_ts = "D:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
zend_extension_manager.optimizer_ts = "D:\xampp\php\zendOptimizer\lib\Optimizer"
zend_optimizer.enable_loader = 1
zend_optimizer.optimization_level=15
;zend_optimizer.license_path =
; Local Variables:
; tab-width: 4
; End:




but then i get this error
Warning: error_log() [function.error-log]: Filename cannot be empty in D:/xampp/.../...

This has been bugging me all week.
i ran out of ideas.
please help me get rid of it..

the ironic is,
a friend of mine set up the same website i have copied
and he did not get the error message and logged in just fine.

Re: Warning: error_log() [function.error-log]: File

PostPosted: 21. June 2010 11:17
by Nobbie
jane1167 wrote:but then i get this error
Warning: error_log() [function.error-log]: Filename cannot be empty in D:/xampp/.../...


As you *should* see, this is NOT an error, but only a warning.

jane1167 wrote:please help me get rid of it..


Unfortunately you are showing us a very incomplete message. Look at it carefully and simply edit the mentioned file (D:/xampp/..../...) jump to the line (which is also applied by the message) and look at the PHP Code and try to find out, which variable (which holds a file name) seems to be empty and why.

If you are unable to do that, you may switch off error reporting instead, as this does not influence you application (because it is a warning, not an error).

Re: Warning: error_log() [function.error-log]: File

PostPosted: 22. June 2010 07:52
by jane1167
Thanks noble for your reply.

Yes, i notice it is only a warning, and i did edit the targeted file that size was empty.
but to no avail still count not logged in. guess it is not because of the warning after all.
to get rid of the error,
i simply followed your advice on turning off the error reporting.

Thanks.
at least i have a new clue to investigate.

Re: Warning: error_log() [function.error-log]: File

PostPosted: 23. June 2010 18:14
by steeveherris
Actually it is not an error but it is only the warning, it will not able to stop you from your work. So no need to worry regarding that.