News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Problem creating new Membergroups -RC2-

Started by lindawww, December 31, 2005, 01:35:48 PM

Previous topic - Next topic

lindawww

I try to add a  new Membergroup  and....

"You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' '')' at line 3
File: /home/infonel/public_html/estuinfo/Sources/ManageMembergroups.php
Line: 264 "


I cannot create a new Membergroup

Fizzy

Hi,

Can you confirm that your file looks like


db_query("
INSERT INTO {$db_prefix}membergroups
(ID_GROUP, groupName, minPosts, stars, onlineColor)
VALUES ($ID_GROUP, SUBSTRING('$_POST[group_name], 1, 80)', " . ($postCountBasedGroup ? (int) $_POST['min_posts'] : '-1') . ", '1#star.gif', '')", __FILE__, __LINE__);


Lines 261 to 264
"Reality is merely an illusion, albeit a very persistent one." - A.E.


Fizzy

The Boss has a fix for this

Please use the attached file
"Reality is merely an illusion, albeit a very persistent one." - A.E.



Fizzy

Please don't thank me ...

Thank "The Man who Can"  Mr Grudge ;)



"Reality is merely an illusion, albeit a very persistent one." - A.E.


Skipdawg

Quote from: Fizzy on December 31, 2005, 01:49:17 PM
The Boss has a fix for this

Please use the attached file

Well I'm glad there is a fix and some folks know what to do with it but! What do i do with this file?
I see a ManageMembergroups.template.php file there. Do we add this someplace or replace something or what? Come on folks were not all coders.
Skipdawg's Community

Powered by SMF 1.1.3

Skipdawg

Skipdawg's Community

Powered by SMF 1.1.3

Advertisement: