Closed (fixed)
Project:
Ubercart Terms of Service
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
1 May 2012 at 19:26 UTC
Updated:
16 May 2012 at 10:50 UTC
Hello,
I'm getting this error when I try to activate ToS Fatal error: Call to undefined function ca_load_trigger_predicates() in /home/****/public_html/*****/sites/all/modules/uc_termsofservice/uc_termsofservice.module on line 179
I'm really new in the Drupal CMS so I will be really happy if I can get some assistance
Comments
Comment #1
bgm commentedThanks for reporting this issue. It seems to be a forgotten piece of code that was left there after the port to Drupal 7.
I removed the code for now. At some point in the future we might want to add support for Rules instead.
Comment #2
tr commentedYou would only encounter this bug if you had enabled Rules for terms of service at admin/store/settings/checkout. This happened because uc_termsofservice_checkout_ca wasn't renamed to uc_termsofservice_checkout_rules as it should have been. I've committed a fix for that. Note that enabling Rules on the admin form doesn't do anything yet - adding Rules support to the code is pretty easy, it just requires someone to spend a little time on it.
Comment #3
apamix commentedHello,
Thanks for the fast replay. Yes indeed if you disable the Rule option you have no problems, but like I said I'm really new in the Drupal... and I have another problem the ToS module is enabled and in the admin/store/settings/checkout is enabled but when I try to checkout I get no ToS. Is there a problem with the ToS and Ubercart 7 ? Or I do something wrong ?