zubrag.com
Free php and cpanel scripts to automate your daily routine

Articles :: Determining the cPanel Theme / Skin


Webmasters are often looking for cPanel tools like cPanel Database Creator, or cPanel Subdomains Creator, to simplify or automate some things on cPanel webhostings.

Usually these tools require cPanel theme name, and will not work correctly if wrong cPanel theme is specified. Usually cPanel skin name would be "x", but yours may be different.

Try following steps if you do not know what your current cPanel theme is.
  • Login to your cPanel account
  • Look at the URL in your browser. It would look somewhat similar to http://www.hosting.com:2082/frontend/x/index.html
  • cPanel theme name is everything after the "/frontend/", and before the next slash "/". In above example cPanel theme is "x". It could be "x2", "rvblue", etc.

Some scripts and tools will not even ask you for a cPanel theme / skin. They use some hard coded theme name, which may differ from the one you have installed on your hosting server, and script will not work. In that case you may edit script's code. Its simple. Just find "/frontend/" string in the script and replace theme value with the correct one.


Comments

December 9, 2006
thanks for sharing... helped me a lot!!!
THanks!
October 3, 2007
Love the script - it worked Awesomely!
Thanks. http://www.depo.pro
April 28, 2008
Nice script. Helped me a lot
Thanks
June 23, 2008
Thanks, the article helped me determine the skin of my cPanel.
mathewsphiri [anti-spam] yahoo.com
December 14, 2008
Please can somebody help me .I trying to use the email account creator , when I test it I get theis error:

Warning: fopen(http://...@lifechangersworld.org:2082/frontend/x/mail/doaddpop.html?email=mathews &domain=lifechangersworld.org&password=fhghgh&quota=20) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home2/lifecha1/public_html/emailaccount/cpemail.php on line 79
Cannot create email account. Possible reasons: "fopen" function allowed on your server, PHP is running in SAFE mode
gauravkbansal [anti-spam] gmail.com
January 1, 2009
I am unable to access /frontend/$cpanel_skin/sql/adddb.html?db=$db.

Can you suggest possibble reasons for this ??
scott
January 11, 2009
I got the same error. is anyone supporting this script
asifkhans [anti-spam] in.com
January 20, 2009
Hi I am not able to create sub-domain because when I log-in to my CPanel the url which I see is https://www.guardedhost.com/ajhosting/manage/home So, please help me how to get the CPanel theme/ skin. Thank You.
Change de theme
February 2, 2009
that problem with 404 is becouse the url path is wrong do what they say log into your cpanel account an then check the entire path look next to frontnd and use the same it's the sking name in my case is /x3/
April 28, 2009
Thanks for this informative post
April 28, 2009
Lovely script --- can i get rid of this ----------
HTTP/1.1 200 OK Server: cpsrvd/11.24 Connection: close Date: Tue, 28 Apr 2009 00:49:02 GMT Cache-Control: no-cache Pragma: no-cache Content-type: text/html; charset="ISO-8859-1" cPanel X /*Updated*/ .spriteui_img {margin:0;padding:0;background:url(/cPanel_magic_revision_62691598533.6429/frontend/x3/branding/ui_sprites_img_skip_filetype_gif.jpg);} #ui-aqua-hd-lt {background-position:0 -1px;width:7px;height:22px;}#ui-aqua-hd-rt {background-position:0 -25px;width:7px;height:22px;} .spriteui_img_trans
stanlo4real22 [anti-spam] yahoo.com
August 7, 2009
please i want to create an account on php c panel Subdomains Creator but a can't do that please help me on iT.
THANKS STANLEY.
drew [anti-spam] buzzybeemarketing.com
September 5, 2009
It looks like the adddb.php script doesn't use GET. It uses POST. I am working on writing a curl script that POSTS the variable to the script.
September 30, 2009
hmmm have a problem with the creation of the domain
i have the x3 theme but when i execute the script the subdomainname gets created but something goes wrong the headdomainname gets lost and the filemanager gives data error i have to remove the created folder and the subdomain to get my headdomain working

please help!!!
ckennedy [anti-spam] kbcnetworks.com
January 13, 2010
Works, but the skin is all messed up, so what I want to know is does anyone know how to instead of display the information, have the information either stored into a database or emailed to a specified email adddress, and for the script when done to just return back to the start page again.
February 5, 2010
what does actually $cpuser and $cppass mean?
Balaji
February 21, 2010
Thanks for the script again thanks a lot.
tony_cooool [anti-spam] yahoo.com
April 23, 2010
please i need a good mailer and cpanal for work please i beg you in the name almight god ,may god bless you.
Thanks From Tony Paul
August 10, 2010
Thanks a lot...
can i check mails in my own panel?
brsaca [anti-spam] gmail.com
August 17, 2010
i cant get the rigth result instead i get

HTTP/1.1 401 Access Denied Connection: close Set-Cookie: logintheme=cpanel; path=/; port=2082 Set-Cookie: cprelogin=no; path=/; port=2082 Set-Cookie: cpsession=kiePfTdJ17C4iegxgdlsZhMOOdplOQJG7H91PYXjC_xzM76xDGLybCxZ86ajKunN; path=/; port=2082 Server: cpsrvd/11.25 Content-type: text/html cPanel® 11 Login Username Password /* Must not include external javascript -jnk 06.20.09 */ var init = function() { document.getElementById("user").value = ''; document.getElementById("pass").value = ''; document.getElementById("user").focus(); }; if( window.addEventListener ) { window.addEventListener('load',init,false); } else if( document.addEventListener ) { document.addEventListener('load',init,false); } © cPanel, Inc. 2009

what does that mean????
September 14, 2010
I get this error:

The server was not able to find the document (./frontend/x3/sql/adddb.html) you requested.
shkysagar [anti-spam] gmail.com
February 4, 2011
dear someone.
i cant do that my cpanel url is
http://merodomain.com:2082/cpsess8689970293/frontend/x3/index.html can you help me please....
w.pothof [anti-spam] chello.nl
June 18, 2011
Perfect script.

Is there also a simple way to remove an subdomain in the same way this script did create it automaticaly?

hasankasamithah [anti-spam] yahoo.com
October 26, 2011
i Love the script.thanks
iliyas
April 14, 2012
I got this error "ERROR: FTP Account not created. Please make sure you passed correct parameters." when apply the ftp account create script
support [anti-spam] website-marketing-solutions.com
November 28, 2012
Hi,

I have several HostMonster accounts.
Does anyone have a version that currently works? (Nov. 27, 2012)
I'll be glad to pay $100 via PayPal to someone who has this, if:

1) It works

