Customizing SMF > SMF Coding Discussion

SQL error when changing guest theme

(1/2) > >>

Skoen:
I'm trying to change the guest theme for my forum.
I get this error:


--- Quote ---You have an error in your SQL syntax near ')
LIMIT 12' at line 5
Fil: /hsphere/local/home/dataport/dataportalen.com/forum/Sources/Themes.php
Linje: 397
--- End quote ---

[Unknown]:
Fixed... dumb typo...

-[Unknown]

Skoen:
Then I need to re-download the sql file and run upgrade.php again, or do I just have to re-download to get the correct Sources/Themes.php

[Unknown]:
I haven't uploaded it yet...

To fix it, you can go into your settings table and find the value of the "knownThemes" row.  Change it so it looks like a normal comma separated list - like "1,2,3,4" instead of "1,2,3,4,".

-[Unknown]

pulpitfire:

--- Quote from: [Unknown] on March 14, 2004, 11:20:37 PM ---... "1,2,3,4" instead of "1,2,3,4,"... :-\

--- End quote ---

Navigation

[0] Message Index

[#] Next page

Go to full version