Schema version 88 changes cause a warning

Development-related discussion, including bundled plugins
User avatar
gmargo
Bear Rating Disaster
Bear Rating Disaster
Posts: 62
Joined: 08 Jan 2012, 22:33
Location: Silicon Valley

Schema version 88 changes cause a warning

Postby gmargo » 27 Jan 2012, 05:54

Transitioning to from schema version 87 to 88, I started getting warnings in the Apache log file.
Every time the mouse enters the login page, the following warning shows up:

Code: Select all

[Thu Jan 26 17:37:51 2012] [error] [client 127.0.0.1] PHP Warning:  pg_fetch_result(): Unable to jump to row 0 on PostgreSQL result index 23 in <pathinfo...>/Tiny-Tiny-RSS.git/include/db.php on line 99, referer: http://localhost/tt-rss/index.php


I ran into this when merging the current HEAD:
9de4bb4898b25126bfb1554ec970e79f2b2ec0d0 (update notifier permissions and logos)

Since I had backed up the database before the schema upgrade, I was able to go
back and isolate the first commit that caused the warning.

Tag 1.5.9 (commit 8689b8070bda50afe0d822cdd312a591227c3d7a)
uses Schema 87 and has no problem.

After applying the following two commits which bump the schema to version 88,
e90053fe8400893190f6b91bb4b78abe481f2e7f (improve password storage (use sha256 and long random salt)
3a2c5c6642096f34f8de715d28ecf8636aaab8e1 (fix login before updating to schema 88)

then the warning showed up in the apache log.

I'll try to track it down further, but I thought I'd mention it now.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Schema version 88 changes cause a warning

Postby fox » 27 Jan 2012, 12:22



Return to “Development”

Who is online

Users browsing this forum: No registered users and 2 guests