|
|
#1 |
|
Member
|
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 |
|
|
|
|
#2 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,455
Rep Power: 102 ![]() |
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 |
|
|
|
|
#3 | |
|
Member
|
Quote:
Hi Its this: Author $Author: Eric Barnes $ (68 Classifieds) | Version $Revision: 1.7 $ | Updated: $Date: 2006/02/06 15:58:52 $ |
|
|
|
|
|
#4 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,455
Rep Power: 102 ![]() |
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 |
|
|
|
|
#5 | |
|
Member
|
Quote:
![]() This is from the usermodify.php Version $Revision: 1.5 $ | Updated: $Date: 2005/10/13 18:38:50 $ |
|
|
|
|
|
#6 | |
|
Member
|
Quote:
Any solution to this? |
|
|
|
|
|
#7 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,455
Rep Power: 102 ![]() |
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 |
|
|
|
|
#8 | |
|
Member
|
Quote:
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 |
|
|
|
|
|
#9 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,455
Rep Power: 102 ![]() |
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 |
|
|
|
|
#10 | |
|
Member
|
Quote:
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 |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |