I logged in on my Drupal 5 beta 1 installation as admin. I have tried almost all functions (heavy testing :)) without problems and errors but when i logged out i give many DB warnings.
I had same problem with previous Drupal 5 cvs few days ago but if i tried complete new installation from scratch (i have erase database and create new) this problem go on. Now is again here.
I have installed DEVEL module and i discover this weird thing.
0.93 0 db_lock_table BEGIN; LOCK TABLE drupal_cache_page IN EXCLUSIVE MODE
2.04 0 cache_set UPDATE drupal_cache_page SET data = '�', created = 1162451974, expire = -1, headers = 'Content-Type: text/html; charset=utf-8' WHERE cid = 'http://www.fem.uniag.sk/drupal5/'
0.84 0 cache_set INSERT INTO drupal_cache_page (cid, data, created, expire, headers) VALUES ('http://www.fem.uniag.sk/drupal5/', '�', 1162451974, -1, 'Content-Type: text/html; charset=utf-8')
0.39 0 db_unlock_tables COMMIT
I don't understand where DRUPAL get this character which is generate errors:
Warning: pg_query() [function.pg-query]: Query failed: ERROR: invalid byte sequence for encoding "UNICODE": 0x8b in /data/www/htdocs.cms/drupal/includes/database.pgsql.inc on line 125
Warning: ERROR: invalid byte sequence for encoding "UNICODE": 0x8b query: cache_set UPDATE drupal_cache_page SET data = '�', created = 1162451974, expire = -1, headers = 'Content-Type: text/html; charset=utf-8' WHERE cid = 'http://www.fem.uniag.sk/drupal5/' in /data/www/htdocs.cms/drupal/includes/database.pgsql.inc on line 144
Warning: pg_affected_rows(): supplied argument is not a valid PostgreSQL result resource in /data/www/htdocs.cms/drupal/includes/database.pgsql.inc on line 241
I have enable locale module with selected SK language (but for now without any translations). This error i get only if i not logged in. I have tried disable localization but errors still presents. Nov i have enable devel module for anonymous users too.
Here is site: http://www.fem.uniag.sk/drupal5/
Comments
Comment #1
havran commentedI have examine this problem and i discover problem in cache_set() function from file includes/cache.inc (look for 3 exclamation mark :))
should be
Same problem is too in CVS version.
Comment #2
havran commentedI miss same error in INSERT query, here is corrected version of function cache_set:
Comment #3
havran commentedHmm sorry this problem need some more examination from caching system guru - now i have much more problems then before.
Comment #4
havran commentedPS: this problem is present only when is caching enabled and when i not logged in. Devel module help me for examination this...
Comment #5
doq commentedLooks like devel module breaks smth - there is timer < 0. Please, submit new issue for this.
And then close this issue marking this as duplicate for http://drupal.org/node/92430 .
Comment #6
doq commentedSmth strange has happed with my prev/ post.
Looks like the problem is with devel module or with somewhere in Drupal - timer value is < 0. Please create new issue for this. And then mark current issue as duplicate of http://drupal.org/node/92430 .
Comment #7
doq commentedSmth strange has happed with my prev/ post.
Looks like the problem is with devel module or with somewhere in Drupal - timer value is < 0. Please create new issue for this. And then mark current issue as duplicate of http://drupal.org/node/92430 .
Comment #8
doq commentedhmmmmm. IE maybe:)
Comment #9
doq commentedSmth strange has happed with my prev/ post.
Looks like the problem is with devel module or with somewhere in Drupal - timer value is < 0.
Please create new issue for this.
And then mark current issue as duplicate of http://drupal.org/node/92430 .
Comment #10
doq commentedSmth strange has happed with my prev/ post.
Looks like the problem is with devel module or with somewhere in Drupal - timer value is less 0.
Please create new issue for this.
And then mark current issue as duplicate of http://drupal.org/node/92430 .
Comment #11
doq commentedSmth strange has happed with my prev/ post.
Looks like the problem is with devel module or with somewhere in Drupal - timer value is less 0.
Please create new issue for this.
And then mark current issue as duplicate of http://drupal.org/node/92430 .
Comment #12
havran commentedI have tried patch from http://drupal.org/node/92430 second time and i agre - patch is god and working. Now here is new problem - with negative value which is return from function timer_read('page') in function statistics_init() (in statistics.module).
Comment #13
havran commentedOk, this is duplicate with http://drupal.org/node/92430 - now we have only one thread :)