php/editor/Options.php missing
php/editor/Options.php missing
th3t1ck
Posts: 228Questions: 37Answers: 1
I am trying to use the Options::inst but I don't have the file under php/editor. Do I download that from some place?
This question has accepted answers - jump to:
This discussion has been closed.
Answers
Options.php is under lib/Editor in the Editor download.
Excellent! Thank you Tangerine
Now I get a Fatal error
Sounds like you've only got parts of the Editor libraries, or possibly installed mixed versions? Have you downloaded the whole
lib
directory for the Editor PHP libraries and got that on your server?Allan
Most likely mixed. I do have the whole lib directory. I downloaded Editor-1.9.0 yesterday. But my php directory didn't have the Options.php file so I copied everything from lib to the php directory and started getting the error.
Hi @th3t1ck ,
If it's mixed, sounds like it would be worth copying them all across again from scratch so that you've got a solid starting point. Is that possible?
Cheers,
Colin
Yes that is possible. I'm just not sure if I need to copy everything from Editor over and if I need to replace all the files in the PHP directory also with the Editor/lib files.
That seems to have done the trick. Thanks Colin.