Page 1 of 1

Intermittent Problems After 0.9 Install

Posted: Wed Nov 02, 2005 5:02 am
by rusty
Hi,

I'm having some really weird intermittent problems after installing s9y 0.9. My guess is they have nothing to do with s9y, but I'm not really a PHP expert, and would appreciate a nudge in the right direction.

Here are the problems I have observed:

1) If I don't check "Save information" on the admin logon page, I am constantly redirected back to it whenever I select a command. For example, I login successfully to my front page, select Configuration, and am prompted to login again. This happens repeatedly, such that I can never actually do anything.

2) When creating a new entry and attempting to preview it, the preview area will have one of the following content (in no particular predictable manner):
  • a) the entry preview I'm expecting
    b) the admin logon page
    c) my front page
The same behavior is observed when saving, as well.

3) If I don't give the s9y installation directory permission 777, problems 2(b) and 2(c) happen all the time (i.e. I never observe the expected behavior). My understanding is 777 is not necessary after installation (something like 775 or 755 should work).

I don't know if this matters or not, but my installation is slightly quirky due to restrictions imposed by my host. Basically, my s9y directory under htdocs is a symbolic link to the real installation directory. I can't think how this might be a problem, but I thought I'd mention it in the interest of full disclosure.

Thanks,

Rusty

Posted: Thu Nov 03, 2005 4:28 am
by rusty
As I suspected, my problems had nothing to do with s9y. My session cache was going to a local directory (/tmp), but my host is clustering, so my sessions were getting completely hosed. I changed session.save_path to point to a directory available to all machines in the cluster and every problem I observed (including permissions issues) was resolved.

Please excuse my ignorance... :oops:

Cheers,
Rusty