Jump to content

pdstein

Member
  • Posts

    6
  • Joined

  • Last visited

Everything posted by pdstein

  1. hi sentq - yeah, i have set my email address in the cron job page in cPanel. however - it is NOT sending, so just wondering if the cron.php did NOT trigger in the first place. or probably was triggered, but did NOT complete. checked WHMCS' activity log too - but no anomalies there. :-(
  2. I have another problem with WHMCS 6. WHMCS' cron.php does not run via CPanel's Cron Job! I have correctly updated the config/configuration files for the crons for the WHMCS 6. Also - If I accessed the cron.php via the browser - the WHMCS cron is able to successfully execute. (I know, cron.php should not be placed in a "public" directory, but just doing this for testing). However, cron.php does not run (or maybe was not able to completely run) when configured from CPanel's cron. Cron job command is this: php -q /home/myocc/public_html/crons/cron.php I set an email address so an email will be sent when the cron runs - but strangely, I did NOT receive any emails. So I suspected that the cron did run - but just did not finish so email was not sent. Note also that I created a TEST PHP script that will send a test email within the same directory as cron.php and the script ran successfully and email was sent. Any ideas guys why? Thanks again guys in advance!
  3. Thanks SeanP - Have not tried your code though because I fixed the issue with the below, but thanks. $email = $template->getTemplateVars()['clientsdetails']['email'];
  4. I encountered a problem when I upgraded WHMCS 5 to WHMCS 6 on one of my custom templates. One of the template migration instructions for PHP blocks as stated HERE is below: EXAMPLE: {php} // Retrieve a single template variable. $myValue = $this->_tpl_vars['myVariable']; // Loop through all template variables. foreach ($this->_tpl_vars as $key => $value) { echo "{$key}: {$value}"; } // Assign a new template variable. $this->assign('myNewVariable', 'myNewValue'); {/php} Converts to: {php} // Retrieve a single template variable. $myValue = $template->getVariable('myVariable')->value; // Loop through all template variables. foreach ($template->getTemplateVars() as $key => $variable) { echo "{$key}: {$variable->value}"; } // The assign() method works as it did before, though it must now be // called on the $template object instead of $this. $template->assign('myNewVariable', 'myNewValue'); {/php} Now the problem is this. How will I convert a multi-dimensional $this->_tpl_vars ? Or to be more specific, how will I convert a code that looks like this: $email = $this->_tpl_vars['clientsdetails']['email']; I was looking at the new $client Object, but not sure how to use it either and how to retrieve the email info from it. Hope anybody can help me. Thanks!
  5. Count me among the many who is anxiously awaiting support for PHP 5.5 Can you give us an estimate as to when this is going to happen?
  6. Just curious since I submitted my first support ticket yesterday afternoon and haven't heard anything yet. As long as I posting a new thread, perhaps someone here knows the answer to my question... We have the authorize.net payment gateway integrated for echecks. On the echeck payment screen - /modules/gateways/authorizeecheck.php - the default "Bank Account Type" is "Business Checking" It seems like recurring echeck payments are failing with this setting, so we would like to have "Checking selected by default when clients come to this page. Is there a way to do that? Thanks, Paul
×
×
  • 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