new database error.. what is this?

Started by funcouldron, November 21, 2008, 11:09:59 PM

Previous topic - Next topic

funcouldron

when i open this thread on my site,,, i get error

here is link
http://funcouldron.co.cc/fc/index.php/topic,218.0.html


here is error message
Database Error
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 '1)' at line 3
File: /www/110mb.com/f/u/n/c/o/u/l/d/funcouldron/htdocs/fc/Sources/Load.php
Line: 1250
Visit us at  ww.4moreFun.com

funcouldron

i found one more thing,,, this error comes when i try to open the posts mde by one user "dhruv garg"

http://funcouldron.co.cc/fc/index.php?action=profile;u=2

when i try to open his profile that time also i get same error
Visit us at  ww.4moreFun.com

Jade Elizabeth

Mods installed? Admin > Packages > Installed

Also, what did you do recently that may have started the error?

Quote from: funcouldron on November 21, 2008, 11:31:21 PM
i found one more thing,,, this error comes when i try to open the posts mde by one user "dhruv garg"

http://funcouldron.co.cc/fc/index.php?action=profile;u=2

when i try to open his profile that time also i get same error

That link requires an account :)
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

funcouldron

mods installed--yes
i recently added mod  stars and badges to resolve my member group problem
see this
http://www.simplemachines.org/community/index.php?topic=274185.0

after i uninstaleld the mod,,the error is gone but i got my membergroup problem again :(
Visit us at  ww.4moreFun.com

Jade Elizabeth

Quote from: Jade on November 21, 2008, 11:34:54 PM
Mods installed? Admin > Packages > Installed

I wanted to see the list from that place :)
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

funcouldron

username-test
password-test

okie here is list

1.     BK-SMF News Box Mod      1.5       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    BK-SMF Welcome Message Mod    1.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    Welcome Back    1.0    [ Uninstall ] [ List Files ] [ Delete ]
4.    BK-SMF Sub-Board    1.5    [ Uninstall ] [ List Files ] [ Delete ]
5.    Global Headers Footers    2.0    [ Uninstall ] [ List Files ] [ Delete ]
6.    Ad Managment    2.3.4    [ Uninstall ] [ List Files ] [ Delete ]
7.    Add IP2Location to Track IP    1.1    [ Uninstall ] [ List Files ] [ Delete ]
8.    SimplePortal Classic    2.0.5    [ Uninstall ] [ List Files ] [ Delete ]
9.    SMF Media Gallery    1.5 RC 2    [ Apply Mod ] [ List Files ] [ Delete ]
10.    Stars And Badges    2.1    [ Apply Mod ] [ List Files ] [ Delete ]
11.    Affiliates    1.1    [ Uninstall ] [ List Files ] [ Delete ]
12.    Member Notepad    1.0    [ Uninstall ] [ List Files ] [ Delete ]
13.    Enhance Recent Post    1.0    [ Uninstall ] [ List Files ] [ Delete ]
14.    Users Online Today    1.5.4    [ Uninstall ] [ List Files ] [ Delete ]
15.    Hide SMF Version    1.0.3a    [ Uninstall ] [ List Files ] [ Delete ]
16.    Images On Board    1.1    [ Apply Mod ] [ List Files ] [ Delete ]
17.    Registration redirection    0.1    [ Uninstall ] [ List Files ] [ Delete ]
Visit us at  ww.4moreFun.com

Jade Elizabeth

I only get errors as a guest.

Can you post the line from the file, with 5 lines ABOVE and BELOW the line here please? Use code tags :).
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

funcouldron

Visit us at  ww.4moreFun.com

Jade Elizabeth

Quote from: funcouldron on November 21, 2008, 11:09:59 PM
when i open this thread on my site,,, i get error

here is link
http://funcouldron.co.cc/fc/index.php/topic,218.0.html


here is error message
Database Error
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 '1)' at line 3
File: /www/110mb.com/f/u/n/c/o/u/l/d/funcouldron/htdocs/fc/Sources/Load.php
Line: 1250

Sources/Load.php
Line: 1250

I want lines 1245-1255 in code tags ( [code][/code] )  :D
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

funcouldron

Visit us at  ww.4moreFun.com

funcouldron

// The theme was specified by REQUEST.
elseif (!empty($_REQUEST['theme']) && (!empty($modSettings['theme_allow']) || allowedTo('admin_forum')))
{
$id_theme = (int) $_REQUEST['theme'];
$_SESSION['id_theme'] = $id_theme;
}
// The theme was specified by REQUEST... previously.
elseif (!empty($_SESSION['id_theme']) && (!empty($modSettings['theme_allow']) || allowedTo('admin_forum')))
$id_theme = (int) $_SESSION['id_theme'];
// The theme is just the user's choice. (might use ?board=1;theme=0 to force board theme.)
elseif (!empty($user_info['theme']) && !isset($_REQUEST['theme']) && (!empty($modSettings['theme_allow']) || allowedTo('admin_forum')))
$id_theme = $user_info['theme'];


its from 1245-1256
Visit us at  ww.4moreFun.com

funcouldron

Visit us at  ww.4moreFun.com

funcouldron

Visit us at  ww.4moreFun.com

Jade Elizabeth

I went to bed. Please dont bump topics that havent waited 24 hours.

Does this error occur on the CORE theme?
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

LOADING...


funcouldron

yes it comes in default theme if  " Stars And Badges " mod is installed ..

i think ther is nothing related to theme be cause error comes in load.php

here is code after instaling mode
// The theme was specified by REQUEST.
elseif (!empty($_REQUEST['theme']) && (!empty($modSettings['theme_allow']) || allowedTo('admin_forum')))
{
$id_theme = (int) $_REQUEST['theme'];
$_SESSION['id_theme'] = $id_theme;
}
// The theme was specified by REQUEST... previously.
elseif (!empty($_SESSION['id_theme']) && (!empty($modSettings['theme_allow']) || allowedTo('admin_forum')))
$id_theme = (int) $_SESSION['id_theme'];
// The theme is just the user's choice. (might use ?board=1;theme=0 to force board theme.)
elseif (!empty($user_info['theme']) && !isset($_REQUEST['theme']) && (!empty($modSettings['theme_allow']) || allowedTo('admin_forum')))
$id_theme = $user_info['theme'];

Visit us at  ww.4moreFun.com

Jade Elizabeth

Then it is a problem with that mod and you should contact the author :)
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Advertisement: