Page 6 of 7
Re: Package Tracking Service
Posted: Fri Nov 14, 2014 11:06 pm
by davidbfranks
Hi,
I keep getting repeated errors due to your extension:
2014-11-14 11:49:37 - PHP Notice: Uninitialized string offset: 0 in
/home/montanai/public_html/kickgame.co.uk/vqmod/vqcache/vq2-admin_model_sale_order.php
on line 1008
2014-11-14 11:55:06 - PHP Notice: Uninitialized string offset: 0 in
/home/montanai/public_html/kickgame.co.uk/vqmod/vqcache/vq2-admin_model_sale_order.php
on line 1008
2014-11-14 13:08:45 - PHP Notice: Uninitialized string offset: 0 in
/home/montanai/public_html/kickgame.co.uk/vqmod/vqcache/vq2-admin_model_sale_order.php
on line 1008
On line 1008 is this code:
Code: Select all
$emt_tracking_links[] =
$this->model_module_package_tracking->getLinkWithShortCodesReplaced($emt_tracker_carrier_link,
array('tracking_number' => trim($emt_tracking_numbers[$k]),
'shipping_postcode' => $emt_shipping_postcode));
Something must not be right?
Re: Package Tracking Service
Posted: Fri Nov 14, 2014 11:41 pm
by gob33
In last version, your links should have {tracking_number} instead of %s.
If you dont have that, you didnt update correctly.
Now try Uninstall + Install for the installer to update links.
Re: Package Tracking Service
Posted: Fri Nov 14, 2014 11:46 pm
by davidbfranks
gob33 wrote:In last version, your links should have {tracking_number} instead of %s.
If you dont have that, you didnt update correctly.
Now try Uninstall + Install for the installer to update links.
I didn't have a last version this is a clean install!
Re: Package Tracking Service
Posted: Fri Nov 14, 2014 11:50 pm
by davidbfranks
And it does have {tracking_number} yet I'm still getting these errors?
Re: Package Tracking Service
Posted: Sat Nov 15, 2014 12:23 am
by gob33
What is your OC version, Professionnal HTML version ?
When did you buy the module ?
Re: Package Tracking Service
Posted: Sat Nov 15, 2014 12:33 am
by davidbfranks
OC - 1.5.6.4
Professional HTML - 4.5.3.3 (latest version)
Bought the module a while ago (15/11/2013), but just did clean install of OC
Thanks
Re: Package Tracking Service
Posted: Sat Nov 15, 2014 12:53 am
by gob33
I have no idea.
Has been tested with Pro Email Template 4.5.1.32 not 4.5.3.3.
Re: Package Tracking Service
Posted: Sat Nov 15, 2014 1:02 am
by davidbfranks
Tried your private email it bounced back please PM an email that works
Thanks
Re: Package Tracking Service
Posted: Sat Nov 15, 2014 1:14 am
by gob33
Try on extension "about" page. Or pass with forum PM.
Re: Package Tracking Service
Posted: Sat Nov 15, 2014 6:46 pm
by gob33
Tested localy with Professional HTML - 4.5.3.3. All is good, no errors on my machine.
Think the problem comes from your other extension "adv_profit" which close vq2-admin_view_template_sale_order_info.tpl with a double <?php } ?> and prevent my code executing after.
Code: Select all
..............
function close_extra_cost(id) {
$('.ajax-edit2 input').blur();
$('#extra_cost-'+id).siblings().show();
$('#extra_cost-'+id).hide();
}
</script>
<?php } ?>
<?php } ?>
Re: Package Tracking Service
Posted: Tue Nov 18, 2014 5:39 pm
by davidbfranks
gob33 wrote:Tested localy with Professional HTML - 4.5.3.3. All is good, no errors on my machine.
Think the problem comes from your other extension "adv_profit" which close vq2-admin_view_template_sale_order_info.tpl with a double <?php } ?> and prevent my code executing after.
Code: Select all
..............
function close_extra_cost(id) {
$('.ajax-edit2 input').blur();
$('#extra_cost-'+id).siblings().show();
$('#extra_cost-'+id).hide();
}
</script>
<?php } ?>
<?php } ?>
The developer of the extension fixed the double <?php } ?> and the error still repeatedly occurs, he has said it is due to your extension!
Re: Package Tracking Service
Posted: Tue Nov 18, 2014 6:02 pm
by gob33
Your cache is the same with double <?php } ?>. Clear your cache, im unable to do it (goes to a random page) probably because "Journal" has modified something on cache management.
[Solved: "adv_profit" had the bug]
Re: Package Tracking Service
Posted: Fri Nov 21, 2014 8:40 pm
by szilard.kun
Hello, I sent you an e-mail but I get back a Delivery Failded message. So, my problem:
I use your extension together with adikon's Order Status E-mail extension. All works fine, but after 20140803 latest upgrade, the "carrier_href" values on e-mail don't work. It put the correct url, but the end of url not put the tracking number, just put the "{tracking_number}" as a simple text, so, just write the name of variable.
The all other variables (like tracking_number and carrier variables) work good on e-mail, just the carrier_href not work. What is the problem?
Of course, under opencart order history the full tracking url work good.
Re: Package Tracking Service
Posted: Mon Dec 08, 2014 12:47 pm
by TexasPrairieGal
As usual... I'm a lot late to this party and have just now realized that the link for tracking going out in my emails is wrong. Looks like the new code is provided above but it's not picking up the tracking number. Can anyone tell me exactly what I need to correct?
The old code (picked up tracking number, but now a bad link):
"
http://trkcnfrm1.smi.usps.com/PTSIntern ... rackNum=%s"
The revised code (good link but missing tracking number?):
"
https://tools.usps.com/go/TrackConfirmA ... ing_number}"
So... is there a way to modify the revised code to retain whatever part of the old code was correctly picking up the tracking number???
Thanks everybody... and HAPPY HOLIDAYS!!!
Re: Package Tracking Service
Posted: Mon Dec 08, 2014 12:54 pm
by JBGood
Re: Package Tracking Service
Posted: Mon Dec 08, 2014 1:45 pm
by TexasPrairieGal
OMG.... it was just that simple to correct???
Thank you soooooooooooo much!!!
Thank you thank you thank you!!!
Re: Package Tracking Service
Posted: Sun Feb 08, 2015 11:55 pm
by dudumagic
how i can fixed that problem ?
double in the admin
which file i need to edit ?
thank you
Re: Package Tracking Service
Posted: Mon Feb 09, 2015 12:56 am
by gob33
"moduloom_package_tracking.xml" lines 525-540 "admin/view/template/sale/order_history.tpl"
Your column 'Track_email' from other extension has modified something.
Re: Package Tracking Service
Posted: Mon Feb 09, 2015 1:20 am
by dudumagic
gob33 wrote:"moduloom_package_tracking.xml" lines 525-540 "admin/view/template/sale/order_history.tpl"
Your column 'Track_email' from other extension has modified something.
SO what i can do or need to do ?
Code: Select all
// MODULOOM_PACKAGE_TRACKING_MODIFICATION_END (INVOICE)
]]></add>
</operation>
<operation>
<search position="after"><![CDATA[
$total_data = $this->model_sale_order->getOrderTotals($order_id);
]]></search>
<add><![CDATA[
// MODULOOM_PACKAGE_TRACKING_MODIFICATION_BEGIN (INVOICE)
$history_data = array();
if ($this->config->get('pts_history_on_invoice')) {
$this->data['column_date_added'] = $this->language->get('column_date_added');
$this->data['column_status'] = $this->language->get('column_status');
$this->data['column_notify'] = $this->language->get('column_notify');
$this->data['column_comment'] = $this->language->get('column_comment');
$this->data['column_tracking'] = $this->language->get('column_tracking');
$this->load->model('module/package_tracking');
$this->load->model('tool/image');
Re: Package Tracking Service
Posted: Mon Feb 09, 2015 1:23 am
by dudumagic
Code: Select all
<?php if ($error) { ?>
<div class="warning"><?php echo $error; ?></div>
<?php } ?>
<?php if ($success) { ?>
<div class="success"><?php echo $success; ?></div>
<?php } ?>
<table class="list">
<thead>
<tr>
<td class="left"><b><?php echo $column_date_added; ?></b></td>
<td class="left"><b><?php echo $column_comment; ?></b></td>
<td class="left"><b><?php echo $column_status; ?></b></td>
<td class="left"><b><?php echo $column_notify; ?></b></td>
<!-- MODULOOM_PACKAGE_TRACKING_MODIFICATION_BEGIN -->
<td class="left"><b><?php echo $column_tracking; ?></b></td>
<!-- MODULOOM_PACKAGE_TRACKING_MODIFICATION_END -->
</tr>
</thead>
<tbody>
<?php if ($histories) { ?>
<?php foreach ($histories as $history) { ?>
<tr>
<td class="left"><?php echo $history['date_added']; ?></td>
<td class="left"><?php echo $history['comment']; ?></td>
<td class="left"><?php echo $history['status']; ?></td>
<td class="left"><?php echo $history['notify']; ?></td>
<!-- MODULOOM_PACKAGE_TRACKING_MODIFICATION_BEGIN -->
<td class="left"><?php echo $history['tracking']; ?></td>
<!-- MODULOOM_PACKAGE_TRACKING_MODIFICATION_END -->
</tr>
<?php } ?>
<?php } else { ?>
<tr>
<!-- Adapt the number of columns below. 6 with CUSTOM E-MAIL TEMPLATES WITH FULL HTML EDITOR -->
<!-- MODULOOM_PACKAGE_TRACKING_MODIFICATION_BEGIN -->
<td class="center" colspan="5"><?php echo $text_no_results; ?></td>
<!-- MODULOOM_PACKAGE_TRACKING_MODIFICATION_END -->
</tr>
<?php } ?>
</tbody>
</table>
<div class="pagination"><?php echo $pagination; ?></div>