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); 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. 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
Archived
This topic is now archived and is closed to further replies.