Jump to content

desklancer.com

Members
  • Content count

    15
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    not given
  • Gender
    Male
  1. desklancer.com

    Parse error: syntax error, unexpected T_DOUBLE_ARROW

    yes got it working find bellow block and replace with bellow code <?php $this->info = array('currency' => $order['currency'], 'currency_value' => $order['currency_value'], 'payment_method' => $order['payment_method'], 'cc_type' => $order['cc_type'], 'cc_owner' => $order['cc_owner'], 'cc_number' => $order['cc_number'], 'cc_expires' => $order['cc_expires'], 'date_purchased' => $order['date_purchased'], 'orders_status' => $order_status['orders_status_name'], 'last_modified' => $order['last_modified'], 'total' => strip_tags($order_total['text']), 'shipping_method' => ((substr($shipping_method['title'], -1) == ':') ? substr(strip_tags($shipping_method['title']), 0, -1) : strip_tags($shipping_method['title']))); //or try , instead of ; ?> in your case 'total' => strip_tags($order_total['text']), ) was missing
  2. desklancer.com

    Parse error: syntax error, unexpected T_DOUBLE_ARROW

    i am in the same problem not sure how to fix but i think i got an idea where the problem is $this->info = array('currency' => $order['currency'], 'currency_value' => $order['currency_value'], 'payment_method' => $order['payment_method'], 'cc_type' => $order['cc_type'], 'cc_owner' => $order['cc_owner'], 'cc_number' => $order['cc_number'], 'cc_expires' => $order['cc_expires'], 'date_purchased' => $order['date_purchased'], 'orders_status' => $order_status['orders_status_name'], 'last_modified' => $order['last_modified'], 'total' => strip_tags($order_total['text']), //() seems extra <!-- it should look like --> 'total' => strip_tags($order_total['text'], 'shipping_method' => ((substr($shipping_method['title'], -1) == ':') ? substr(strip_tags($shipping_method['title']), 0, -1) : strip_tags($shipping_method['title']))); so we should try make our additional code a part of $this->info = array lets try
  3. desklancer.com

    Admin password recovery

    here is the only way you can retrieve your admin password www.paktech.co dot cc/2011/01/retrieve-oscommerce-admin-password.html
  4. desklancer.com

    Member Approval v1.5_4 - Bugfix

    i tried it on 2.3.1 and found many things instructed in instructions and when went to find those lines to replace/modify did not found any code lines mentioned is there a way to get it for 2.3.1
  5. desklancer.com

    10002: The XML document is well formed

    } if (defined('SHIPPING_UNIT_LENGTH')) { $this->unit_length = SHIPPING_UNIT_LENGTH; } else { $this->unit_length = 'IN'; } if (defined('SHIPPING_DIMENSIONS_SUPPORT') && SHIPPING_DIMENSIONS_SUPPORT == 'Ready-to-ship only') { $this->dimensions_support = 1; } elseif (defined('SHIPPING_DIMENSIONS_SUPPORT') && SHIPPING_DIMENSIONS_SUPPORT == 'With product dimensions') { $this->dimensions_support = 2; } else { $this->dimensions_support = 0; } however i think in my condition i need to get fixed here not sure how to get it fixed code above is from file includes/modules/shipping/upsxml.php
  6. desklancer.com

    10002: The XML document is well formed

    i did not found mentioned above line in in catalog/includes/modules/shipping/upsxml.php so ?
  7. desklancer.com

    Fatal Error After UPSXML Install

    oops for me it works back when i restore /admin/includes/functions/general.php to original
  8. desklancer.com

    Fatal Error After UPSXML Install

    got the same issue however i think as the files for UPSXML were for v2.2 and our version is 2.3.1 so its getting conflict not sure if assigning it version value to 2.2 may fix this or not lets try
×