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, 68 guest(s) and 1 member(s) that are online.

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

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Symbio
Guest






PostPosted: Wed May 07, 2003 5:21 am Reply with quoteBack to top

hi nukerz! i have a small problem, in my page's footer, there is:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/symbio/public_html/includes/sql_layer.php on line 286
Unknown column 'uid' in 'field list'

i searched the forum, and found out that this should happen only, when the portal is upgraded from 6.0 to 6.5, but i made a fresh PHPNuke 6.5 installation, everything works fine accept this little thing :/

do i have to remove uid somehow? ... please help Wink
Find all posts by Anonymous
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed May 07, 2003 5:31 am Reply with quoteBack to top

If it was a fresh install then this should only happen if you have added a block/module that isn't 6.5 ready.

[Rest edited out - misread original post]

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff

Last edited by Raven on Wed May 07, 2003 5:45 am; edited 2 times in total
Find all posts by RavenView user's profileSend private messageVisit poster's website
Symbio
Guest






PostPosted: Wed May 07, 2003 5:40 am Reply with quoteBack to top

yes, i added wysiwyg module, but it's 6.5 compatible :/

i have added some blocks and modules too, but that was a long time ago and then the problem did not occur.

maybe i should make some sql changes by hand?
Find all posts by Anonymous
Symbio
Guest






PostPosted: Wed May 07, 2003 5:50 am Reply with quoteBack to top

very strange :S ... should there be a tabla calle "field_list" or something?.. i didn't find one in my database..

i just checked original nuke.sql dump and there was nothing like field_list, same is with eh wysiwyg module. :/
Find all posts by Anonymous
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed May 07, 2003 6:04 am Reply with quoteBack to top

Like I said earlier, check the modules/blocks you just added. Verify that the tables are in the database that they need. Also, I deleted your last post because it was not related at all to this thread. Resubmit it under a new thread and in the proper forum.

_________________
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
Symbio
Guest






PostPosted: Wed May 07, 2003 6:08 am Reply with quoteBack to top

all the blocks, that are in my homepage, were in phpnuke blocks folder from the start (i have added only Enhanced Downloads module, which is not the problem (+it's for 6.5)).. and like i said, the problems started when i installed wysiwyg module .. still .. maybe i should rename all the "uid" tables to "user_id" ?
Find all posts by Anonymous
Symbio
Guest






PostPosted: Wed May 07, 2003 6:14 am Reply with quoteBack to top

i just realized that this error is displayed for logged in users.
Find all posts by Anonymous
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed May 07, 2003 6:21 am Reply with quoteBack to top

Symbio wrote:
all the blocks, that are in my homepage, were in phpnuke blocks folder from the start (i have added only Enhanced Downloads module, which is not the problem (+it's for 6.5)).. and like i said, the problems started when i installed wysiwyg module .. still .. maybe i should rename all the "uid" tables to "user_id" ?

uid was changed to user_id for base nuke tables. If you have code that is addressing the base nuke tables, then you will need to make that change. If this is in the wysiwyg module, then verify through phpMyAdmin what the column names are. If uid is NOT on the table it is calling and user_id is, then change it. That would also negate your statement that wysiwyg is ready for 6.5. Contact the author if that is the case.

_________________
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
Symbio
Guest






PostPosted: Wed May 07, 2003 6:31 am Reply with quoteBack to top

i didnt modify the mysql database but i changed the wysiwyg, now the uid error ise gone (i change all "select uid"'s to "select user_id" and $uid to $user_id) but no there's ANOTHER error :/

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/symbio/public_html/includes/sql_layer.php on line 286
Unknown column 'uname' in 'where clause'
Find all posts by Anonymous
Symbio
Guest






PostPosted: Wed May 07, 2003 6:35 am Reply with quoteBack to top

sheesh. .i removed (successfully ...whoo Smile) wysiwyg module and there's no error anymore.. now i know what the problem was.. but solution was too stealth for me Razz
Find all posts by Anonymous
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Wed May 07, 2003 6:44 am Reply with quoteBack to top

Symbio wrote:
i didnt modify the mysql database but i changed the wysiwyg, now the uid error ise gone (i change all "select uid"'s to "select user_id" and $uid to $user_id) but no there's ANOTHER error :/

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/symbio/public_html/includes/sql_layer.php on line 286
Unknown column 'uname' in 'where clause'

It appears you do not have the 6.5 port if there is one. If you read the CHANGES log that came with nuke 6.5 you will see all of the column changes.
Quote:
- Some "nuke_users" table fields renamed. This is a very important change to have full compatibility with
phpBB 2.x Forums modules. Original name => Renamed fields are:
uid => user_id
uname => username
email => user_email
url => user_website
user_intrest => user_interests
pass => user_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
Symbio
Guest






PostPosted: Wed May 07, 2003 6:46 am Reply with quoteBack to top

hm...i didn't read that file.. but i'll try that later:)
Find all posts by Anonymous
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
You can post new topics in this forum
You can 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.205 Seconds - 186 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::