Profile cover photo
Profile photo
chuck peterson
69 followers -
Where the wild things are...
Where the wild things are...

69 followers
About
chuck's posts

Post has attachment

Post has attachment
xdebug with phpstorm and puphpet vagrant box
Xdebug is useful in many ways. debugging ,  profiling, error reporting. I have linked to many of these articles throughout this post. This one, is likely the most helpful for puphpet (vagrant box), php, and xdebug. Configure your php.ini for xdebug with rem...

Post has attachment

Post has attachment
session_regenerate_id causing fatal error in Php 7
While upgrading to Php 7, our code had an issue with session_regenerate_id(). Catchable fatal error: session_regenerate_id(): Failed to create(read) session ID: user (path: /var/lib/php/session) Thanks to bellosthomas, I was able to determine that our DB_Se...

Post has attachment

Post has attachment
define: mah. the ultimate lack of interest
"mah.", I say. I am so ultimately lacking in interest, meh is too strong of a word. Google defines meh as... expressing a lack of interest of enthusiasm. mah /ma/ informal exclamation expressing an utter lack of interest or enthusiasm. "Mah. I have NO inter...

Post has attachment
Handle PHP reconnect
Handle PHP reconnect when getting the 2006 error code from MySQL <?php class reconnectPDO extends PDO { var $connection_array = [ ] ; var $reconnect_limit = 5 ; var $reconnect_time = 1 ; var $reconnect_counter = 0 ; public function __construct ( $dsn , $use...

Post has attachment
Sharing host VPN with Vagrant - Rob Allen
16 April 2014 Computing When moving a project into Vagrant, I realized that I needed the vagrant guest to share my OS X's VPN. I'm using a separate IP address within a private network like this: config.vm.network :private_network, ip: "192.168.101.101" So, ...

Post has attachment
reopen the "tab" or window when submitting a form
this worked for me on form submit to reopen the target window.. so it will call window.open on the same target (or new if changed) and then continue to submit the form. var open_target = function ( form ){ var windowName = jQuery ( form ). attr ( 'target' )...

Post has attachment
emberjs CentOS 7 setup
========= SETUP ========= * CentOS 7 Example * ### dependencies ### yum install git,npm,nodejs; npm install -g ember-cli npm instal l -g bower npm install -g watchman npm install -g phantomjs ### Both should output a version number ### node -v npm -v npm in...
Wait while more posts are being loaded