Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: docmikeb - elokuu 01, 2011, 12:47:32 AP

Otsikko: Database error when I try to edit permissions
Kirjoitti: docmikeb - elokuu 01, 2011, 12:47:32 AP
First of all... sorry if this is not the right place.
This is my very first post.

I am the administrator of a SMF site, but I am not a programmer (I have a talented one who helps me)

These are the mods installed (attachment)

When I click on gallery permissions I have this database error

I asked to the creators of  SMF Gallery Pro if this could depend on their mod and I'm waiting for a reply, but maybe someone of this forum could give me an hint... to understand the possible reason of this error.

Database Error

Unknown column 'Array' in 'where clause'
File: /home/dreamsla/public_html/eastwing/Sources/Load.php(1737) : eval()'d code
Line: 4396

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.14, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.


This way I could make the work easier to the programmer.

Thanks in advance.
Otsikko: Re: Database error when I try to edit permissions
Kirjoitti: Illori - elokuu 01, 2011, 05:43:59 AP
admin -> server settings disable evaluation of templates check and save, post any new error messages without eval in them.
Otsikko: Re: Database error when I try to edit permissions
Kirjoitti: docmikeb - elokuu 01, 2011, 07:41:11 AP
Sorry, but I don't see that option.

This is all I have in Server Settings (attachment).
My SMF forum is version 1.1.14
Otsikko: Re: Database error when I try to edit permissions
Kirjoitti: Illori - elokuu 01, 2011, 07:42:50 AP
sorry forgot this was the 1.1.1* board. install http://custom.simplemachines.org/mods/index.php?mod=2054 and enable it, then post the new error messages without eval in them.
Otsikko: Re: Database error when I try to edit permissions
Kirjoitti: docmikeb - elokuu 01, 2011, 07:57:19 AP
Thank you

Downloaded and installed

And now the error looks like this...

Unknown column 'Array' in 'where clause'
File: /home/dreamsla/public_html/eastwing/Themes/default/Gallery.template.php
Line: 4396
Otsikko: Re: Database error when I try to edit permissions
Kirjoitti: Illori - elokuu 01, 2011, 07:58:25 AP
post that error in the mods support thread gallery.template.php is not a default file.
Otsikko: Re: Database error when I try to edit permissions
Kirjoitti: docmikeb - elokuu 01, 2011, 08:00:28 AP
Thank you... yes, I think it could be related with Gallery Pro.
I'll post in the mods thread.
Otsikko: Re: Database error when I try to edit permissions
Kirjoitti: docmikeb - elokuu 01, 2011, 05:48:57 IP
Hello again
Just to inform that I solved the problem.  :)
It was an old version of a template of a GalleryPro mod.
My friend (the programmer) and an expert of SMF Hacks fixed it.
Thank you very much for teaching me the "trick" (To install the mod that allows to Disable Evaluation of Templates).