View Full Version : GAB Install on 3.7.x plus Fix

03-29-2008, 09:08 PM
If you receive this error:

Invalid SQL:

SELECT profilefieldid, title
FROM profilefield;

MySQL Error : Unknown column 'title' in 'field list'
Error Number : 1054

Then do the following:
Open GAB_admin.php
if (substr($vbulletin->options['templateversion'],0,3)=="3.6")

Replace with:
if (substr($vbulletin->options['templateversion'],0,3)=="3.6" OR "3.7")

Fixed and now you will have a working GAB on 3.7.x

04-01-2008, 07:01 AM
Thanks, the current version of GAB already accounts for 'templateversion' so anyone running GAB 2.0.x and up need not make that change.

04-01-2008, 02:57 PM
Actually this is for the new version unless you added this earlier after the new release.

04-02-2008, 05:11 PM
GAB_admin.php from GAB v.2.0.2 contains the following. Don't recall when it was added.

if (substr($vbulletin->options['templateversion'],0,3) >= "3.6")