Bizzare "Undefined constant", PS-127.100
Dear all,
I starting to evaluate new wersion of PS and faced a very strange problem.
I have an external file "/usr/share/php/nexxOmnia" , which is a php file I would like to include.
Please have a look on attached screenshots.
IDE actually sees it, but showing me this strange warning:
Is there any way to fix this?
Thanks,
Evgeny
请先登录再写评论。
Hi Evgeny,
Adding quotes around file name should help:
Thanks for a very prompt reply. Putting quotes helped.
In addition I have another error "Can't resolve target of expression". Actually as it seen from the baloon, IDE can resolve this path.
But for some strange reason, error messasge stays.
In addition I have this too:
(I've seen there was the quite similar problem in the past (http://devnet.jetbrains.com/thread/304955)
And now it's back. Any chance this can be corrected?
Thanks,
Evgeny
Well .. if you can edit your files, you may start such include path with specifying current folder first (I mean: require_once './../../file.php') -- may work. But even if it will work -- it's not a proper solution (to edit plenty of files just to satisfy single IDE inspection).
For me:
Oh... Ok, then.
Since the project runs fine, I will probably leave it as is for now and wait for the newer PS releases.
Regards,
Evgeny
Here is a solution if you wish to edit your include/require statements:
Don't know if it's actually an acceptable solution for you, though.