Daniel Posted December 17, 2009 Share Posted December 17, 2009 I think there's a problem with the cron line - http://clients.domain.co.uk/admin/addonmodules.php/auto_addons_cron.php should be.. http://clients.domain.co.uk/auto_addons_cron.php 0 Quote Link to comment Share on other sites More sharing options...
Daniel Posted December 17, 2009 Share Posted December 17, 2009 I've ordered an account with a dedicated IP, run the cron and get the following - Errors encountered, see log file! However the error log shows nothing helpful - http://07z.net/2009-12-17_1417.png The server does have a spare IP address and the account exists on the server. Any ideas? Using cPanel 11.25 which is now release. 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted December 17, 2009 Author Share Posted December 17, 2009 I think there's a problem with the cron line - http://clients.domain.co.uk/admin/addonmodules.php/auto_addons_cron.php should be.. http://clients.domain.co.uk/auto_addons_cron.php This should not be an issue, edit your cron accordingly. It is only a recommendation for the actual cron command. I'll look into it and fix it. I've ordered an account with a dedicated IP, run the cron and get the following - Errors encountered, see log file! However the error log shows nothing helpful - http://07z.net/2009-12-17_1417.png The server does have a spare IP address and the account exists on the server. Any ideas? Using cPanel 11.25 which is now release. Thank you, so Dedicated IP is the only thing that didn't work for you on cPanel 11.25? Can you turn on debugging in WHMCS and report any errors? 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted December 17, 2009 Author Share Posted December 17, 2009 This should not be an issue, edit your cron accordingly. It is only a recommendation for the actual cron command. I'll look into it and fix it. Thank you, so Dedicated IP is the only thing that didn't work for you on cPanel 11.25? Can you turn on debugging in WHMCS and report any errors? I found a simple typo in the functions that cause the Dedicated IP to not update or run at all. I've also realized I didn't bother checking if the account already has an assigned IP before trying to assign one. I'm working on this update and will release the fixed version. 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted December 17, 2009 Author Share Posted December 17, 2009 I have a couple more changes to make before the next release. For the cPanel 11.25 only functions, I am going to use JSON instead of XML for performance reasons. I have to rewrite some code and add a check of the accounts current IP address then this is ready to rock. I've tested on my recently upgraded 11.25 and all options work now. 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted December 18, 2009 Author Share Posted December 18, 2009 Ok people, version 1.0.2 is out and I've tested it on cPanel 11.25 with no issues. Logging is improved and I haven't seen any issues. Please report anything you find! 0 Quote Link to comment Share on other sites More sharing options...
Daniel Posted December 18, 2009 Share Posted December 18, 2009 The encoded file /home/clients/subdomains/clients/includes/auto_addons_functions.php was created with an unauthorised copy of the ionCube PHP Encoder. Please contact legal@ioncube.com with details of the provider of this PHP script. in Unknown on line 0 Not great... 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted December 18, 2009 Author Share Posted December 18, 2009 The encoded file /home/clients/subdomains/clients/includes/auto_addons_functions.php was created with an unauthorised copy of the ionCube PHP Encoder. Please contact legal@ioncube.com with details of the provider of this PHP script. in Unknown on line 0 Not great... Very strange, i've re-uploaded the whole package please try again! 0 Quote Link to comment Share on other sites More sharing options...
Daniel Posted December 18, 2009 Share Posted December 18, 2009 File not found. Please contact support. 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted December 18, 2009 Author Share Posted December 18, 2009 File not found. Please contact support. Wow, you are on top of this this morning Its there now, I was prepping the upload when I replied before. Try again please. 0 Quote Link to comment Share on other sites More sharing options...
Daniel Posted December 18, 2009 Share Posted December 18, 2009 Desperate to get it working Failure Message: A list of IP Addresses could not be successfully retrieved from srv5.myhostname.com for AccountID: 3 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted December 18, 2009 Author Share Posted December 18, 2009 IS that server cPanel 11.25? Does it have a free IP Address? Log into WHM and then paste this link in the address bar. What happens? Do you see an XML list of IP addresses? https://srv5.myhostname.com:2087/xml-api/listips 0 Quote Link to comment Share on other sites More sharing options...
Daniel Posted December 18, 2009 Share Posted December 18, 2009 It is indeed 11.25 That link works via non SSL but throws up a cert error on 2087 - maybe that's the problem? 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted December 18, 2009 Author Share Posted December 18, 2009 It is indeed 11.25 That link works via non SSL but throws up a cert error on 2087 - maybe that's the problem? That's interesting, the Curl settings are set to ignore SSL Certs. I really don't advise sending these transactions over non-SSL for obvious security reasons. Is your WHMCS setup to send the Access Hash to WHM? Or is it password only? Is WHMCS setup to use SSL to connect to WHM? 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted December 18, 2009 Author Share Posted December 18, 2009 I've re-written the functions to detect whether you use an accesshash or not. If not, it will use the username and password stored with WHMCS for your server to complete the request. It will also check to see if you opted for secure connections or not. If not, it will be http vs https. I am going over my logic and syntax to be sure it looks good and I'll release the patch. 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted December 18, 2009 Author Share Posted December 18, 2009 I feel confident in how well things are working for me. I'm releasing the source code via Subversion Repository: http://dev.mylha.com/websvn/ or svn://dev.mylha.com/WHMCS Addons Please continue to help me improve on this by posting in this thread or by private message. I will continue to work on this no matter what. 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted December 20, 2009 Author Share Posted December 20, 2009 Please download version 1.0.4, all previous versions were setting shell access to normal shell instead of jailed shell. I have fixed this and ensured all accounts that get shell access only get jailed shell. Visit the downloads section of my site linked below to get v1.0.4 or later. 0 Quote Link to comment Share on other sites More sharing options...
neobug103 Posted December 22, 2009 Share Posted December 22, 2009 Add auto-provisioning of dedicated IP address's and you can sign me up! 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted December 22, 2009 Author Share Posted December 22, 2009 Add auto-provisioning of dedicated IP address's and you can sign me up! This is already incorporated in the latest version. It only supports cPanel 11.25 thought. 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted February 14, 2010 Share Posted February 14, 2010 Could you also added the ability to automate Feature Manager items as add-ons or Configurable Options: EG. Fantastico De Luxe, Installatron Applications Installer etc.. so then we could charge like $2 or $5 extra on the plan as most of my client do not use them and this would be a way of covering the cost of them. 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted February 14, 2010 Author Share Posted February 14, 2010 Could you also added the ability to automate Feature Manager items as add-ons or Configurable Options: EG. Fantastico De Luxe, Installatron Applications Installer etc.. so then we could charge like $2 or $5 extra on the plan as most of my client do not use them and this would be a way of covering the cost of them. Something like this will not likely be incorporated, it isn't something that can easily be added via api calls and would require modifying the /var/cpanel/users/userfile to set the feature list. 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted February 14, 2010 Share Posted February 14, 2010 Sorry for all the question but when setting up the add-ons do we select the "Auto Activate and send Welcome Email on payment"? 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted February 14, 2010 Author Share Posted February 14, 2010 You do whatever you would normally do. This mod just monitors orders for addons and sets up the cPanel / WHM side of things. 0 Quote Link to comment Share on other sites More sharing options...
equiphase Posted March 3, 2010 Share Posted March 3, 2010 I like this module, but I would like to have options like 1 extra mysql database rather than unlimited mysql databases. Is this possible ? 0 Quote Link to comment Share on other sites More sharing options...
tsiedsma Posted March 6, 2010 Author Share Posted March 6, 2010 I like this module, but I would like to have options like 1 extra mysql database rather than unlimited mysql databases. Is this possible ? Anything is possible and the mod is open source, feel free to make your changes. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.