Jump to content

Topic on Manual talk:How to debug

wfDebugLog works on web page but not in phpunit

2
Qdinar (talkcontribs)

when i put wfDebugLog in a php file it works when i open a local mediawiki page, but not when i run phpunit test.

Qdinar (talkcontribs)

it is permission problem. phpunit runs by user, local page runs by www-data. when i tried log file in user home folder, it works.

Reply to "wfDebugLog works on web page but not in phpunit"