2) It lets me create subdomain names with dashes, like: make-money-online

3) It creates the subdomain and the folder with matching name (even if the folder does not already exist)

4) I can enter up to 10 (or more, but 10 for sure) subdomains at once, which would be for me a real time saver. :)

5) It finishes the job within just a few minutes... not sure how long one ordinarily has to wait.

6) I'll want the copy to test before I pay... not looking to make 20 $100 payouts without a working copy, lol!

7) I will definitely pay; whoever delivers can post here to verify I did.


Best Regards, Dave Bennett
http://mowg-crew.com
support@mowg-crew.com
January 6, 2013
Nice iformation. Thankyou very much. I am learning many new things here.
oliver.carvajal [anti-spam] gmail.com
March 14, 2013
Can the script be adapted for hosting using vDeck?
shivam
February 14, 2014
when I use this than i face
Warning: fopen(http://...@corecarbidtools.com:2083/frontend/x3/mail/doaddpop.html?email=shivam&domain=corecarbidtools.com&password=shivam&quota=20) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 401 Access Denied in /home/corecarb/public_html/cpemail.php on line 78
Cannot create email account. Possible reasons: "fopen" function allowed on your server, PHP is running in SAFE mode

please help me
shivam
February 14, 2014
Please can somebody help me .I trying to use the email account creator , when I test it I get theis error:

Warning: fopen(http://...@lifechangersworld.org:2082/frontend/x/mail/doaddpop.html?email=mathews &domain=lifechangersworld.org&password=fhghgh&quota=20) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home2/lifecha1/public_html/emailaccount/cpemail.php on line 79
Cannot create email account. Possible reasons: "fopen" function allowed on your server, PHP is running in SAFE mode

Note : to solve this issue you need to place in url https only than you got it and also thanks for zubrag for providing me great program
makpack80 [anti-spam] gmail.com
April 25, 2014
hello what'sup bg man i wanna know how this work please
support [anti-spam] mowg-crew.com
May 24, 2014
We created one... if you want a stable CPanel Subdomain Creator, see this video:
http://youtu.be/UDjYQnk0IHE

It's extremely easy to use... just enter: 'domain.com', 'username' and 'password'... and the list of subdomains to be created (from 1 to 1000 at a time).

Best Regards, Dave Bennett
http://website-marketing-solutions.com
http://theme2html.com
http://mowg-crew.com
sachinambalkar [anti-spam] rediffmail.com
July 31, 2014
I am getting following error while attempt to call my web-service deployed on web-hosting-server.

HTTP/1.1 401 Access Denied
Set-Cookie: cprelogin=no; HttpOnly; path=/; port=2083; secure
Set-Cookie: cpsession=%3aPHTtU4RffohhzYHE0U8YXMHV3ztCBHhtDSIxIL2cTwg3SWvPiaCsgH1SpXiYwwbF%2c5b1a4c31a74464d88c46f1c43cebfeecc8a6f7471dae7bb66ef97d2c07d92ff4; HttpOnly; path=/; port=2083; secure
Server: cpsrvd/11.44.1.7
Content-type: text/html; charset="utf-8"
Connection: close
Date: Thu, 31 Jul 2014 09:35:27 GMT
Content-Length: 17823


Please help me out on this.

Thanks and Regards,
Sachin Ambalkar
Anit
February 20, 2016
Guys ! I solved the Access denied error. 1. I had to change http to https
2. I had to change doaddpop.html to pops.html as per the url when I send into Cpanel
3. My Skin was 'rvblue'

BUT Now it says Account Created ! But nothing actually happens !!!
May 8, 2016
Ok. The script works good! How can we through php delete the subdomains as well?
etestonline [anti-spam] gmail.com
July 20, 2016
I am trying to create email account using this script on server.
Showing me following error:

"Cannot create email account. Possible reasons: "fopen" function allowed on your server, PHP is running in SAFE mode"
1 [anti-spam] chrisnarmore.com
July 13, 2017
My Secure cPanel session from webhostingpad uses a new skin name everytime.

cpsess1234567890/frontend

is there a way to update the script to catch the changing cpsess?

Add Comment

E-mail or Name: Not required. Email will be protected from spammers

Comment: Please do not post unrelated comments

Anti-spam: Please enter (a4a48e9c) into the box