Jump to content

gohigher

Retired Forum Member
  • Posts

    85
  • Joined

  • Last visited

About gohigher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

gohigher's Achievements

Member

Member (2/3)

0

Reputation

  1. Running latest WHMCS - 5.3.8 - and I have a custom module I have written that is performing validation on custom field input when a user updates their shopping cart using the hook: ShoppingCartValidateProductUpdate If a user goes through the order process straight through, add product to cart, enter field data, click on the Checkout button from the Configure Product page, then validation takes place as expected and if not valid it does not proceed. A problem arises however if a user first goes through the process and everything checks out, and then clicks on "Edit Configuration" under the product from the Review & Checkout page. They are then taken back to the Configure Product page, where they enter different data. If that data doesn't check out after they click Checkout and they decide to instead click on the back button in their browser, the invalid data that did not pass validation is now setup in their product configuration and will cause errors. Am I supposed to also provide a way to 'undo' an invalid entry if they are editing the configuration? I would think a hook called 'ShoppingCartValidateProductUpdate' would validate before updating the database, and not update the database and then figure out if it should have. Am I mistaken in this? Please let me know. Thanks.
  2. Thanks John - had I only just set up my cron / WHMCS this would have been helpful but it was working previously. @jta.aus I resolved this issue by using the full path to php - not sure what changed or why, but using the full path/to/php worked, as it must have been using another php version or php.ini file that wasn't permitting it to run properly.
  3. I am also experiencing this issue - I have a custom admin folder and must manually remember to run my cron (contradiction in terms I believe lol) or I don't get invoices generated / services suspended. This only started happening since the upgrade to 5.3. The custom admin folder has been the same for four years. I had a customer that this was happening with and recompiling Apache / PHP solved his issue, so I tried but no joy. I suppose I'll be opening a ticket also
  4. As a way to say thanks to our customers, friends and the WHMCS community we are offering our products at 50% off until the end of the day Saturday, November 30. 50% Off Including: J!WHMCS Integrator Integrator 3 Belong In Touch WHMCS Themer even Branding Removal Just visit our web site for details on this special: https://www.gohigheris.com/thanksgiving-special-2013
  5. I just realized, if that's the exact code you are using it looks like you aren't including the actual username / password in the postfields... it should be something like this: $url = "http://www.XXXX.ca/whmcs/includes/api.php"; # URL to WHMCS API file $username = "XXXX"; # Admin username goes here $password = "XXXX"; # Admin password goes here $postfields["username"] = $username; $postfields["password"] = md5( $password ); $postfields["action"] = "getproducts"; $postfields["gid"] = "5"; ... Try that and see if that helps out...
  6. I believe you have to md5 the password... no? $url = "http://www.XXXX.ca/whmcs/includes/api.php"; # URL to WHMCS API file $username = "XXXX"; # Admin username goes here $password = md5( trim( "XXXX" ) ); # Admin password goes here
  7. I encountered a customer's installation that presented a new one for me. I updated the customer's system from 5.2.7 to 5.2.10 (incrementally, 5.2.8, 5.2.9...) and the API interface no longer authenticated the API user. Aside from the upgrade, nothing else has changed. The error returned by the API interface simply read "Invalid IP" whereas every other time I've encountered this WHMCS' API kindly returns the offending IP address. This time no. I suspect that input filtering is being done on ALL the variables at the moment of initialization now, and that an IPv6 address containing colons `:` is being wiped from the server array. This would explain no IP address being returned back to the client. My workaround is fine for now, simply activating and utilizing an API Access Key to bypass the IP restriction, but thought I'd bring it to everyone's attention and possibly added to the bug list.
  8. Generally, the JConfig class is found in the Joomla CMS within their configuration file which is what appears to be included in that error message. It appears something is including your Joomla config file multiple times. If you are using one of our products (J!WHMCS or Integrator 3) you should contact us so we can help you resolve this.
  9. Thanks - I'll take a look and get this resolved asap.
  10. Thanks for the update - so to replicate, you mean when replying from outside of WHMCS by email to a support ticket the message gets removed entirely? Is it the message going to the client (ie the system sees the body of the message if you look at your ticket replies)?
  11. Thanks for the note - we had a couple of fixes to 2.0.7 that I just posted in 2.0.8 which includes the backslashing in the email.
  12. That is a feature we are working on for 2.1... it is 'in progress'.
  13. Has anyone else encountered an issue with the ClientDetailsValidation hook not being called and executed by WHMCS v5.2.2? I've tried just forcing the application to die at the hook point on both front and back end and am unable to find the hook point. I don't see any notes in the changelog either about possible changes to it, so I'm a bit lost Thanks in advance, Steven
  14. Check this post out - it will at least get you able to save the API: http://forum.whmcs.com/showthread.php?69451-Adding-API-ip-addres-not-working&p=301150#post301150
×
×
  • 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