Zubrag.com
September 23, 2018, 02:19:18 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: WHM account creator  (Read 6536 times)
jothirajan
Newbie
*
Posts: 1


« on: March 09, 2011, 12:14:52 AM »

Dear all,

I tried out the "create-whm-account.php" php and it is not working for me. It is showing the below WARNING


file_get_contents(http://...@******.com:2086/scripts/wwwacct?plan=default&domain=******.com&username=******&password=******&contactemail=******) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 401 Access Denied in /home/******/public_html/auto/create-whm-account.php on line 86
RESULT:


Any help on this will be much appreciated

- Whether i need to activate any settings in the server?
- public_html/auto/create-whm-account.php - I have put the 777 permission for this folder auto and still it is throwing the issue
- I have the edited just the below line in create-whm-account.php

$whm_user   = "****";      // reseller username
$whm_pass   = "******";  // the password you use to login to WHM

>>>> Here i have put the login details that i used to login into the WHM (root login details used)

- Whether i need to edit any thing in the code?? Please help

- Many people are getting the result but i cant please help on this

- Have inserted the following in the form

Domain:   **********.com   
Username:   tester   
Password:   tester23333
Package:      default
Contact Email:   *****@*****.com

have put package as "default" as well as "unlimited"  but not working


Please help me on this


Thank you
Jo

Logged
MrLeN
Newbie
*
Posts: 2


« Reply #1 on: January 27, 2012, 05:50:37 AM »

I have this error too.

The whole reason is because cPanel has changed, and the sccript hasn't been modified to work with the new change.

I have been looking all over the internet for days, and I have tried everything I can possibly think of.

I hope someone can modify that script so it works again. It used to work, I used to use it.

There's posts all over the Internet fropm people tryung to use this and it no longer works.

I can't find a solution anywhere.
Logged
MrLeN
Newbie
*
Posts: 2


« Reply #2 on: January 27, 2012, 06:04:06 AM »

Here is the error I am getting:

Warning: file_get_contents() [function.file-get-contents]: Couldn't resolve host name in /home/banana/public_html/acc.php on line 82

Warning: file_get_contents(http://...@@www.fwp.cc:2086/scripts/...name@gmail.com) [function.file-get-contents]: failed to open stream: operation failed in /home/banana/public_html/acc.php on line 82
RESULT:
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC