Ticket #612 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Edit reseller - Max domain count error

Reported by: garcield Assigned to:
Priority: trivial Milestone: ispCP ω 1.0.0 - RC3
Component: Frontend (GUI) Version: ispCP ω 1.0.0 - RC2
Severity: Keywords:
Cc:

Description

When adding a new reseller and put a "0" in the field "max domain count" (unlimited), when I edit the reseller the field was blank.

Attachments

error.JPG (149.3 kB) - added by garcield on 08/29/07 20:55:25.
error editing reseller in the field max count error

Change History

08/29/07 20:55:25 changed by garcield

  • attachment error.JPG added.

error editing reseller in the field max count error

08/31/07 16:44:34 changed by macbishop

In /var/www/ispcp/gui/admin/edit_reseller.php in line 778

street1, street2, gender

max_dmn_cnt, current_dmn_cnt,

It must...

street1, street2,
max_dmn_cnt, current_dmn_cnt,max_dmn_cnt, current_dmn_cnt,

08/31/07 16:55:47 changed by anonymous

sorry it must...

street1, street2,
max_dmn_cnt, current_dmn_cnt,

(follow-up: ↓ 4 ) 08/31/07 22:55:42 changed by rats

  • status changed from new to closed.
  • resolution set to fixed.

okay, missing comma added! thanks for the solution macbishop

(in reply to: ↑ 3 ; follow-up: ↓ 5 ) 09/01/07 01:53:53 changed by macbishop

  • status changed from closed to reopened.
  • resolution deleted.

Replying to rats:

okay, missing comma added! thanks for the solution macbishop

Itsn't only missing comma

root/trunk/gui/admin/edit_reseller.php In line 631

r.customer_id as customer_id, reseller_ips, gender

It must (because 'gender' is repeated in line 620)

r.customer_id as customer_id, reseller_ips

In line 660 Insert

$rs->fields['gender']),

In line 681 Delete

$rs->fields['gender']);

(in reply to: ↑ 4 ) 09/01/07 02:03:04 changed by anonymous

root/trunk/gui/admin/edit_reseller.php In line 696 Insert

$gender,

In line 706 change

$customer_id, $rip_lst,

to

$customer_id, $rip_lst

Delete line 707

09/01/07 10:20:35 changed by rats

  • status changed from reopened to closed.
  • resolution set to fixed.

r781; is now fixed with a lot of other bug in this page!

(follow-up: ↓ 8 ) 09/01/07 13:51:33 changed by macbishop

  • status changed from closed to reopened.
  • resolution deleted.

r781 root/trunk/gui/admin/edit_reseller.php In line 619

street1, street2,

for

//The request 'gender' must be behind 'street2' because that is
//the position in the returned array of your value $rs->fields['gender']

street1, street2, gender,

In line 630

r.customer_id as customer_id, reseller_ips, gender

for

r.customer_id as customer_id, reseller_ips

:P

(in reply to: ↑ 7 ; follow-up: ↓ 9 ) 09/01/07 14:13:23 changed by rats

  • status changed from reopened to closed.
  • resolution set to fixed.

Replying to macbishop:

Have you tested it? It's working, I have tested it, so no more changes; btw. it doesn't matter where the request is in the SQL query.

(in reply to: ↑ 8 ) 09/01/07 16:16:41 changed by macbishop

Replying to rats:

Have you tested it? It's working

Yes it's work the last changes they are only for coherence of rest of the code and to facilitate the pursuit of that

I suppose that I am a heavy person he,he

Great work Rats ;)


Add/Change #612 (Edit reseller - Max domain count error)




Action