king888 Posted March 1, 2013 Share Posted March 1, 2013 Here is my problem I always get an error if the friendly URL with Thai character is too long. My hosting said the error is because the file system does not allow such a long name file just like this . Please help I tried to search all the forum but it didn't fix . PS. I already set the correct permission upon smarty folder . And actually the problem comes when url is too long only http://www.vitaminfast.com/home/3[spam-filter]ชุดของขวัญปีใหม่จาก-vistra-ซื้อ-3-ได้-4.html Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /home/vitaminfast/public_html/cache/smarty/cache/ADTM^_home_391_E0_B8_8A_E0_B8_B8_E0_B8_94_E0_B8_82_E0_B8_AD_E0_B8_87_E0_B8_82_E0_B8_A7_E0_B8_B1_E0_B8_8D_E0_B8_9B_E0_B8_B5_E0_B9_83_E0_B8_AB_E0_B8_A1_E0_B9_88_E0_B8_88_E0_B8_B2_E0_B8_81_vistra_E0_B8_8B_E0_B8_B7_E0_B9_89_E0_B8_AD_3_E0_B9_84_E0_B8_94_E0_B9_89_4_html^5^^0^a35e0fbffbce41d52c8718463e8f6f3a86518cc2.pm_advancedtopmenu.tpl.php' in /home/vitaminfast/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php:55 Stack trace: #0 /home/vitaminfast/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php(102): Smarty_Internal_Write_File::writeFile('/home/vitaminfa...', 'writeCachedContent(Object(Smarty_Internal_Template), ' แต่ ถ้า Link สั้นๆจะไม่ Error จะเป็น Product not found แทน http://www.vitaminfast.com/home/3[spam-filter]ชุดของ Link to comment Share on other sites More sharing options...
Johnmusclemaximizer Posted September 22, 2014 Share Posted September 22, 2014 Solution: modules/homeslider/homeslider.php from line ~267 (search for 'The URL is too long') fins 255 - increase this value. Link to comment Share on other sites More sharing options...
Recommended Posts