Ticket #58 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

tt-rss.php and error.php?c=6 loop

Reported by: levine@yoyo.org Assigned to: fox
Priority: major Milestone:
Component: interface Version: 1.1.4
Keywords: Cc:

Description

Just installed a new version of 1.1.4 with MySQL.

Installed the schema and set the db user/pass variables in config.php.

Loading up login.php in Konqueror causes a loop to occur between tt-rrs.php and error.php?c=6 calling each other, over and over again. At the bottom of the screen I see:

Warning: mysql_real_escape_string(): Access denied for user 'www-data'@'localhost' (using password: NO) in /home/levine/public_html/rss/db.php on line 40

Warning: mysql_real_escape_string(): A link to the server could not be established in /home/levine/public_html/rss/db.php on line 40

In Firefox, I get a screen with an error message saying:

Backend sanity check failed. D001;

The db credentials are fine..

Thanks

Neil

Change History

03/30/06 22:34:09 changed by fox

Check session length config variables and/or toggle database backed sessions.

03/30/06 23:32:17 changed by levine@yoyo.org

Not sure which variables you are suggesting I look at? Doesn't the error message imply a connection attempt as the web user to the backend, which is failing?

03/31/06 00:28:45 changed by fox

SESSION_EXPIRE_TIME, DATABASE_BACKED_SESSIONS and few others. The defaults for SESSION_* should be okay if you installed fresh new version.

The message implies that the backend, for whatever reason, doesn't recognized user as logged in, e.g. there is a session data registration problem.

03/31/06 00:44:13 changed by levine@yoyo.org

Ok, setting DATABASE_BACKED_SESSIONS to false seems to cure this problem...

03/31/06 00:55:17 changed by fox

  • status changed from new to closed.
  • resolution set to fixed.

In the next version db-sessions will be disabled by default, as they don't seem to work on some PHP configurations.