Fields not defined

Nigeria - December 21, 2007 - 11:09
Project:Mugshot
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:bonvga
Status:closed
Description

Great idea but I'm getting the following error when trying to display the mugshot gallery.

user warning: Unknown column 'm.path_full' in 'field list' query: SELECT m.mid, m.path, m.path_full, m.timestamp, m.visible, u.uid, u.name AS registered_name, m.sid, m.user_name, m.goo_level FROM mugshot m INNER JOIN users u ON m.uid = u.uid WHERE m.preview = 0 ORDER BY m.timestamp DESC LIMIT 0, 24 in /home/jackrobinson/public_html/includes/database.mysql.inc on line 172.

It appears as if at least two fields are missing

a) m.path_full
b) m.goo_level

--
Ade Atobatele

#1

bonvga - December 22, 2007 - 13:29
Assigned to:Anonymous» bonvga

Hi,

You must run the database update script before display the mugshot gallery.

Arnaud.

#2

Nigeria - December 23, 2007 - 19:21

That actually did not work...I had to go into the .install file, seek out the updates (all three of them) and apply them manually.

I think that you should NOT have to run the update when installing for the first time...it is sort of counter intuitive.

Having said all that once the module is working it's VERY good.

--
Ade Atobatele

#3

bonvga - December 25, 2007 - 23:23
Status:active» fixed

This bug is fixed (issue #203199).

Thanks again.

Arnaud.

#4

Anonymous - January 8, 2008 - 23:31
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.