I am trying to upgrade from 4.5.2 to 4.6.0. and I get the following fatal error in the process:
user error: Unknown column 'severity' in 'field list'
query: INSERT INTO watchdog (uid, type, message, severity, link, location, hostname, timestamp) VALUES (1, 'page not found', 'update.php not found.', 1, '', '/update.php', '84.94.123.238', 1111156918) in /home/ramit/fwnetwork_new/htdocs/includes/database.mysql.inc on line 66.
I was surpised when I upgraded (upgrade.php) and selected from 4.5 (to 4.6, today's release) to see in the php output that upgrades from 2004 were performed on my sql tables!
eg.
2004-10-31: first update since Drupal 4.5.0 release
DROP TABLE {search_index}
OK
Perhaps I should go back and upgrade from default, 'all upgrades'?
................................................................
"It's never too late to have a happy childhood."
I tried to upgrade my 4.4 flexinode module into 4.5. Though it's working quite good, there seems a problem with old flexinode data of type file.
I noticed this mapping of serialized fields (object vars):
Old || New
===========
name -> filename
path -> filepath
size -> filesize
So when the module tries (using $file object on flexinode_field_file_format hook) to pick up uploaded files, it fails coz the fields is different from what the new object has.
I'm new at Drupal, and I have seen that 4.6 version is recently released. I have installed it, and installed the fscache & filestore2 modules in order to make a downloads module.
The matter is that this modules were designed for 4.5 version, and when I tried to upload a file:
I click on Create new content, upload file, and I receive the following error:
Fatal error: Call to undefined function: check_query() in /home/sadrian/public_html/drupal/modules/fscache.module on line 78
Anyone else getting an error message like this when they login?
warning: in_array(): Wrong datatype for second argument
in /includes/common.inc(1882) : eval()'d code on line 3.
The error message above appears where a custom PHP block should appear for ADMIN only..i.e. I used to have a php based block that only displayed if the user has the "Site Admin" role.
the custom block - which worked very well with 4.5.0 is below.