Hi
I have installed a dev version of my Drupal site into "/home/user/public_html/dev/drupal/" -> http://dev.drupal.tld
Live version of this site is installed into "/home/user/public_html/" -> http://drupal.tld
Live version is working fine but dev version (copy of live) isn't and problem is that I can't login to that site (drupal notice: access denied).
The problem seems to be in cookie that appears to be missing and I haven't figured out why and how.
From database I've debugged that session table is being populated with new sessions.
However, wihtout cookie it can't recognize visitor. Why isn't that cookie being saved and/or generated?
In settings.php I've configured base url, cookie domain and db (of course) per site.
This has happened with different php versions and at least from D7.29 onwards.
EDIT:I downloaded the BLOB from sessions table and this is what it holds: Notice: A session had already been started - ignoring session_start() funktiossa drupal_session_start() (rivi 287 file /home/user/public_html/includes/session.inc).";}}
Comments
_
Are the dev and live versions sharing a database?
- Brendan
Nope
I've now forgot my dev site but seems like live is having same issues.
I just cleared cache via phpmyadmin and I got logged in.
But in the end this seems very unstable and not ready for production at all.
These problems didn't occur on localhost and seems like it is due to moving into shared host.
Well, I installed Drush to generate a makefile
and used that file to download a "vanilla" codebase. Login works now perfectly!