
نوشته اصلی توسط
startToday
سلام دوست عزیز.
متنی که گذوشتید میگه که:
Hi Ali,
I've uploaded a fresh copy of the /includes directory and the invoicepdf.tpl template file to /public_html/templates/pars and now an error is being produced:
سلام علی.
من یه کپی تازه از پوشه ی includes و فایل invoicepdf.tpl توی /public_html/templates/pars آپلود کردم که یه ارور داد.
ارورش اینه:
PHP Fatal error: Call to undefined function smarty_modifier_sdate() in /home/admin/domains/ntcportal.com/public_html/templates_c/ee9e4ec70fea20c03f12ad78bf996a19^%%AC^ACC^ACC45BED %%emailtpl%3Aemailmessage.php on line 42
محتوای ارور میگه که: "فراخوانی تابع تعریف نشده smarty_modifier_sdate() توی مسیر /home/admin/domains/ntcportal.com/public_html/templates_c/ee9e4ec70fea20c03f12ad78bf996a19^%%AC^ACC^ACC45BED %%emailtpl%3Aemailmessage.php در خط چهل و دوم"
This is being caused by the invalid dates tags in your Credit Card Invoice Created' email template such as:
این ارور بخاطر استفاده از تگ نامعتبر date توی فایل "صورتحساب کارت اعتباری" ایجاد شده. مثلا:
{$invoice_date_created|sdate}
و
{$invoice_date_due|sdate}
Replacing them with {$invoice_date_created} and {$invoice_date_due} should resolve the issue.
جایگزین کردنشون با:
{$invoice_date_created}
و
{$invoice_date_due}
باید مشکلتون رو حل کنه.
The original files are backed up to /includes.2015-02-03.john.EPJ-653974 and /public_html/templates/pars/invoicepdf.tpl.2015-02-03.john.EPJ-653974
فایل های اصلی توی مسیر /includes.2015-02-03.john.EPJ-653974 and /public_html/templates/pars/invoicepdf.tpl.2015-02-03.john.EPJ-653974 موجود هستن.
You can attempt restoring your customisations one-by-one and if the problem should re-ocurr, you can contact the vendor directly for support in fixing the problem with their custom code.
If we can be of any more assistance, please don't hesitate to get back in contact.
شما میتونید به بازگردانی تغییرات انجام شدتون اقدام کنید و اگه دوباره مشکلی ایجاد شد میتونی مستقیما با فروشندتون تماس بگیرید تا اونا مشکل رو با کدهای دلخواهشون برطرف کنن. اگر میتونیم بیشتر از این کمکتون کنیم، بدون معطلی بامون تماس بگیر.
این ترجمه ی متن مورد نظر بود دوست عزیز.