I'm trying to upgrade my site from V 4.6.4 to 4.7.4

I followed the upgrade instructions and the video to the 't' (including disabling the banner and any other contributed modules) and now im getting the following error...

Fatal error: Call to undefined function banner_display() in /home/.../includes/common.inc(1180) : eval()'d code on line 1

I've seen mention of it but not any specific solution. has anyone encountered this and can you provide me with some insight as to how to go about resolving it...

cheers...
s

Comments

cog.rusty’s picture

This function is not Drupal's. It is probably from banner module which you have uninstalled, and a call to this function was left in your theme's page.tpl.php. The function is not found now, hence the error message.

When you reinstall the 4.7 version of the module according to its instructions and run update.php the problem will hopefully go away.

strooltz’s picture

that helped alot...

still having one problem...

i installed the 4.7 banner module and now im getting the following error when i try and configure it from admin

Unknown column 'b.vid' in 'on clause' query: SELECT n.*, b.*, u.name FROM node n INNER JOIN banner b ON n.vid=b.vid INNER JOIN users u ON n.uid=u.uid ORDER BY workflow ASC LIMIT 0, 25 in...

thanks in advance

s

cog.rusty’s picture

Hmm... here it becomes harder. Banner module for Drupal 4.7 contains a vid field which was not there in 4.6, so you don't have it in your database.

In banner module's database table for Drupal 4.6:
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/banner/banner...

In banner module's database table for Drupal 4.7:
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/banner/banner...

I was hoping that running Drupal's update.php would fix that, as it does with most modules, that's why I mentioned it. The table must be altered, but I don't know much about what values (if any) should go into the new field. If update.php didn't work, you should probably ask the banner module's maintainer.

kenyob’s picture

Fatal error: Call to undefined function: banner_display() in /home/.../includes/common.inc(1180) : eval()'d code on line 1
I tried installing the category module and it seemed to interfere with the taxonomy module and all of my banners and forum categories stopped showing.
So last night I began playing with the category module trying to re-categorize my banner groups trying to get them to show again. After creating a block do display the new banner code I thought I was making some progress.
When I awoke in the morning all I see now is this error Fatal error: Call to undefined function: banner_display() in /home/.../includes/common.inc(1180) : eval()'d code on line 1

Im completely stuck.
Thanks in advance any advice would be greatly appreciated