September 4, 2013 | In: Správa linuxu
Zend Server restart from console
Restarting zend server from console
debian 6 + ZS 6.0.1:
/etc/init.d/zend-server restart
- Comments Off on Zend Server restart from console
Don't read about IT; solve it!!!
September 4, 2013 | In: Správa linuxu
debian 6 + ZS 6.0.1:
/etc/init.d/zend-server restart
June 2, 2013 | In: Programovanie
// your theme/css/global.css
add following after #thumbs_list li a img {}
#thumbs_list li img { width:80px;height:80px;margin:0 10px 0 0;overflow:hidden;}
#views_block img {height: 80px;margin:0 10px 0 0;overflow:hidden; }
May 6, 2013 | In: Programovanie
dell ma paradny tool “toad for mysql”
dolezita option je:
Tolls->Options->[Schema Compare]/Mysql/Compare
tu je asi rozumne vypnut auto increment value a mozno permissions budete mat ine na prod/dev prostredi
May 4, 2013 | In: Programovanie
modules/blockart/blockart-json.tpl
!!!! be aware of theme specific module folder!!!
around line 13 json format with smarty sh!t:
"name": "{{"%-'.15s"|sprintf:{$product.name|mb_substr:0:12}}|truncate:13:'...':true}",
this will overcome stupid smarty mb limits
prestashop? NEVER EVER AGAIN
March 29, 2013 | In: samba
mount -t cifs //192.168.2.10/mrkvosoft-shared-folder/ -o rw,username=kuko,password=moje-super-tajne-heslo,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 /var/www/remote-smb-folder
March 18, 2013 | In: Programovanie
zend server – zdd.log:
QSafeSqlQuery::exec -> error in query: INSERT OR REPLACE INTO deployment_nodes_status (node_id, status, last_updated) VALUES ( ?, ?, ?). [database or disk is full Unable to fetch row] SQLITE ERROR: database or disk is full
check:
/usr/local/zend/var/codetracing
remove dumps
March 4, 2013 | In: Programovanie
ak vam po instalacii hodi hlasku “#2002 Cannot log in to the MySQL server” tak pravdepodobne mate zle nastaveny socket, asi najjednoduchsi fix:
ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock
February 23, 2013 | In: Programovanie
edit file:
tmfooterlinks.tpl
remove all cache files (all except index.php):
/cache/smarty/compile/
themes/YOUR_TEMPLATE/header.tpl
ADMIN_FOLDER/header.inc.php
ADMIN_FOLDER/themes/default/template/header.tpl
February 20, 2013 | In: Programovanie
if you looking for option to not trucate/cut arguments in zend server 6 go to:
Configuration > Components select > Zend Code Tracing field: zend_codetracing.max_string something like 1024 would be minimum imho...
February 15, 2013 | In: Programovanie
overi ci je post nastaveny ako home
is_home()
overi ci je page nastavena ako homepage
is_front_page()