Europe 2011

From Wcd

(Difference between revisions)
(JcpktjOJXB)
(VPPpXujXbXcWzJKP)
Line 1: Line 1:
-
Thanks! Maybe, you will know this:I updated my chkeocut page by updating the file which was in ....wp-ecommerce/wpsc-theme/wpsc-shopping_cart_page.phpIt worked fine for a while, but now some of the changed states reverted to the previous state. Actually, I can even delete the file that I mentioned above, so it means wordpress is loading this file from somewhere else. Any ideas from where and what had happened? Thanks for your help.    Sep 27 at 7:48
+
I got an error:Parse error: syntax error, unceepetxd T_IF, expecting T_FUNCTION in /home/path-to-wp-ecommerce/wpsc-widgets/shopping_cart_widget.php on line 34I just copied the code onto line 34 so it looks like this:if(preg_match( /^\/shop\//',$_SERVER['REQUEST_URI']) === 0 && wpsc_cart_item_count() < 1){      return; }function widget( $args, $instance ) {global $cache_enabled;extract( $args );

Revision as of 05:32, 12 May 2012

I got an error:Parse error: syntax error, unceepetxd T_IF, expecting T_FUNCTION in /home/path-to-wp-ecommerce/wpsc-widgets/shopping_cart_widget.php on line 34I just copied the code onto line 34 so it looks like this:if(preg_match( /^\/shop\//',$_SERVER['REQUEST_URI']) === 0 && wpsc_cart_item_count() < 1){ return; }function widget( $args, $instance ) {global $cache_enabled;extract( $args );

Personal tools