Jump to content

HTTP ERROR 500


Recommended Posts

請幫助我,非常感謝

我安裝prestashop 1.6.1.16(工作),但是當我添加一個模板,有一個問題

HTTP錯誤500

PHP解析錯誤:語法錯誤,第573行/var/www/vhosts/XXX/httpdocs/modules/tmmegalayout/tmmegalayout.php中意外的T_FUNCTION

 

第573行的tmmegalayout.php

    保護的函數arraySort($陣列)
    {
        如果(計數($陣列)> 1){
            usort($陣列,功能($一個,$ B){
                返回$一個['SORT_ORDER'] - $ B ['SORT_ORDER'];
            });
        }

        返回$ array;
    }

 

PHP  V5.2.17

 

 

 

 

 

 

 

Edited by Kevin Kuo (see edit history)
Link to comment
Share on other sites

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...