| Author |
Message |
notafinga

Joined: Nov 03, 2007
Posts: 16
|
Posted:
Wed Aug 27, 2008 4:44 pm |
|
Ok I had for the first time an issue where I am trying to add a theme to the client but it keeps saying unable?
Any ideas or am I doing this correct?
I would like to add to the clients that have purchase a silver or gold package instead of continually adding to the silver or gold zips. instead I want to just add to the clients account. This has worked for me 2 times now but for some reason when I try now it wont take.
Any help would be appreciated.
Thanks |
| |
|
|
 |
crysis

Joined: Jun 27, 2008
Posts: 3
|
Posted:
Tue Sep 02, 2008 1:20 pm |
|
i'm having the same problem gotcha if you can help thanks  |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 756
|
Posted:
Wed Sep 03, 2008 7:32 pm |
|
Hi, I haven't been able to duplicate this problem so I'll need you both to turn on the debugging messages and then try to add a client. Turn on debugging in (modules/Digital_Shop)/lib/constants.php by changing the following from false to true.
| Code: |
define('SHOP_DEBUG', true); |
|
| |
|
|
 |
notafinga

Joined: Nov 03, 2007
Posts: 16
|
Posted:
Wed Sep 03, 2008 9:01 pm |
|
PM Sent Gotcha, and thanks for looking into this,. |
| |
|
|
 |
trunks

Joined: Jan 10, 2008
Posts: 45
Location: United Kingdom
|
Posted:
Sun Sep 07, 2008 7:07 pm |
|
Are you going through the 'add client' part of the shop guys? |
| |
|
|
 |
notafinga

Joined: Nov 03, 2007
Posts: 16
|
Posted:
Tue Sep 23, 2008 4:28 pm |
|
I figured the problem out...now to just fix it.
If I have a client named DD_notafinga I cant add because of the underscore. Is there a work around for this? |
| |
|
|
 |
gotcha
Site Admin


Joined: Oct 25, 2004
Posts: 756
|
Posted:
Tue Sep 23, 2008 6:14 pm |
|
Try this...
Open modules/Digital_Shop/lib/class.userManager.php
Find the following line:
| Code: |
$uname = $this->_db->escape($in_uname, true); |
and change it to
| Code: |
$uname = $this->_db->escape($in_uname); |
Please let me know if that works  |
| |
|
|
 |
notafinga

Joined: Nov 03, 2007
Posts: 16
|
Posted:
Tue Sep 23, 2008 7:43 pm |
|
You the man.. works like a charm.
Thanks again for the fast response. |
| |
|
|
 |
|
|