xpcwebhosting Posted February 10, 2010 Share Posted February 10, 2010 I currently have a support ticket open for this, but if anyone can get around to answering it faster/better then that would be great. I learned that simply adding my $api_access_key to the end of the config file won't work if it's been Ioncube encrypted. I was told: "You need to add the api key line to the original unencoded version and then re-encrypt if using ioncube." Has anyone ever done this before? I don't even think I have an original unencrypted config file. Any help would be appreciated. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
m00 Posted February 10, 2010 Share Posted February 10, 2010 (edited) I currently have a support ticket open for this, but if anyone can get around to answering it faster/better then that would be great. I learned that simply adding my $api_access_key to the end of the config file won't work if it's been Ioncube encrypted. I was told: "You need to add the api key line to the original unencoded version and then re-encrypt if using ioncube." Has anyone ever done this before? I don't even think I have an original unencrypted config file. Any help would be appreciated. Thanks! You'll need to add it to your configuration.php file in your WHMCS root. This file isn't encoded. (by default) Edited February 10, 2010 by m00 0 Quote Link to comment Share on other sites More sharing options...
xpcwebhosting Posted February 10, 2010 Author Share Posted February 10, 2010 But mine is for some reason, I have no idea why, or if I have a non encoded version. 0 Quote Link to comment Share on other sites More sharing options...
m00 Posted February 10, 2010 Share Posted February 10, 2010 (edited) But mine is for some reason, I have no idea why, or if I have a non encoded version. Are you really sure that it's the configuration.php in your WHMCS directory, where the other WHMCS files like viewinvoice.php, dbconnect.php and domainchecker.php also are? Your configuration can look like this: <?php $license = "[whmcs license key]"; $db_host = "[whmcs mysql database host]"; $db_username = "[whmcs mysql database: user name]"; $db_password = "[whmcs mysql database: user password]"; $db_name = "[whmcs mysql database name]"; $cc_encryption_hash = "[random credit card hash]"; // Customized directories $templates_compiledir = "/dir/to/templates_c/"; $attachments_dir = "/dir/to/attachments/"; $downloads_dir = "/dir/to/downloads/"; ?> I've never seen an WHMCS environment with an Ioncube encrypted configuration.php. In you case it's the configuration file which is located at http://www.xpcwebhosting.com/billing/configuration.php. Edited February 10, 2010 by m00 0 Quote Link to comment Share on other sites More sharing options...
xpcwebhosting Posted February 10, 2010 Author Share Posted February 10, 2010 Thanks for that, I think I tracked down why it was encoded (someone else did it)... I think I can solve it, if not I'll use that code 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.