westside

Registered
Mar 17, 2006
2
0
151
Hi,

I have recently bought whois.cart and want to sync this with WHM..only problem is, my existing packages are called for example: 'westside_westside 100' - this package name has a blank space in it, which causes whois.cart not able to read this package.

How can I change the actual package name to 'westside_100' as I cant seem to do this in the edit packages menu.. come on, someone ought to know :D hehe :cool:

cheers boys & girls
 

mafitsi

Member
Oct 21, 2005
7
0
151
Hey, contact your provider to allow you editing packages, you wont be able to edit, until he/she allows you, then you can see the option.

That i tHink

take care

mAfitsi
 

Murtaza_t

Well-Known Member
Jan 24, 2005
474
0
166
Earth
cPanel Access Level
Website Owner
I dont think one can edit the name of a package from Edit Packages option even if you have logged in as root. I suppose you will have to delete and recreate it.

Well.. there might a file where we can edit it directly from shell, will look and get back if I find any thing.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
34
473
Go on, have a guess
You can rename packages by simply renaming the file(s) in /var/cpanel/packages/* if you want accounts to then use that package name you're going to have to do a search & replace for the package in the files in /var/cpanel/users/*
 

salubrium

Member
Jun 11, 2003
14
0
151
Sydney
cPanel Access Level
Root Administrator
Chirpy, once again your knowledge is extremely helpful. This saved me a lot of time grepping and finding the files I need to modify for 10 packages.. and a heap of time it would have taken if I had to recreate the packages.

Thanks as always...


--> a Happy Chirpy customer <---
 

HappymanUK

Well-Known Member
May 3, 2003
255
1
168
On a similar note, I am trying to change the 'setup date' quoted for an account - which is in the same file.

However, I don't seem to be able to recognise the format in which the date is stored, and how to work out what to change it to.

eg, it is currently showing as 1171624380

Any ideas ?

Thanks
Daniel
 

mr5

Member
Dec 9, 2003
5
0
151
Hi,

I don't know why after change the files' name, I still see the old packages when I click Upgrade/Downgrade an account (but don't see old packages anywhere elese)? Anyone has the same problem?

Regards,