Hi,
I'm using theme_uc_vat_cart_review_table() in my template, ofcourse I renamed it to mytheme_uc_vat_cart_review_table() (also tried phptemplate_uc_vat_cart_review_table()). This breaks the checkout form.
The progress bar under 'cart contents' keeps loading. Because I thought I might have messed up the function I reverted the copy of the function within my template.php to the exact original code (but ofcourse changing the name of the function to mytheme_) and it still causes the progress bar to keep loading.
It took me a while to find this out as there are no javascript errors whatsoever. It ofcourse all works in Garland cause the garland template.php doesn't have a garland_uc_vat_cart_review_table().
I tried out finding out as to what causes this but I have absolutely no clue.
Please help as my deadline is close by and I really need this function.
Cheers
Comments
Comment #1
longwaveDid you clear caches after deleting the function? The theme registry is cached, so it may be looking for a function that no longer exists in your custom theme.
Comment #2
bartezz commentedHi longwave,
Thanx for your repsonse. I did clean the caches at the time but that didn't work.
I've commented out the mytheme_uc_vat_cart_review_table() function within my template.php untill now. I've just enabled it to check what the current status was and it seems fine now. Unfortunately I've updated and patched numerous modules so I'm not sure what the cause was for the theme function not to work.
I am 100% sure it was the theme function at the time because when I disabled it everything worked again.
Can't reproduce anymore so closing issue. Thanx for your time.
Cheers
Comment #3
bartezz commentedCrap it's back.... I've just cleared all cache tables in my database by hand in stead of using flush caches function in admin menu and now the progress bar keeps loading again. This function is in my template.php;
Can't get my head around this.... :'(
Comment #4
summit commentedSubscribing, greetings, Martijn
Comment #5
longwaveWhy subscribing? Are you trying to do the same thing, and getting the same problem?
Is anything recorded in the watchdog logs when this happens? The endless progress bar suggests there was an error somewhere, but I'm not sure what it could be.
Comment #6
summit commentedHi, I am interested in the tax working with ubercart, no not similar problem.
Had problems with loading of the bar. I got out of the loading of the bar, by using uc_checkout_tweaks, and removing the order preview pane out of the page.
Good luck!
greetings, Martijn