| Author |
Message |
Symbio
Guest

|
Posted:
Wed May 07, 2003 5:21 am |
  |
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  |
|
|
 |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Wed May 07, 2003 5:31 am |
  |
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 |
|
    |
 |
Symbio
Guest

|
Posted:
Wed May 07, 2003 5:40 am |
  |
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? |
|
|
 |
 |
Symbio
Guest

|
Posted:
Wed May 07, 2003 5:50 am |
  |
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. :/ |
|
|
 |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Wed May 07, 2003 6:04 am |
  |
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 |
|
    |
 |
Symbio
Guest

|
Posted:
Wed May 07, 2003 6:08 am |
  |
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" ? |
|
|
 |
 |
Symbio
Guest

|
Posted:
Wed May 07, 2003 6:14 am |
  |
i just realized that this error is displayed for logged in users. |
|
|
 |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Wed May 07, 2003 6:21 am |
  |
| 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 |
|
    |
 |
Symbio
Guest

|
Posted:
Wed May 07, 2003 6:31 am |
  |
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' |
|
|
 |
 |
Symbio
Guest

|
Posted:
Wed May 07, 2003 6:35 am |
  |
sheesh. .i removed (successfully ...whoo ) wysiwyg module and there's no error anymore.. now i know what the problem was.. but solution was too stealth for me  |
|
|
 |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Wed May 07, 2003 6:44 am |
  |
| 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 |
|
    |
 |
Symbio
Guest

|
Posted:
Wed May 07, 2003 6:46 am |
  |
hm...i didn't read that file.. but i'll try that later:) |
|
|
 |
 |
|
|