Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /data/e/7/e76990b9-3372-4d88-8089-fce36e16744a/webperfection.net/sub/rady-nosu/wp-content/plugins/seo-ultimate/modules/class.su-module.php on line 1195
Real Solution for Your Problem! - Page 5

Restarting zend server from console

debian 6 + ZS 6.0.1:

/etc/init.d/zend-server restart

Share This:

  • Comments Off on Zend Server restart from console

Prestashop and excelent IE 10 bug with img product thumbs

// 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; }

Share This:

  • Comments Off on prestashop IE 10 product thumbnails

porovnanie 2 mysql db / synchronize

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

Share This:

  • Comments Off on ako porovnat 2 mysql DB data structure

prestashop cart utf8 character problem with substr title

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

Share This:

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

Share This:

  • Comments Off on ako mount na linuxe smb windows folder

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

Share This:

  • Comments Off on zend server – redirect after login – login problem

php myadmin + zend server #2002 error

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

Share This:

  • Comments Off on #2002 Cannot log in to the MySQL server – phpmyadmin

Prestashop 1.5 – powered by prestashop – remove footer link

edit file:

tmfooterlinks.tpl

remove all cache files (all except index.php):

/cache/smarty/compile/

change/remove meta author and generator

themes/YOUR_TEMPLATE/header.tpl

remove admin title prestashop tm

ADMIN_FOLDER/header.inc.php
ADMIN_FOLDER/themes/default/template/header.tpl

Share This:

  • Comments Off on prestashop 1.5 remove links powered by / copyrigh by

February 20, 2013 | In: Programovanie

ZS6 – Code Tracing

ZendServer 6 – Code Tracing

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

Share This:

  • Comments Off on ZS6 – Code Tracing

Overenie ci je wordpress homepage uniq page

overi ci je post nastaveny ako home

is_home()

overi ci je page nastavena ako homepage

is_front_page()

Share This:

  • Comments Off on Overenie ci je post alebo page homepage – WP