11 Years
Discussion Span
Last Post by iamthwee

Do you know PHP? There is something wrong with my post cache, obviously. For whatever reason, your post includes a character or sequence of characters that breaks the PHP code I have which escapes your code and puts it into an external file. I will take a quick look, but I most likely won't be able to do anything until I get my computer in a couple of days. If I can't figure out the problem, I'll just disable the post cache until then.


Unfortunately I couldn't figure out why it can't read your snippet from the post cache, so I just created a workaround where if a cache of a code snippet does exist, and does contain the snippet, but it isn't readable for some reason, don't use it and just reparse the code snippet. I'll take a closer look at it in a couple of days.


For now it seems to work, thanks.

The offending line might be

root = 'D:\\Zz1\\Cartoons\\'

if backslashes are escapes in PHP. Sorry, I don't know the language.

root = 'D:\\Zz1\\Cartoons\\'

I have no idea if this will work but couldn't you replace the \\ with one / .

That's what I do when specifying the path in c/c++/java programs.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.