I'm using WHMCS and WBTeamPro as a project management tool. Our old project management tool isn't exactly friendly for exporting and importing, so instead of doing that, i'm writing a module that adds a tab to each clients profile where you can click the link to view the past projects, tasks and time logs directly from that systems database.
I swore off PHP years ago in favor of Python, so i'm a bit out of practice. In my module config i'm collecting the usual DB connection information, and then trying to pass it to mysqli to connect to the remote database from within the module/lib/Admin/controller.php file.
For some reason I get an error: "Error: Class 'WHMCS\\Module\\Addon\\activecollabdisplay\\Admin\\mysqli' not found in /home/www/....."
At first I thought maybe mysqli isn't installed. So I took at look at the php info and it shows it is enabled.
Any hints or suggestions on how I can make this happen?
Question
BillDjango
I'm using WHMCS and WBTeamPro as a project management tool. Our old project management tool isn't exactly friendly for exporting and importing, so instead of doing that, i'm writing a module that adds a tab to each clients profile where you can click the link to view the past projects, tasks and time logs directly from that systems database.
I swore off PHP years ago in favor of Python, so i'm a bit out of practice. In my module config i'm collecting the usual DB connection information, and then trying to pass it to mysqli to connect to the remote database from within the module/lib/Admin/controller.php file.
For some reason I get an error: "Error: Class 'WHMCS\\Module\\Addon\\activecollabdisplay\\Admin\\mysqli' not found in /home/www/....."
At first I thought maybe mysqli isn't installed. So I took at look at the php info and it shows it is enabled.
Any hints or suggestions on how I can make this happen?
Thanks!
Link to comment
Share on other sites
1 answer to this question
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.