Support Forums

Old 04-27-2006, 04:46 AM   #1
Member
 
Join Date: Mar 2006
Location: Sweden
Posts: 62
Rep Power: 13
quickbiz will become famous soon enough
Default Admin Password

Hi

Get this when im trying to change admin password.

Warning: sprintf() [function.sprintf]: Too few arguments in /usr/home/blabla/domains/blabla/public_html/administration/usermodify.php on line 79

Notice: Query failed: Query was empty SQL: in /usr/home/blabla/domains/blablablae/public_html/includes/MySQL.php on line 120

//Bosse
V3.0.15 Developer
quickbiz is offline  
Old 04-27-2006, 03:22 PM   #2
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,455
Rep Power: 102
Eric Barnes is a jewel in the rough
Default

I just tested this and didn't get any errors. Can you open that file in code view and see what revision number it has?

It should have: Version $Revision: 1.5 $
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter
Eric Barnes is online now  
Old 04-28-2006, 04:12 AM   #3
Member
 
Join Date: Mar 2006
Location: Sweden
Posts: 62
Rep Power: 13
quickbiz will become famous soon enough
Default Admin password

Quote:
Originally Posted by suzkaw
I just tested this and didn't get any errors. Can you open that file in code view and see what revision number it has?

It should have: Version $Revision: 1.5 $

Hi

Its this:
Author $Author: Eric Barnes $ (68 Classifieds)
| Version $Revision: 1.7 $
| Updated: $Date: 2006/02/06 15:58:52 $
quickbiz is offline  
Old 04-28-2006, 09:25 AM   #4
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,455
Rep Power: 102
Eric Barnes is a jewel in the rough
Default

You have that for the administration/usermodify.php?
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter
Eric Barnes is online now  
Old 04-28-2006, 02:12 PM   #5
Member
 
Join Date: Mar 2006
Location: Sweden
Posts: 62
Rep Power: 13
quickbiz will become famous soon enough
Default

Quote:
Originally Posted by suzkaw
You have that for the administration/usermodify.php?
Sorry about that , it was the mysql.php file

This is from the usermodify.php
Version $Revision: 1.5 $
| Updated: $Date: 2005/10/13 18:38:50 $
quickbiz is offline  
Old 05-03-2006, 02:23 AM   #6
Member
 
Join Date: Mar 2006
Location: Sweden
Posts: 62
Rep Power: 13
quickbiz will become famous soon enough
Default admin password

Quote:
Originally Posted by quickbiz
Sorry about that , it was the mysql.php file

This is from the usermodify.php
Version $Revision: 1.5 $
| Updated: $Date: 2005/10/13 18:38:50 $

Any solution to this?
quickbiz is offline  
Old 05-03-2006, 12:32 PM   #7
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,455
Rep Power: 102
Eric Barnes is a jewel in the rough
Default

I have tested this numerous times and I am not able to duplicate it. So can you do this?

Open that file and go to line 80 which should have:
$db->query($sSQL);

Just above it add:
echo $sSQL;
die;

then modify a user and a sql statement will print on the screen. Copy that and paste it here.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter
Eric Barnes is online now  
Old 05-03-2006, 05:49 PM   #8
Member
 
Join Date: Mar 2006
Location: Sweden
Posts: 62
Rep Power: 13
quickbiz will become famous soon enough
Default

Quote:
Originally Posted by suzkaw
I have tested this numerous times and I am not able to duplicate it. So can you do this?

Open that file and go to line 80 which should have:
$db->query($sSQL);

Just above it add:
echo $sSQL;
die;

then modify a user and a sql statement will print on the screen. Copy that and paste it here.

Hi

This happend:
Warning: sprintf() [function.sprintf]: Too few arguments in /usr/home/web25324/domains/helsingborgsmarknad.se/public_html/administration/usermodify.php on line 79

Regards
//Bosse
quickbiz is offline  
Old 05-03-2006, 05:55 PM   #9
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,455
Rep Power: 102
Eric Barnes is a jewel in the rough
Default

That warning shouldn't have showed. Make sure you add that code above the $db->query($sSQL); line that way it prints before it processes it.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter
Eric Barnes is online now  
Old 05-03-2006, 06:04 PM   #10
Member
 
Join Date: Mar 2006
Location: Sweden
Posts: 62
Rep Power: 13
quickbiz will become famous soon enough
Default password

Quote:
Originally Posted by suzkaw
That warning shouldn't have showed. Make sure you add that code above the $db->query($sSQL); line that way it prints before it processes it.

Like this:
GetSQLValueString($level, "text"),
GetSQLValueString($userid, "int"));
echo $sSQL;
die;
$db->query($sSQL);
if(!$db->isError())


And this happens:
Warning: sprintf() [function.sprintf]: Too few arguments in /usr/home/web25324/domains/helsingborgsmarknad.se/public_html/administration/usermodify.php on line 79
quickbiz is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forgotten admin password spaceboy v3.1 Questions & Support 4 11-14-2006 06:40 PM
Tab from the password field in the admin login Chad v3.1 Questions & Support 0 10-06-2006 11:04 PM
How to reset Admin password PonyXchange v3.1 Questions & Support 0 05-21-2006 02:15 PM
Change name and password build v3.0 Questions & Support 19 04-19-2006 12:06 PM
Data Base build v3.0 Questions & Support 5 04-11-2006 09:50 AM


All times are GMT -4. The time now is 01:17 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0