sbharill Posted April 10, 2013 Share Posted April 10, 2013 I am executing a php script from my home directiry in linux, script is executing but at the end of the script when it encounters below steps, it stops. This statement is create file. I have write access in the specified directory. I am very new to php and dont know how can i debug this or see the error.$objWriter->save($fileName); Quote Link to comment https://forums.phpfreaks.com/topic/276775-execution-stops-at-objwriter-save/ Share on other sites More sharing options...
davidannis Posted April 10, 2013 Share Posted April 10, 2013 Did it ever work? If not, find the code class objWriter { ... } and within it find function save(){ ... } and that is the code that fails to execute. Make sure error reporting is on. Insert a line before the line of code that fails echo $filename; to see what it is trying to write. Quote Link to comment https://forums.phpfreaks.com/topic/276775-execution-stops-at-objwriter-save/#findComment-1423917 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.