Ecstore Couldn’t lock the file ! Error

If you experience below errors in ECstore: Couldn’t lock the file ! #0 base_cache_secache_model->trigger_error(Couldn’t lock the file !, 256) called at [/home/wwwroot/app/base/lib/cache/secache/model.php:368] #1 base_cache_secache_model->_format(1) called at [/home/wwwroot/app/base/lib/cache/secache/model.php:640] #2 base_cache_secache_model->trigger_error(Can’t open the cachefile: /home/wwwroot/data/cache/secache.php, 256) called at [/home/wwwroot/app/base/lib/cache/secache/model.php:77] #3 base_cache_secache_model->workat(/home/wwwroot/data/cache/secache) called at [/home/wwwroot/app/base/lib/cache/secache.php:23] #4 base_cache_secache->__construct(app Object ([] => ,[] => ,[] => ,[] => ,[] => […]

Ecstore Nginx Rewrite Rules

To remove index.php from ECstore URL, you have to add following code to nginx.conf (/usr/local/nginx/conf/nginx.conf) if ($request_uri ~ (.+?\.php)(|/.+)$ ){ break; } if (!-e $request_filename) { rewrite ^/(.*)$ /index.php/$1 last; } and change false to true in config.php define(‘WITH_REWRITE’,true); restart nginx /etc/init.d/nginx restart so your nginx.conf should look like this: server { listen 80; server_name […]

How to access Mac from Windows 7

If you have problems connecting to your Mac from windows 7, please double check below settings. Type secpol.msc in Start button Locate “Network Security: LAN Manager Authentication Level” in the list and double-click it. Change the setting from “Send NTMLv2 response only” to “Send LM & NTLM – use NTLMv2 session if negotiated” Network Security: […]

Errors when install CSF firewall in CentOS 6

errors: Checking Perl modules… Can’t locate LWP/ in @INC (@INC contains: /etc/csf /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at (eval 22) line 2. BEGIN failed–compilation aborted at (eval 22) line 2. solution: yum install perl-libwww-perl Can’t locate Time/ in @INC (@INC contains: /etc/csf /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at (eval 27) line […]