Jump to content

valkor

Members
  • Posts

    10
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Location
    USA
  • Activity
    User/Merchant

Recent Profile Visitors

3,545,614 profile views

valkor's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Can anybody explain how this lines in googleanalytics.php works if url doesn't have controller anymore starting from 1.6, and this is what I found on lines 235-238: // Add Google Analytics order - Only on Order's confirmation page $controller_name = Tools::getValue('controller'); if ($controller_name == 'orderconfirmation') Same for 'order' and 'orderopc' in hookFooter later on lines 284 and 295 ($controller_name == 'orderconfirmation') Should it use url /order-confirmation?id_cart= ?
  2. Same here. Anyone could help? After upgade for google analytics module I can't track transactions on G ECommerce. 1.6.09 - latest GA module 2.0.4 (upgraded twice for this week) Found errors in log: PHP Fatal error: Class 'ganalyticsajaxModuleFrontController' not found in /home/userid/public_html/classes/controller/Controller.php on line 135, referer: http://mysite.com/admin123/index.php?controller=AdminModules&token=fa8b0ebe92b62552fb4ac8493ee406df&anchor=Ganalytics [Wed Dec 17 23:01:22 2014] [error] [client 50.179.237.75] PHP Fatal error: Class 'ganalyticsajaxModuleFrontController' not found in /home/userid/public_html/classes/controller/Controller.php on line 135, referer: http://mysite.com/admin123/index.php?controller=AdminModules&token=fa8b0ebe92b62552fb4ac8493ee406df&conf=32 On 12/17 Browser Console showed: Origin null is not allowed by Access-Control-Allow-OriginI added to .htaccess code I found on google: <IfModule mod_headers.c> Header set Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin Header set Access-Control-Allow-Credentials true Header set Access-Control-Allow-Headers "accept, authorization" </IfModule> No more error in browser, but Ecommerce tracking still not showing transactions
  3. I just fix another problem with order confirmation takes too long, it takes about a month for me to figure out. After adding all files to mails/en folder( 2 other was actually missing order_conf_cart_rules.tpl and order_conf_cart_rules.txt), I still had same issue. Then I open classes/PaymentModule.php and set DEBUG_MODE = true; in the beggining of this class ( it will log all actions to backoffice Log tab). What I found : After 'Hook validateOrder is about to be called' it takes about 5-8 minutes to get next step 'Order Status is about to be added'. So I look at my payment module stripjs and didn't find any registration of 'actionValidateOrder' hook and no function with same name. Only module active which is use this is mailalert module. Next my step - commented line 644- 650 (/*Hook::exec('actionValidateOrder', array( 'cart' => $this->context->cart, 'order' => $order, 'customer' => $this->context->customer, 'currency' => $this->context->currency, 'orderStatus' => $order_status ));*/ Create order and finally success !!!
×
×
  • Create New...