This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Tht
#1
[Not Solved] Tht
Is there any way to get the hosting tool to work with v2?
Reply
Thanks given by:
#2
[Not Solved] RE: Tht
(08-21-2023, 12:20 AM)zustudios Wrote: Is there any way to get the hosting tool to work with v2?

I'm sure there is, but I haven't even looked at it in a few years. I never got it to work with zPanel. Also, the core code of it may need to be re-written for php7.4+

Trying to get one of the other payment modules to work would probably be a much better way to proceed.
(Sabre or x-billing)
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: Nigel
#3
[Not Solved] RE: Tht
(08-21-2023, 12:20 AM)zustudios Wrote: Is there any way to get the hosting tool to work with v2?

I have reviewed and tested THT (The Hosting Tool) code with Sentora v2.0.0 and it will not work on php 7+
It needs a complete re-write the code is so old. Just for starters, it uses the depreciated mysql functions instead of mysqli.

I am busy enough working on Sentora and can not even think about updating THT.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#4
[Not Solved] RE: Tht
THT hasn’t been maintained for years, so it won’t run cleanly on Sentora v2 out-of-the-box.
The main blockers are:
  • PHP incompatibility: THT’s original codebase depends on old
    Code:
    mysql_*
    functions that are removed in PHP 7+/8.
  • API mismatch: It was built for older ZPanel/Sentora APIs that changed in v2.
  • Security issues: Several unpatched vulnerabilities in the public THT releases.
You could try forking it and updating the DB layer to
Code:
mysqli
/PDO and fixing the Sentora API calls, but that’s non-trivial.
Most admins instead migrate to an actively maintained billing/provisioning tool like WHMCS, BoxBilling, or Blesta, which can integrate with Sentora via custom modules.
If you just need automated account creation, you can also script it using Sentora’s XML-API rather than reviving THT.
Reply
Thanks given by:


Forum Jump:


Users browsing this thread: 1 Guest(s)