My Application Working Fine Only Local Host

I have application which is deployed on windows on my local machine…

after i deployed it on production server which is running over windows as well … only the login action work after that all rest action gives me

"Not Found

The requested document was not found on this server."

but after short time … it work fine

is that related to caching and if yes how i can handle this issue ?

If caching is turned on (either server or Yii) it could be the problem. Not sure how to clear it.

If you were to upload the same code again, do you get the same errors? Is it ALL other actions, or just new ones?

Not sure if I can help, but giving ideas of what to look for. I think if errors return after upload then it could be a caching problem. The other question was if you added actions and they didn’t work, but old ones did (or you got the ‘old’ data) it might point to a caching problem too.


I found the problem in my server … I had to edit my php.ini file and change the session.save_path value to be like:

session.save_path = /tmp

Glad to hear it, and thanks for posting your solution it may help others :)