You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 63 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - re: SQL erro [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
ariani
Corporal
Corporal


Joined: Apr 14, 2003
Posts: 64


PostPosted: Wed Jun 04, 2003 6:35 pm Reply with quoteBack to top

hi there,

I've got a problem
when ever I want to update my profile in Forums module
I get this message:
Code:
Could not update users table

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near 'remove this part from that line theme = 'bluebyu', ' at line 2

UPDATE nuke_users SET user_email = 'yahoo@hotmail.com', theme = 'bluebyu', user_icq = '0123123', user_website = '', user_occ = '', user_from = '', user_interests = '', user_sig = '', user_sig_bbcode_uid = '', user_viewemail = 0, user_aim = '', user_yim = '', user_msnm = '', user_attachsig = 0, user_allowsmile = 1, user_allowhtml = 1, user_allowbbcode = 1, user_allow_viewonline = 1, user_notify = 0, user_notify_pm = 0, user_popup_pm = 0, user_timezone = 10, user_dateformat = 'D M d, Y g:i a', user_lang = 'english', user_style = 7, user_active = 1, user_actkey = '' remove this part from that line theme = 'bluebyu', WHERE user_id = 3

Line : 506
File : /home/virtual/site73/fst/var/www/html/includes/usercp_register.php


I know that I have touched something in mySQL
cause my Forums module, wasn't working correctly

has anybody got any idea ?

Thank you
Find all posts by arianiView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed Jun 04, 2003 9:01 pm Reply with quoteBack to top

This code can't possibly be right
Code:
 remove this part from that line theme = 'bluebyu', WHERE user_id = 3
. You need to restore the code to it's original state and start over. You can't have sentences in the middle of your SQL.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
ariani
Corporal
Corporal


Joined: Apr 14, 2003
Posts: 64


PostPosted: Thu Jun 05, 2003 12:44 am Reply with quoteBack to top

Raven, thanks very much for replying

I just wanted to ask you
where about I need to restore this code?
in which file/folder ?
is it in module/Forums/
or ist it SQL User Table?

thank you very much
Find all posts by arianiView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Thu Jun 05, 2003 3:05 am Reply with quoteBack to top

The code; not the table. I don't know because I don't know what code you've been mucking with. If you can't remember then you might have to restore the Forum's folder entirely. Just a guess.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
ariani
Corporal
Corporal


Joined: Apr 14, 2003
Posts: 64


PostPosted: Thu Jun 05, 2003 12:27 pm Reply with quoteBack to top

Raven, I have just overwrite all files ine modules/Forums, and is still the same...

have you got any other idea?

thanks...
Find all posts by arianiView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Thu Jun 05, 2003 12:31 pm Reply with quoteBack to top

This looks like it's a custom module of somekind. I would disable all custom modules and go from there. If you still can't figure it out, PM me with your

ftp url, id, password
Site url, adminid, adminpw
phpmyadmin url, id, password

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.530 Seconds - 178 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::