After testing some modules (Boost, Authcache, css_emimage, Advanced CSS/JS Aggregation with cacherouter and APC)
I suddenly couldn't login anymore
I stayed logged in until I log out, then login fails

All sites in this multisites install behave the same.
I have disable I disabled these modules, renamed the cache directory, disabled mysql cache and apc....

Creating a new web site is impossible, the wizard never complete - the site is created, but login is impossible
Even phpmyadmin is unsusable - same behaviour

Help would be much apreciated

Comments

nourcy’s picture

uninstall properly your modules in order to remove variables. Look in the settings.php if you have set a cookie domain

vm’s picture

nothing in drupal would affect phpmyadmin and it's login.

This has to be something in your environment causing the issue.

jvieille’s picture

Yes, it is certainly an environment issue.
Any idea of what can be wrong?

JV

vm’s picture

unfortunately.... no.

jvieille’s picture

This is where I am now:

- I cannot login normally, but if I edit the sessions table, entering my user id instead of 0, I get in

- I can create and edit nodes without any problem
- I cannot delete nodes,enable / disable modules, I can do that in the database

what is different in the handling of these 2 kinds of situations regarding mysql or php operations?

Thanks

JV

vm’s picture

cookie issue?

vm’s picture

cookie issue?

empty sessions, clear cache and test?

vm’s picture

cookie issue?

empty sessions, clear cache (browser and DB) and test?

jvieille’s picture

that does not help
I found the problem, at least something tightly related

My system does not seem to handle cache correctly.
For example, the module list does not correspond to the one in database, I can see modules that I physically removed from the module folder, and so on.

I said that I could edit node: this is true for some, not for others.

Also, the behavior is the same for the all sites in a multi-site install, as well as a totally independent stand alone install.

Any idea where in either php, apache or mysql I should look for?

JV

jvieille’s picture

Problem solved

https://www.virtualmin.com/node/19097

This might help someone, some days...

JV