PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
donjski
Regular
Regular


Joined: Jan 14, 2004
Posts: 53

PostPosted: Sun Jul 11, 2004 6:36 pm Reply with quote Back to top

Everyonce and a while I get these. It usually happens on just one person as in this case. I'm trying to give one person special Privs.

Here is the error:

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near ' 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1)' at line 2

INSERT INTO nuke_bbauth_access (forum_id, group_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_sticky, auth_vote, auth_pollcreate, auth_download, auth_mod) VALUES (32, , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1)

Line : 425
File : /var/www/html/forum/modules/Forums/admin/admin_ug_auth.php

Any Ideas?

I had a similar problem with this user the other day. I found a work around, but never wrote it down. Apperently somethings wrong here.
View user's profile Send private message
SmackDaddy
Involved
Involved


Joined: Jun 02, 2004
Posts: 268
Location: Englewood, OH

PostPosted: Sun Jul 11, 2004 6:39 pm Reply with quote Back to top

Could it be because after the value 32, there is no value, just a comma? (taking a stab)
View user's profile Send private message Send e-mail Visit poster's website
donjski
Regular
Regular


Joined: Jan 14, 2004
Posts: 53

PostPosted: Sun Jul 11, 2004 6:49 pm Reply with quote Back to top

Yes I noticed that, but why does that space end up there. I do believe that is the problem. But I have no clue how to fix it.

Thanks for the quick reply.
View user's profile Send private message
SmackDaddy
Involved
Involved


Joined: Jun 02, 2004
Posts: 268
Location: Englewood, OH

PostPosted: Sun Jul 11, 2004 6:55 pm Reply with quote Back to top

Place a value (like 0) there and try again....apparently it's the "group_id" value....
View user's profile Send private message Send e-mail Visit poster's website
donjski
Regular
Regular


Joined: Jan 14, 2004
Posts: 53

PostPosted: Sun Jul 11, 2004 7:05 pm Reply with quote Back to top

But don't I need the correct number there. If I put 0 and it should be 48 won't it mess things up?
View user's profile Send private message
SmackDaddy
Involved
Involved


Joined: Jun 02, 2004
Posts: 268
Location: Englewood, OH

PostPosted: Sun Jul 11, 2004 7:09 pm Reply with quote Back to top

Ahh, yes.....but not sure about the number for "groups_id"......you could always use phpmyadmin to change the number to the correct one. Figured it would solve the syntax error however Raven, Bob or someone else who actually programs for a living probably knows this off the top of their head.
View user's profile Send private message Send e-mail Visit poster's website
donjski
Regular
Regular


Joined: Jan 14, 2004
Posts: 53

PostPosted: Sun Jul 11, 2004 7:13 pm Reply with quote Back to top

I think that is what I did the other day, But it took a while to figure out the group ID.

But thanks.

I think what I really need to do is find out why this keeps happening and fix that problem, rather than just working around it again.

thanks for the input though Very Happy
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14946
Location: Kansas

PostPosted: Sun Jul 11, 2004 9:28 pm Reply with quote Back to top

Try this if you haven't already:
Chatserv wrote:
For anyone else having this problem first upload the following file:
Only registered users can see links on this board!
Get registered or login to the forums!


If you still can't change a user's perms then use this fix:
Only registered users can see links on this board!
Get registered or login to the forums!


Follow the instructions detailed in the download's description, once done delete it from the server but keep the new admin_ug_auth.php file.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
donjski
Regular
Regular


Joined: Jan 14, 2004
Posts: 53

PostPosted: Mon Jul 12, 2004 10:07 am Reply with quote Back to top

Thanks Raven, The first one looked like it fixed it, got no errors after it, but none of the permissions stuck. Went to fix 2 and that worked great.

Will I have this problem in the future? Or is the new auth_ug going to fix this?
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum