Jump to content

iWHMCS Installation issue with ioncube (help needed)


xpcwebhosting

Recommended Posts

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!

Link to comment
Share on other sites

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 by m00
Link to comment
Share on other sites

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. :-P

 

In you case it's the configuration file which is located at http://www.xpcwebhosting.com/billing/configuration.php.

Edited by m00
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated