Jump to content

Bankwirethai กดสั่งซื้อแล้วขึ้น Hack attempt (OrderHistory -> id_order_state is empty) ครับ ช่วย


Lightz

Recommended Posts

ผมใช้ Bankwirethai v1.3
และ Prestashop v1.3.1 ครับ

หลังจากกด ยืนยันสั่งซื้อสินค้า แล้วมันขึ้นข้อความว่า

Hack attempt (OrderHistory -> id_order_state is empty)

ผมต้องไปแก้ไขตรงไหนหรอครับ มึนมากๆๆ

Link to comment
Share on other sites

  • 3 weeks later...

ทำยังไงครับ ได้แล้วรบกวน update ใน community ด้วยครับ เพื่อท่านอื่นๆเจอปัญหาจะได้ช่วยกันแก้ครับ

Link to comment
Share on other sites

  • 1 month later...

ใช้ bank wire thai กับ prestashop 1.4.1 แล้ว
---------------------------------
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/welovepi/domains/malangtub.com/public_html/otop/modules/bankwirethai/bankwirethai_payment_execution.tpl" on line 1 "{include file=$tpl_dir./breadcrumb.tpl}" - Unexpected "/", expected one of: "{" , "$" , "identifier" , INTEGER' in /home/welovepi/domains/malangtub.com/public_html/otop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/welovepi/domains/malangtub.com/public_html/otop/tools/smarty/sysplugins/smarty_internal_templateparser.php(2855): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/welovepi/domains/malangtub.com/public_html/otop/tools/smarty/sysplugins/smarty_internal_templateparser.php(2920): Smarty_Internal_Templateparser->yy_syntax_error(37, '/') #2 /home/welovepi/domains/malangtub.com/public_html/otop/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(37, '/') #3 /home/welovepi/do in /home/welovepi/domains/malangtub.com/public_html/otop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431
---------------------------------
รบกวนผู้รู้ชี้แนะด้วยจ้า

Link to comment
Share on other sites

  • 2 weeks later...
ใช้ bank wire thai กับ prestashop 1.4.1 แล้ว
---------------------------------
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/welovepi/domains/malangtub.com/public_html/otop/modules/bankwirethai/bankwirethai_payment_execution.tpl" on line 1 "{include file=$tpl_dir./breadcrumb.tpl}" - Unexpected "/", expected one of: "{" , "$" , "identifier" , INTEGER' in /home/welovepi/domains/malangtub.com/public_html/otop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/welovepi/domains/malangtub.com/public_html/otop/tools/smarty/sysplugins/smarty_internal_templateparser.php(2855): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/welovepi/domains/malangtub.com/public_html/otop/tools/smarty/sysplugins/smarty_internal_templateparser.php(2920): Smarty_Internal_Templateparser->yy_syntax_error(37, '/') #2 /home/welovepi/domains/malangtub.com/public_html/otop/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(37, '/') #3 /home/welovepi/do in /home/welovepi/domains/malangtub.com/public_html/otop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431
---------------------------------
รบกวนผู้รู้ชี้แนะด้วยจ้า


ให้เข้าไปแก้ไขที่ไฟล์ .TPL ทุกไฟล์ที่มีการใช้คำสั่ง include file ให้ลองเปิดแล้วค้นหา "include file" จากนั้นให้แก้ไขโดยการเพิ่ม quote หรือเครื่องหมายฟันหนูไปตามตัวอย่างนี้นะครับ error มาจากรูปแบบคำสั่งเปลี่ยนไปเพราะมีการปรับรุ่นของ smarty template engine ใหม่ครับ

{include file=$tpl_dir./breadcrumb.tpl} แก้เป็น {include file="$tpl_dir./breadcrumb.tpl"}


แจ้งให้ทราบว่า bankwirethai 0.1.3 สามารถใช้งานกับ ps 1.4 ได้ แต่ต้องแก้ไขบัคก่อนและยังไม่รองรับกับบางฟังก์ชั่นของ ps 1.4 นะครับ
Link to comment
Share on other sites

ใช้ bank wire thai กับ prestashop 1.4.1 แล้ว
---------------------------------
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/welovepi/domains/malangtub.com/public_html/otop/modules/bankwirethai/bankwirethai_payment_execution.tpl" on line 1 "{include file=$tpl_dir./breadcrumb.tpl}" - Unexpected "/", expected one of: "{" , "$" , "identifier" , INTEGER' in /home/welovepi/domains/malangtub.com/public_html/otop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/welovepi/domains/malangtub.com/public_html/otop/tools/smarty/sysplugins/smarty_internal_templateparser.php(2855): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/welovepi/domains/malangtub.com/public_html/otop/tools/smarty/sysplugins/smarty_internal_templateparser.php(2920): Smarty_Internal_Templateparser->yy_syntax_error(37, '/') #2 /home/welovepi/domains/malangtub.com/public_html/otop/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(37, '/') #3 /home/welovepi/do in /home/welovepi/domains/malangtub.com/public_html/otop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431
---------------------------------
รบกวนผู้รู้ชี้แนะด้วยจ้า


ให้เข้าไปแก้ไขที่ไฟล์ .TPL ทุกไฟล์ที่มีการใช้คำสั่ง include file ให้ลองเปิดแล้วค้นหา "include file" จากนั้นให้แก้ไขโดยการเพิ่ม quote หรือเครื่องหมายฟันหนูไปตามตัวอย่างนี้นะครับ error มาจากรูปแบบคำสั่งเปลี่ยนไปเพราะมีการปรับรุ่นของ smarty template engine ใหม่ครับ

{include file=$tpl_dir./breadcrumb.tpl} แก้เป็น {include file="$tpl_dir./breadcrumb.tpl"}


แจ้งให้ทราบว่า bankwirethai 0.1.3 สามารถใช้งานกับ ps 1.4 ได้ แต่ต้องแก้ไขบัคก่อนและยังไม่รองรับกับบางฟังก์ชั่นของ ps 1.4 นะครับ


ใช้ได้แล้ว ขอบคุณท่านเทพจ้า
Link to comment
Share on other sites

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...