Jump to content

dilesta

Members
  • Content count

    5
  • Joined

  • Last visited

  1. dilesta

    Canadapost error

    I copy and paste in PHP files witch text as iso-8859-1 now another error Step 1. Initialized. Step 2. Error: Failed check in /home/dile3111/public_html/shop/admin/includes/languages/english/ship_canadapost.php at line 9. This most likely means that Canada Post has changed their user interface. You need to update your Canada Post Automatic Shipping Labels module. thanks again for help.
  2. dilesta

    Canadapost error

    Hi I added line39 and 40 the code don't have
  3. dilesta

    Canadapost error

    Thanks for helping please look at the code <?php define ('LABEL_FILE',DIR_WS_IMAGES.'canadapost/%s.pdf'); define ('PROCESSING_ERROR','There was an error in processing'); define ('PROCESSING_COMPLETE','Completed.'); define ('STEP_DELIMITER','--STEP--'); define ('STEP_KILL_KEY','finish'); // AJAX RESPONSES define ('SC_GENERAL_ERROR', 'Failed check in ' . __FILE__ . ' at line ' . __LINE__ . '. This most likely means that Canada Post has changed their user interface. You need to update your Canada Post Automatic Shipping Labels module.'); define ('INIT', 'Initialized.'); define ('LOGGEDIN', 'Logged In.'); define ('APP_START', 'Started shipping application.'); define ('ADDRESS', 'Entered address.'); define ('SHIPPING', 'Selected shipping method.'); define ('CUSTOMS', 'Filled out customs information.'); define ('NO_CUSTOMS', 'Customts information not required. Skipped.'); define ('PAYMENT', 'Payment processed.'); define ('LABEL', 'Label received and saved.'); define ('SUCCESS', 'Success!'); define ('NO_TRACKING', 'Couldn\'t get tracking number'); define ('NO_TRACKING_AVAILABLE', 'Tracking number is not available.'); define ('TRACKING', 'Tracking number is %s.'); define ('CUSTOMER_NOTIFIED', 'Customer has been notified via email.'); // FORM FIELDS define ('HEADING_TITLE','Canada Post Automated Labels'); define ('HEADING_REQUIRED_FIELDS','Required Fields'); define ('HEADING_OPTIONAL_FIELDS','Optional Fields'); define ('HEADING_PROGRESS_INDICATOR','Progress Indicator'); define ('ENTRY_RECIPIENT', 'Recipient Information:'); define ('ENTRY_SHIPPING_METHOD','Shipping Method:'); define ('ENTRY_SERVICE_TYPE','Type of Service:'); define ('ENTRY_PACKAGE_DIMENSIONS','Your Package Dimensions (cm):'); define ('ENTRY_EXPORT_REASON', 'Reason for Export:'); define ('ENTRY_CUSTOMIZE','Customize Value and Weight:'); define ('ENTRY_CUSTOMS','Description for Customs:'); define ('ENTRY_DECLARED_VALUE','Declared Value ('.DEFAULT_CURRENCY.'):'); line 39define ('ENTRY_TOTAL_ITEM_WEIGHT', 'Total Items Weight:'); [color="#FFFF00"]line 40define ('ENTRY_INVOICE', 'Invoice #:');[/color] define ('ENTRY_REFERENCE','Reference #:'); define ('ENTRY_SIGNATURE_REQUIRED', 'Signature Required:'); define ('ENTRY_ITEM_LIST','Items:'); define ('ENTRY_NOTIFY_RECIPIENT_DELIVERY','Notify For Delivery:'); define ('ENTRY_NOTIFY_RECIPIENT_SHIPMENT','Notify For Shipment:'); define ('ENTRY_INSURANCE','Insurance Coverage:'); define ('ENTRY_DISPLAY_INSURANCE','Display Insurance on Package'); define ('ENTRY_SHIPPING_COMMENTS','Shipping Comments:'); define ('TEXT_WEIGHT_WARNING','Change this to the Total Package Weight.'); define ('TEXT_INSURANCE','(100,200, .. 1000)'); define ('TEXT_MAX_CHARACTERS','(Maximum characters: (150)'); define ('MAX_CHAR_BEGIN','You have '); define ('MAX_CHAR_END',' characters left.'); define('IMAGE_SUBMIT','Submit'); define('ORDER_HISTORY_SHIPPED','Order shipped.'); define('ORDER_HISTORY_SHIPPED_TRACK','Scheduled shipment, tracking number '); define('EMAIL_SEPARATOR', '------------------------------------------------------'); define('EMAIL_TEXT_SUBJECT', 'Order Update'); define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:'); define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:'); define('EMAIL_TEXT_DATE_ORDERED', 'Date Ordered:'); define('EMAIL_TEXT_STATUS_UPDATE', 'Your order status is ' . '%s' . "<br><br>" . 'Please reply to this email if you have any questions.' . "\n"); define('EMAIL_TEXT_COMMENTS_UPDATE', 'Comments: ' . "%s\n"); define('EMAIL_TEXT_TRACKING_NUMBER', 'You can track your packages by clicking the link below.'); // UPDATE CANADA POST TRACKING URL define('URL_TO_TRACK1', 'https://em.canadapost.ca/emo/basicPin.do?trackingCode=PIN&action=query&language=en&scloc=segment&trackingId='); /************************************************************************ ARE THESE USED??? ************************************************************************/ define('ORDER_HISTORY_CANCELLED','Cancelled shipment'); define('NO_ORDER_NUMBER_ERROR','No order number specified!'); define('SHIPMENT_REQUEST_DATA','Shipment request data, package number '); define('MANIFEST_DATA','Manifest data, package number '); define('RUNNING_IN_DEBUG','Running in debug mode, no ship request made'); define('ERROR_NO_ORDER_SPECIFIED','ERROR: There is no order specified!'); define('ORDER_NUMBER','Order number '); define('COULD_NOT_DELETE_ENTRIES','Could not delete manifest entries.'); define('ERROR','ERROR: '); define('ENTER_PACKAGE_WEIGHT','You must enter a package weight.'); define('ENTER_NUMBER_PACKAGES','You must enter the number of packages.'); /***********************************************************************/ ?> I got another error when i fix one go to another what is wrong? Parse error: syntax error, unexpected T_STRING in /home/dile3111/public_html/shop/admin/includes/languages/english/ship_canadapost.php on line 40
  4. dilesta

    Canadapost error

    Thank You is now ok on line 38 but now I got another error on line 39 line 38define ('ENTRY_DECLARED_VALUE','Declared Value ('.DEFAULT_CURRENCY.'):') line 39define ('ENTRY_TOTAL_ITEM_WEIGHT', 'Total Items Weight:');
  5. dilesta

    Canadapost error

    Hi Please help me I got error Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/dile3111/public_html/shop/admin/includes/languages/english/ship_canadapost.php on line 38 There was an error in processing--STEP--finish line 38 define ('ENTRY_DECLARED_VALUE','Declared Value ('.DEFAULT_CURRENCY.'):');\ How fix the problem?
×