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

Problems with the Windows version of XAMPP, questions, comments, and anything related.

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

Postby jane1167 » 21. June 2010 08:20

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.
jane1167
 
Posts: 6
Joined: 19. June 2010 15:47

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

Postby Nobbie » 21. June 2010 11:17

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).
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

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

Postby jane1167 » 22. June 2010 07:52

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.
jane1167
 
Posts: 6
Joined: 19. June 2010 15:47

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

Postby steeveherris » 23. June 2010 18:14

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.
steeveherris
 
Posts: 2
Joined: 17. June 2010 05:49


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 88 guests