Sunday, May 18, 2014

Laravel 4.0 > 4.1 Upgrade Problem

Şurada güzelce açıklanan upgrade klavuzunu adım adım takip edince genelde sorununuz kalmaz. Ancak son denediğim güncelleme grişiminde "composer update" sırasında şöyle bir hata aldım.


PHP Fatal error:  Class 'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider' not found in /home/tayyar/test/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 123
{"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Class 'Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider' not found","file":"\/home\/tayyar\test\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/ProviderRepository.php","line":123}}Script php artisan clear-compiled handling the post-update-cmd event returned with an error


                                                                    
  [RuntimeException]                                                                                                                                                  
  Error Output: PHP Fatal error:  Class 'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider' not found in /home/tayyar/test/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 123                                                                              


Bu veya benzer bir hata alınması halinde ilk olarak "composer update --no-scripts" çalıştırmalı. Ancak muhtemelen bu sorunu çözmeyecektir.

Sırayla

rm -rf vendor
rm  composer.lock
composer install

Artık sorununuz kalmamış olmalı.


Thursday, May 8, 2014

Important Announcment on Chrome Native Messaging API


Important announcement!
Due to Chrome's abandonment of NPAPI, we had to move to a newer technology called Native Messaging API. Which is kind of good, because now we fully support Linux!
The bad news is that in order to use Devtools Terminal now you have to manually install the Node.js proxy. 

Don't worry, it's easy, here are some quick instructions to get you going: * Install Node.js (http://nodejs.org/)
 
* Open your terminal and run:  

npm install -g devtools-terminal  
sudo devtools-terminal --install --id=leakmhneaibbdapdoienlkifomjceknl


Basically, the first command will install the proxy app and the second one will tell the Chrome browser where to find it. If it didn't work for you, please, report at https://github.com/petethepig/devtools-terminal/issues Thanks

Friday, May 2, 2014

HHVM on Ubuntu 14.04

Ubuntu 14.04'e yükseltmişseniz HHV derlemek için gerekli paketler bunlar

  sudo apt-get install \
autoconf automake binutils-dev build-essential cmake g++ git \ 
libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \ libboost-system-dev libboost-thread-dev libbz2-dev libc-client-dev \ 
libc-client2007e-dev libcap-dev libcurl4-openssl-dev libdwarf-dev libelf-dev \ 
libexpat-dev libgd2-xpm-dev libgoogle-glog-dev libgoogle-perftools-dev libicu-dev \ 
libjemalloc-dev libmcrypt-dev libmemcached-dev libmysqlclient-dev libncurses-dev \ 
libonig-dev libpcre3-dev libreadline-dev libtbb-dev libtool libxml2-dev zlib1g-dev libevent-dev \ 
libmagickwand-dev libinotifytools0-dev libiconv-hook-dev libedit-dev libiberty-dev libxslt1-dev ocaml-native-compilers