Please help. I’ve read many topics, describing the problems similar to mine, but i haven’t found the solution for my problem.
The problem is that after intalling Yii application on the server, when i start the application for the first time, it is loading fine, I can see the start page. But after clicking any link or just refreshing the page, I get an error:
include() [<a href='function.include'>function.include</a>]: open_basedir restriction in effect. File() is not within the allowed path(s):
After server restarting everything is the same - for the first time the starting page is loaded, and then i have the error.
well, on my local machine running under WinXP I’m using Aptana, and as for my local machine, everything works fine.
As for remote server - it’s running under Debian. Both server are Apache.
But I don’t understand how can IDE affect perfomance of the application on the remote server?
As I’ve mentioned above, after I restart remote server the application is beeing loaded fine. But after refreshing the page it’s showing the error. It seems, that after first initialisation the server is rewriting some constant value of some path, needed for the apllication…
might be it’s too late to response your problem!whatever,if your web-server is [font=“Arial,”]the Apache,you can prevent open base directory restriction problem by the httpd.conf like the following way…[/font]