php.ini

C:\php\php.ini
查找  extension_dir = “./” ,并将”./”改为”C:\php\ext注意左侧路径不能有空格

将下面几行代码开头 ; 号 删除
;extension=php_dbase.dll   可选
;extension=php_gd2.dll    这个是用来支持GD库的,一般需要,必选
;extension=php_ldap.dll    可选
;extension=php_mbstring.dll  必选
;extension=php_mssql.dll    这个是用来支持MSSQL的,可选
;extension=php_mysql.dll    这个是用来支持MYSQL的,要支持MYSQL必选将以上代码前的”;”去掉,其他的如果需要用到也可以去掉前面的;然后关闭保存该文件。

Last modified onSaturday, 05 January 2013 13:24

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0009412088{main}( ).../index.php:0
20.10254261944Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.10264261944Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.341011452760Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.342011477024Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.343211532352Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.343711559752require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.354211959384K2ControllerItem->execute( ).../k2.php:64
90.354211959384K2ControllerItem->display( ).../BaseController.php:710
100.364712610088K2ControllerItem->display( ).../item.php:78
110.364712610088K2ControllerItem->display( ).../controller.php:19
120.368812981128Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.370513001496K2ViewItem->display( ).../ViewController.php:102
140.456415797768K2ViewItem->display( ).../view.html.php:742
150.456415797768K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.459715970704include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0009412088{main}( ).../index.php:0
20.10254261944Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.10264261944Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.341011452760Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.342011477024Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.343211532352Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.343711559752require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.354211959384K2ControllerItem->execute( ).../k2.php:64
90.354211959384K2ControllerItem->display( ).../BaseController.php:710
100.364712610088K2ControllerItem->display( ).../item.php:78
110.364712610088K2ControllerItem->display( ).../controller.php:19
120.368812981128Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.370513001496K2ViewItem->display( ).../ViewController.php:102
140.456415797768K2ViewItem->display( ).../view.html.php:742
150.456415797768K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.459715970704include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top