FeedCache icon indicating copy to clipboard operation
FeedCache copied to clipboard

Odd looking function in error

Open nathanhornby opened this issue 11 years ago • 1 comments

PHP Warning: file_put_contents(../cache/feed.xml) [function.file-put-contents]: failed to open stream: No such file or directory in /Users/Nathan/httpdocs/******/lib/FeedCache.php on line 61

This is what I'm getting after replacing 'ROOT' with the actual path (ROOT isn't defined anywhere).

Odd that the function is within an anchor tag in the error? :s

nathanhornby avatar Feb 11 '14 10:02 nathanhornby

Sorry about that. I had ROOT defined elsewhere in my app. It was set to: $_SERVER['DOCUMENT_ROOT']

I replace the instance of ROOT in the script with $_SERVER['DOCUMENT_ROOT'].

erunyon avatar Feb 11 '14 11:02 erunyon