2011-03-22

Import large file to mysql (using phpmyadmin)

In phpmyadmin max size of importing file depends on php settings.

So... change this lines in php.ini if needed
upload_max_filesize = 20M
post_max_size = 20M

2011-03-20

SVN Tortoise icons in Total Commander 7.50

To show SVN Tortoise icons in Total Commander (7.50) turn on "Show overlay icons, e.g. for links" (Configuration -> Options -> Icons)

Yii and Wampserver

I've got "Internal Server Error" in my yii web application until I turn on rewrite_module in Apache on wampserver (clik on wamp tray icon -> Apache -> Apache modules -> rewrite_module).


Also I use this PHP Settings (clik on wamp tray icon -> PHP -> PHP settings):

short open tag - tells PHP whether the short form ( ) of PHP's open tag should be allowed

(XDebug): Remote debug - to debug in netBeans

and you need to add following in your php.ini
; XDEBUG Extension

zend_extension = "c:/wamp/bin/php/php5.3.5/zend_ext/php_xdebug-2.1.0-5.3-vc6.dll"

[xdebug]
xdebug.remote_enable = On
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
zend_extension = "C:\xampp\php\ext\php_xdebug.dll"



If you have got errors like "Undefined variable: model" you should change error_reporting in php.ini:

Open file php.ini and find
error_reporting = E_ALL 
replace with
error_reporting = E_ALL & ~E_NOTICE 
or comment it

Do not forget restart your wamp server