typicalGtaTG Posted July 15, 2020 Share Posted July 15, 2020 (edited) Hi, I got WHMCS fully setup and working now (v7.10.2) but now that I try to do a test registration it gives me an "Array" error: https://cdn.typicalgta.com/i/4xlqu7.png If you know how I can fix it then please help. When i added the cpanel it also gave me this error and give it everytime i click on refresh on that page https://cdn.typicalgta.com/i/w19eys.png This one when i click on sync accounts: https://cdn.typicalgta.com/i/q7pian.png And this when i click on Login to WHM: https://cdn.typicalgta.com/i/o3khuk.png It's not my WHMCS as i did try with an actual cpanel and it worked there perfectly. The site is https://clientarea.profreewebhost.ml which you can verify the license for if it sounds suspicious. UPDATE: I was able to make it work by contacting support now the only thing that doesn't work is the "Login to Cpanel" button if you know about a way to make it work please let me know. UPDATE 2: It has completely stopped working once again GG. UPDATE 3: @360 helped me and fixed the issue with my whmcs, It's all back to working now. All Thanks to him. Thank you. Edited July 29, 2020 by typicalGtaTG Link to comment Share on other sites More sharing options...
einet Posted July 15, 2020 Share Posted July 15, 2020 7 hours ago, typicalGtaTG said: Hi, I got WHMCS fully setup and working now (v7.10.2) but now that I try to do a test registration it gives me an "Array" error: https://cdn.typicalgta.com/i/4xlqu7.png If you know how I can fix it then please help. When i added the cpanel it also gave me this error and give it everytime i click on refresh on that page https://cdn.typicalgta.com/i/w19eys.png This one when i click on sync accounts: https://cdn.typicalgta.com/i/q7pian.png And this when i click on Login to WHM: https://cdn.typicalgta.com/i/o3khuk.png It's not my WHMCS as i did try with an actual cpanel and it worked there perfectly. The site is https://clientarea.profreewebhost.ml which you can verify the license for if it sounds suspicious. Thank you. Friend for accounts reseller Free Not all the functions that use WHM are enabled so you get errors that system in accounts free does not work. Link to comment Share on other sites More sharing options...
typicalGtaTG Posted July 16, 2020 Author Share Posted July 16, 2020 3 hours ago, einet said: Friend for accounts reseller Free Not all the functions that use WHM are enabled so you get errors that system in accounts free does not work. Wait what? I don't get you mate. Can you please explain better Link to comment Share on other sites More sharing options...
typicalGtaTG Posted July 16, 2020 Author Share Posted July 16, 2020 40 minutes ago, 360 said: Oh boy, do I love the Array error! I've seen it so many times. A workaround for this is to let your customers create accounts under your sub-domain, and the other stuff like sync & login to WHM is because it's not WHM/cPanel based, so don't expect those to work. Oh trust me I've tried everything at this point, I used the subdomain method too but even that doesn't work. Link to comment Share on other sites More sharing options...
einet Posted July 16, 2020 Share Posted July 16, 2020 12 hours ago, typicalGtaTG said: Wait what? I don't get you mate. Can you please explain better If you are working with myownfreehost reseller only 6 functions are available which are used to work with the api [WHM has several but will not work with mofh] because it is limited. you will have to work hard to achieve what you want with whm. But it would only work.: 1. ->availability() - Checks whether a domain / sub-domain can be used. 2. ->createAccount() - Create a hosting account from the reseller api. 3. ->password() - Change account|client password. 4. ->suspend() - Disable the hosting account. 5. ->unsuspend() - Enable the hosting account. 6. ->getUserDomains() - Displays the domains, sub-domains associated with the user. Unless they find more available lately, but I don't think so. The best thing is to start a web project so you can modify and create as you like from 0 since WHM and others will not work 100% since the api is limited to reseller free. Link to comment Share on other sites More sharing options...
typicalGtaTG Posted July 16, 2020 Author Share Posted July 16, 2020 1 hour ago, einet said: If you are working with myownfreehost reseller only 6 functions are available which are used to work with the api [WHM has several but will not work with mofh] because it is limited. you will have to work hard to achieve what you want with whm. But it would only work.: 1. ->availability() - Checks whether a domain / sub-domain can be used. 2. ->createAccount() - Create a hosting account from the reseller api. 3. ->password() - Change account|client password. 4. ->suspend() - Disable the hosting account. 5. ->unsuspend() - Enable the hosting account. 6. ->getUserDomains() - Displays the domains, sub-domains associated with the user. Unless they find more available lately, but I don't think so. The best thing is to start a web project so you can modify and create as you like from 0 since WHM and others will not work 100% since the api is limited to reseller free. I just want it working with WHMCS that's all i want Link to comment Share on other sites More sharing options...
AA22Dev Posted July 16, 2020 Share Posted July 16, 2020 Possible reasons of array errors are: Using .tk tld. Not using the subwhois file (provided by mofh) and configuring it. Link to comment Share on other sites More sharing options...
typicalGtaTG Posted July 17, 2020 Author Share Posted July 17, 2020 8 hours ago, 360 said: If you'd give me access to it I could try fixing it myself. Do you have Discord or something? Yes, I have discord it's typical Gta#1555 Link to comment Share on other sites More sharing options...
typicalGtaTG Posted July 17, 2020 Author Share Posted July 17, 2020 5 hours ago, Aqib said: Possible reasons of array errors are: Using .tk tld. Not using the subwhois file (provided by mofh) and configuring it. I'm using that file and stuff i just don't know ;-; why it doesn't work. Link to comment Share on other sites More sharing options...
AA22Dev Posted July 17, 2020 Share Posted July 17, 2020 4 hours ago, typicalGtaTG said: I'm using that file and stuff i just don't know ;-; why it doesn't work. That file requires configuration too. Also .tk domain is blocked from free hosting so if you were using that domain than it can also cause array error. (These are possible reasons which I got to know about when I was setting up whmcs with MOFH for testing to check whether latest version is compatible or not but it is compatible) I will soon make tutorial on it for my site (with login to cPanel) button working (Not the original one but adding hook will do the trick). I'll share tutorial about that on my site and also will share hook there. But haven't started work on that tutorial yet :D As I should go from basics to whmcs for MOFH on my site. Link to comment Share on other sites More sharing options...
typicalGtaTG Posted July 17, 2020 Author Share Posted July 17, 2020 2 hours ago, Aqib said: That file requires configuration too. Also .tk domain is blocked from free hosting so if you were using that domain than it can also cause array error. (These are possible reasons which I got to know about when I was setting up whmcs with MOFH for testing to check whether latest version is compatible or not but it is compatible) I will soon make tutorial on it for my site (with login to cPanel) button working (Not the original one but adding hook will do the trick). I'll share tutorial about that on my site and also will share hook there. But haven't started work on that tutorial yet As I should go from basics to whmcs for MOFH on my site. Thanks I'll wait for your tutorial may i know your website? I made it work somehow now but cpanel button still not working Link to comment Share on other sites More sharing options...
AA22Dev Posted July 17, 2020 Share Posted July 17, 2020 9 hours ago, typicalGtaTG said: Thanks I'll wait for your tutorial may i know your website? I made it work somehow now but cpanel button still not working Not sure whether allowed to share it here so check dm. Link to comment Share on other sites More sharing options...
typicalGtaTG Posted July 30, 2020 Author Share Posted July 30, 2020 On 7/29/2020 at 6:19 PM, 360 said: A pleasure to help! tysm! Link to comment Share on other sites More sharing options...
Recommended Posts