For problems and solutions related to database compatibility.

Table Creation problem

I have added code " CREATE TABLE invite" directly in the phpmyadmin for creating table as it was not created dynamically when i have activated invite module in admin->modules.

Is there any problem with this?

Please suggest.

Thanks

Problem utf8 mysql 4.1

Hello,

We are actually on drupal 4.6.4 mysql server (version 4.0 ) with ISO and latin1 charset.
We want to update in an other which have mysql server (version4.1) and all in UTF8.
But when we import the database we have many problems like this:
warning: min(): Array must contain atleast one element in /var/www/drupal-4.6.4/includes/menu.inc on line 917.

warning: array_key_exists(): The second argument should be either an array or an object in /var/www/html/drupal-4.6.4/includes/menu.inc on line 921.

Several DB SQL syntax in database.mysql.inc

I updated from 4.7.1 to 4.7.2 and getting now serveral SQL entries

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: SELECT DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /mnt/am2/08/231/00000012/htdocs/soccer-wikki.info/includes/database.mysql.inc in line 120.

Indeed, it is always the same entry so I took a look to the code in the INC file

Drupal 4.7/ sqlite

I have an updated version of the db layer for sqlite 2 (no PDO stuff). The only thing is tring to get logins to work without having to hack core. I have $user = user_load(array('uid' => 2)) in index.php to fix it. Some selects are al;so not working, so it needs more work before it is production ready. I have it on a local test site, but its not too useable at the moment. Theres a few posts on this, but nothing for 4.7 yet.

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL..

Hello, just a few hours ago I've noticed my website shows a bad warning, then stupid as I am I went to the database and delete all the cache table.

Then not much was working, as you can see on http://www.senserely.com

Now I realised that several other 4.7 drupal sites hosted on 1&1 show the same behavior, so what is it? Don't you have a problem with your own 1&1 hosting?

user warning: includes/database.mysql.inc on line 120.

user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'user)' at line 1 query: SELECT DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN (authenticated user) in /home/*********/public_html/includes/database.mysql.inc on line 120.

hi, I get this error on my page. and I have no idea how to fix it.

thank you very much.

faruk.

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Database compatibility