- Posts: 155
- Thank you received: 4
Error in mail notification Undefined index: 10975
11 years 7 months ago - 11 years 7 months ago #192844
by Cattelan
Error in mail notification Undefined index: 10975 was created by Cattelan
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.4
-- PHP version -- : 5.3.10-1ubuntu3.16
-- Browser(s) name and version -- : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined index: 10975 in /srv/www/mysite.com/media/com_hikashop/mail/order_status_notification.preload.modified.php on line 113
Hallo.
I updated to joomla 3.4 with hikashop 2.3.5 business.
In the email notification / html there comes in the head error :
i had also to issues they came together but they are solved:
www.hikashop.com/forum/install-update/87...jax-popup-shows.html
and
www.hikashop.com/forum/install-update/87...-social-hikasho.html
Thanks for your kind help
regards
-- Joomla version -- : 3.4
-- PHP version -- : 5.3.10-1ubuntu3.16
-- Browser(s) name and version -- : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined index: 10975 in /srv/www/mysite.com/media/com_hikashop/mail/order_status_notification.preload.modified.php on line 113
Hallo.
I updated to joomla 3.4 with hikashop 2.3.5 business.
In the email notification / html there comes in the head error :
Notice: Undefined index: 10975 in /srv/www/mysite.com/media/com_hikashop/mail/order_status_notification.preload.modified.php on line 113
i had also to issues they came together but they are solved:
www.hikashop.com/forum/install-update/87...jax-popup-shows.html
and
www.hikashop.com/forum/install-update/87...-social-hikasho.html
Thanks for your kind help
regards
Last edit: 11 years 7 months ago by Cattelan.
Please Log in or Create an account to join the conversation.
11 years 7 months ago #192852
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Error in mail notification Undefined index: 10975
Hi,
As you can see in the file name, the email has been modified.
So it is not the original HikaShop content for the email ; which means that we can't know what you have modified and what is the content in the line 113.
I'm sorry but we don't have enough information to be able to help you for that ; best I can recommend you is to remove your customization in order to use the default HikaShop content (and you can make a backup of your email overrides before).
Regards,
As you can see in the file name, the email has been modified.
So it is not the original HikaShop content for the email ; which means that we can't know what you have modified and what is the content in the line 113.
I'm sorry but we don't have enough information to be able to help you for that ; best I can recommend you is to remove your customization in order to use the default HikaShop content (and you can make a backup of your email overrides before).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: Cattelan
Please Log in or Create an account to join the conversation.
11 years 7 months ago #193022
by Cattelan
Replied by Cattelan on topic Error in mail notification Undefined index: 10975
Thanks for reply. I didn't know what the file was for. Now it's ok.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
11 years 6 months ago #193803
by Cattelan
Replied by Cattelan on topic Error in mail notification Undefined index: 10975
Hi. I thought it was disappeared but is not.
The thing i changed in the original was the colours, and images. i moved also the additional information to the top of the email:
the line 113 in the email going through system > email > status notified is this:
Could you tell me where else i could check ?
The file of the email is:
Thanks for you kind reply
The thing i changed in the original was the colours, and images. i moved also the additional information to the top of the email:
the line 113 in the email going through system > email > status notified is this:
Could you tell me where else i could check ?
The file of the email is:
Code:
<?php
/**
* @package HikaShop for Joomla!
* @version 2.3.0
* @author hikashop.com
* @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><style type="text/css">
body.hikashop_mail { background-color:#ffffff; color:#575757; }
.ReadMsgBody{width:100%;}
.ExternalClass{width:100%;}
div, p, a, li, td {-webkit-text-size-adjust:none;}
@media (min-width:600px){
#hikashop_mail {width:600px !important;margin:auto !important;}
.pict img {max-width:500px !important;height:auto !important;}
}
@media (max-width:330px){
#hikashop_mail{width:300px !important; margin:auto !important;}
table[class=w600], td[class=w600], table[class=w598], td[class=w598], table[class=w500], td[class=w500], img[class="w600"]{width:100% !important;}
td[class="w49"] { width: 10px !important;}
.pict img {max-width:278px; height:auto !important;}
}
@media (min-width:331px) and (max-width:480px){
#hikashop_mail{width:450px !important; margin:auto !important;}
table[class=w600], td[class=w600], table[class=w598], td[class=w598], table[class=w500], td[class=w500], img[class="w600"]{width:100% !important;}
td[class="w49"] { width: 20px !important;}
.pict img {max-width:408px; height:auto !important;}
}
h1{color:#4F1616;font-size:16px;font-weight:bold;border-bottom:1px solid #ddd; padding-bottom:10px;}
h2{color:#89a9c1;font-size:14px;font-weight:bold;margin-top:20px;margin-bottom:5px;border-bottom:1px solid #d6d6d6;padding-bottom:4px;}
a:visited{cursor:pointer;color:#4F1616;text-decoration:none;border:none;}
</style>
<div id="hikashop_mail" style="font-family:Century Gothic, Arial, Helvetica,sans-serif;font-size:12px;line-height:18px;width:100%;background-color:#ffffff;padding-bottom:20px;color:#5b5b5b;">
<div class="hikashop_online" style="font-family:Century Gothic, Arial, Helvetica,sans-serif;font-size:11px;line-height:18px;color:#6a5c6b;text-decoration:none;margin:10px;text-align:center;">
<a style="cursor:pointer;color:#4F1616;text-decoration:none;border:none;" href="{VAR:URL}">
<span class="hikashop_online" style="color:#6a5c6b;text-decoration:none;font-size:11px;margin-top:10px;margin-bottom:10px;text-align:center;">
{TXT:MAIL_HEADER}
</span>
</a>
</div>
<table class="w600" style="font-family:Century Gothic, Arial, Helvetica, sans-serif;font-size:12px;line-height:18px;margin:auto;background-color:#F9FAFB;" border="0" cellspacing="0" cellpadding="0" width="600" align="center">
<tr style="line-height: 0px;">
<td class="w600" style="line-height:0px" width="600" valign="bottom">
<img class="w600" src="{VAR:LIVE_SITE}images/header-mail.jpg" border="0" alt="" />
</td>
</tr>
<tr>
<td class="w600" style="" width="600" align="center">
<table class="w600" border="0" cellspacing="0" cellpadding="0" width="600" style="margin:0px;font-family: Century Gothic, Arial, Helvetica, sans-serif;font-size:12px;line-height:18px;">
<tr>
<td class="w20" width="20"></td>
<td class="w560 pict" style="text-align:left; color:#575757" width="560">
<div id="title" style="font-family: Century Gothic, Arial, Helvetica, sans-serif;font-size:12px;line-height:18px;">
<img src="{VAR:LIVE_SITE}/media/com_hikashop/images/icons/icon-48-order-wit.png" border="0" alt="" style="float:left;margin-right:4px;"/>
<h1 style="color:#4F1616 !important;font-size:16px;font-weight:bold; border-bottom:1px solid #ddd; padding-bottom:10px">
{TXT:ORDER_TITLE}
</h1>
<h2 style="color:#4F1616 !important;font-size:12px;font-weight:bold; padding-bottom:10px">
{TXT:ORDER_CHANGED}
</h2>
</div>
</td>
<td class="w20" width="20"></td>
</tr>
<tr>
<td class="w20" width="20"></td>
<td style="border:1px solid #adadad;background-color:#ffffff;">
<div class="w550" width="550" id="content" style="font-family: Century Gothic, Arial, Helvetica, sans-serif;font-size:12px;line-height:18px;margin-left:5px;margin-right:5px;">
<p>
<h3 style="color:#393939 !important; font-size:14px; font-weight:normal; font-weight:bold;margin-bottom:0px;padding:0px;">{TXT:HI_CUSTOMER}</h3>
{TXT:ORDER_BEGIN_MESSAGE}
</p>
<!--{IF:ORDER_SUMMARY}-->
<h1 style="color:#4F1616 !important;font-size:16px;font-weight:bold;border-bottom:1px solid #ddd;padding-top:10px;padding-bottom:10px;">
{TXT:ADDITIONAL_INFORMATION}
</h1>
<p style="border-bottom:1px solid #ddd;padding-bottom:10px;">
{VAR:ORDER_SUMMARY}
</p>
<!--{ENDIF:ORDER_SUMMARY}-->
<table class="w550" border="0" cellspacing="0" cellpadding="0" width="550" style="margin-top:10px;font-family: Century Gothic, Arial, Helvetica, sans-serif;font-size:12px;line-height:18px;">
<tr>
<!--{IF:BILLING_ADDRESS}--><td style="font-family: Century Gothic, Arial, Helvetica, sans-serif; color:#4F1616 !important;font-size:12px;font-weight:bold;">{TXT:BILLING_ADDRESS}</td><!--{ENDIF:BILLING_ADDRESS}-->
<!--{IF:SHIPPING}--><!--{IF:SHIPPING_ADDRESS}--><td style="font-family: Century Gothic, Arial, Helvetica, sans-serif; color:#4F1616 !important;font-size:12px;font-weight:bold;">{TXT:SHIPPING_ADDRESS}</td><!--{ENDIF:SHIPPING_ADDRESS}--><!--{ENDIF:SHIPPING}-->
</tr>
<tr>
<!--{IF:BILLING_ADDRESS}--><td style="font-family: Century Gothic, Arial, Helvetica, sans-serif;">{VAR:BILLING_ADDRESS}</td><!--{ENDIF:BILLING_ADDRESS}-->
<!--{IF:SHIPPING}--><!--{IF:SHIPPING_ADDRESS}--><td style="font-family: Century Gothic, Arial, Helvetica, sans-serif;">{VAR:SHIPPING_ADDRESS}</td><!--{ENDIF:SHIPPING_ADDRESS}--><!--{ENDIF:SHIPPING}-->
</tr>
</table>
<h1 style="font-family: Century Gothic, Arial, Helvetica, sans-serif; color:#4F1616 !important;font-size:16px;font-weight:bold;border-bottom:1px solid #ddd;padding-top:10px;padding-bottom:10px;">
{TXT:SUMMARY_OF_YOUR_ORDER}
</h1>
<table class="w550" border="0" cellspacing="0" cellpadding="0" width="550" style="margin-top:10px;margin-bottom:10px;font-family: Century Gothic, Arial, Helvetica, sans-serif;font-size:12px;line-height:18px;">
<tr>
<td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:left;color:#4F1616 !important;font-family: Century Gothic, Arial, Helvetica, sans-serif; font-size:12px;font-weight:bold;">{TXT:PRODUCT_NAME}</td>
<td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right;color:#4F1616 !important;font-family: Century Gothic, Arial, Helvetica, sans-serif; font-size:12px;font-weight:bold;">{TXT:PRODUCT_PRICE}</td>
<td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right;color:#4F1616 !important;font-family: Century Gothic, Arial, Helvetica, sans-serif; font-size:12px;font-weight:bold;">{TXT:PRODUCT_QUANTITY}</td>
<td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right;color:#4F1616 !important;font-family: Century Gothic, Arial, Helvetica, sans-serif; font-size:12px;font-weight:bold;">{TXT:PRODUCT_TOTAL}</td>
</tr>
<!--{START:PRODUCT_LINE}-->
<tr>
<td style="font-family: Century Gothic, Arial, Helvetica, sans-serif; border-bottom:1px solid #ddd;padding-bottom:3px;">
{LINEVAR:PRODUCT_IMG}
{LINEVAR:PRODUCT_NAME}<!--{IF:ORDER_PRODUCT_CODE}--> {LINEVAR:PRODUCT_CODE}<!--{ENDIF:ORDER_PRODUCT_CODE}-->
{LINEVAR:PRODUCT_DOWNLOAD}
</td>
<td style="font-family: Century Gothic, Arial, Helvetica, sans-serif; border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right">{LINEVAR:PRODUCT_PRICE}</td>
<td style="font-family: Century Gothic, Arial, Helvetica, sans-serif; border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right">{LINEVAR:PRODUCT_QUANTIY}</td>
<td style="font-family: Century Gothic, Arial, Helvetica, sans-serif; border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right">{LINEVAR:PRODUCT_TOTAL}</td>
</tr>
<!--{END:PRODUCT_LINE}-->
<!--{START:ORDER_FOOTER}-->
<tr>
<td colspan="3" style="text-align:right;color:#4F1616 !important;font-family: Century Gothic, Arial, Helvetica, sans-serif; font-size:12px;font-weight:bold;">{LINEVAR:NAME}</td>
<td style="text-align:right">{LINEVAR:VALUE}</td>
</tr>
<!--{END:ORDER_FOOTER}-->
</table>
<!--{IF:PAYMENT}-->
<p>
<span style="color:#4F1616 !important;font-family: Century Gothic, Arial, Helvetica, sans-serif; font-size:12px;font-weight:bold;">{TXT:PAYMENT_METHOD} :</span> {VAR:PAYMENT}
</p>
<!--{ENDIF:PAYMENT}-->
<!--{IF:SHIPPING}-->
<p>
<span style="color:#4F1616 !important;font-family: Century Gothic, Arial, Helvetica, sans-serif; font-size:12px;font-weight:bold;">{TXT:HIKASHOP_SHIPPING_METHOD} :</span> {VAR:SHIPPING}
</p>
<!--{ENDIF:SHIPPING}-->
<p>
{TXT:ORDER_END_MESSAGE}
</p>
</div>
</td>
<td class="w20" width="20"></td>
</tr>
</table>
</td>
</tr>
<tr style="line-height: 0px;">
<td class="w600" style="line-height:0px" width="600" valign="top">
<img class="w600" src="{VAR:LIVE_SITE}/media/com_hikashop/images/mail/footer.png" border="0" alt="--" />
</td>
</tr>
</table>
</div>
Thanks for you kind reply
Please Log in or Create an account to join the conversation.
11 years 6 months ago #193962
by nicolas
Replied by nicolas on topic Error in mail notification Undefined index: 10975
Hi,
You're looking at the line 113 of the HTML version of the email, but you need to look at the line 113 of the preload (below in the same page). That's where the error is.
If you didn't modify the preload, you can delete the customization of the preload of that email in the emails listing.
You're looking at the line 113 of the HTML version of the email, but you need to look at the line 113 of the preload (below in the same page). That's where the error is.
If you didn't modify the preload, you can delete the customization of the preload of that email in the emails listing.
The following user(s) said Thank You: Cattelan
Please Log in or Create an account to join the conversation.
11 years 6 months ago #194059
by Cattelan
Replied by Cattelan on topic Error in mail notification Undefined index: 10975
cancelled the preload and error disappeared. Thanks
Please Log in or Create an account to join the conversation.
Time to create page: 0.160 seconds