k1ng440 Posted January 15, 2012 Share Posted January 15, 2012 Fatal error: Cannot redeclare createinvoices() in /var/www/newsservers.net/web/client/admin/../includes/processinvoices.php on line 3 $upgradecmd = "upgradeproduct"; $upgrade = array(); $upgrade["action"] = "upgradeproduct"; $upgrade["clientid"] = $sdata['userid']; $upgrade["serviceid"] = $sdata['id']; $upgrade["type"] = "product"; $upgrade["newproductid"] = $upgrade_to; $upgrade["newproductbillingcycle"] = "monthly"; $upgrade["paymentmethod"] = $sdata['paymentmethod']; $results = localAPI($upgradecmd, $upgrade, 'admin'); add_hook("DailyCronJob",1,"free_trials_hook", ''); Please fix it asap 0 Quote Link to comment Share on other sites More sharing options...
blustic Posted January 15, 2012 Share Posted January 15, 2012 Hello, What files are included? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted January 17, 2012 Share Posted January 17, 2012 Paste the entire contents of the hook. 0 Quote Link to comment Share on other sites More sharing options...
k1ng440 Posted January 20, 2012 Author Share Posted January 20, 2012 Hello, its seems to be problem only with localapi. no files included in my hook. i have have used the remote api to resolve this problem.... ( sorry the hook is private. i cannot paste it ) 0 Quote Link to comment Share on other sites More sharing options...
k1ng440 Posted January 20, 2012 Author Share Posted January 20, 2012 support sent me a new file. i hope this should solve my problem. 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.