ECSHOP2。6。0后台登陆问题

2016-07-07 15:46 来源:www.chinab4c.com 作者:ecshop专家

原来安装好后,就一直好好的运行的。

今天输入用户名跟密码后,就是一段代码错误

Fatal error: Maximum execution time of 30 seconds exceeded in E:\webhost\hp1008\www\includes\lib_common.php on line 2070

请问该如何解决?

程序是一直没任何的修改啊

回答:
脚本超时
PHP默认最长的执行时间为30秒,而你的脚本运行时间超过30秒,就会出现这个错误
修改php.ini中的max_execution_time修改为60


脚本超时
PHP默认最长的执行时间为30秒,而你的脚本运行时间超过30秒,就会出现这个错误
修改php.ini中的max_execution_time修改为60
robb 发表于 2009-4-16 12:50

这个是不是要改服务器的配置的?

我们那个空间商说,这个30,秒是最佳的,超过30秒整个服务器就拖住了。要是一个网站一个服务器就可以设置

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_1323210233_07927063f000f4e8d22a0335cefd96f0.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_1351729301_6bc733019a29ab5dd719620a25c14f37.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_1359453056_eb19561c35b8f5f2620ef2e34c5ac0d1.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_1398379079_a841e3164dd59744d20a993218cb54de.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_767820523_9c5155d1dcaf1bb4fd639d8fe9f59abe.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_771001803_3fe56cb89562628363366b53ca4a8cae.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_771945490_6d6ace977a1952c037f53beed76a4287.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_774111226_9150acb934cab14d99b9fb5cbae52be4.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_775559593_0821f14efc10aafa60dad156ea7d7128.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_776045320_6b0d9106125f41a4eb30a7dbead399ee.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_781156237_925e0c3ff67f28b85de999a65eaf5ffd.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_784222676_1d06c7016fa8f5ba483e8c92198035fe.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_78837454_23807ddb2bc595790983d8ad29ea9dbd.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_788436171_41ada82f2fe870ed94955048d14c35db.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_788662197_ccbfc052cb59f7eccd47b763a84ce3d6.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_789013405_5e98be57428cfca69acd04909cb92004.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_78906086_c9835e30023be33aceb407f1e793b968.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_79002676_4df6035b844ae418de313d9e4fee56d6.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_790180629_48f2314b3180f76a9f1e0bdc66891e2b.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_790221177_61716b3368b5cd3bb6cc5be725e9ca72.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_793876837_bedecd171a57332908eaadbcef86fa3f.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_795401474_421e3ba209735aefa9042dd189062c4b.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_795411751_b811fd8076d06adcbf913877a51920a1.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_802979587_e6f3cc3d0ad5697b3f2264a4fe1bb456.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_803518940_d83533333ed78a14ff6977c8211bfed9.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_805239259_bdf7ef61387484cac1efcd864f221c6e.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_805273183_6a83e109f3b602499d2613e356ef90c1.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_805598129_1ee1c27afe2ecce0e0afe948b5e59237.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_81001108_b09e9ac4f058268bd3b37234dac8f0e0.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_811283476_a910e459899f0bd09fadeb13351f1e05.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_811459612_b2f17ebc2862ba1bc4b5b97f35e56449.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_811633360_3d8db4c552092053dd93a4ea65dfaa3c.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_81179743_34b55ff2a9676654644b5ecdc00938e5.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_811914573_f9c99138383ff7b656ce3897de536eb7.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_813763021_4269372db63da3a6d5074459aeb70d3b.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_815135256_914bff8b0a3d2e22407c87908362a27b.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_827227005_25a3960ab7840376be6e650399075cfe.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_827417866_85c5d84a1eaf3e95d6dd568419516742.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_829470629_7afe4e350b1d88683a87e18124a7696b.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_831463160_ba23e4b169f4f44f3d98d9b8df260c40.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_833988219_dca15737973cb9b0b169e26f69c1a914.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_855205776_b1424ab131acd3eafd5e9b348715cf29.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Warning: filemtime() [function.filemtime]: stat failed for E:/webhost/hp1008/www/templates/caches/sqlcache_855263346_f451aceadcc107b8dfc30b83be7f25bc.php in E:\webhost\hp1008\www\includes\lib_common.php on line 2076



Fatal error: Maximum execution time of 30 seconds exceeded in E:\webhost\hp1008\www\includes\lib_common.php on line 2076

Fatal error: Maximum execution time of 30 seconds exceeded in E:\webhost\hp1008\www\includes\cls_session.php on line 211

这是ecshop的缓存机制所致,时间久了缓存目录将会有N多文件(甚至超过1W、10W)
登录后台需要访问缓存目录,因为文件太多,所以导致超时
(我们在windows下打开一个数W文件的文件夹也会明感觉明显迟钝的)

解决办法:
1、经常刷新缓存(后台有功能按钮)(如果不能登陆后台可以FTP删除templates\caches下文件);
2、修改程序,禁用缓存(一般人不可用)
缓解办法:
1、后台禁用缓存(不能完全禁用,但可缓解)