How do you install Node.JS on CentOS?

su – yum install gcc-c++ openssl-devel cd /usr/local/src wget http://nodejs.org/dist/node-latest.tar.gz tar zxvf node-latest.tar.gz (cd into extracted folder: ex “cd node-v0.10.3″) ./configure make make install Note that this requires Python 2.6+ to use ./configure above. You can modify the “configure” file to point to python2.7 in line 1 if necessary. To create an RPM package, you … Read more

WooCommerce: after install hook

WooCommerce itself isn’t setting fresh_site to 0 directly (the string fresh_site doesn’t appear anywhere in WooCommerce’s source code), however you are correct that it’s happening because WooCommerce is creating pages. WordPress sets a site to not be fresh like this (from wp-includes/default-filters.php): // Mark site as no longer fresh foreach ( array( ‘publish_post’, ‘publish_page’, ‘wp_ajax_save-widget’, … Read more

WSOD right after install

I’m answering my own question, since this appears to be a scenario likely to occur, despite the fact that I didn’t see it represented on any WordPress help sites. wordpress.org made mention of the field and thats about it. In the wp-options table of the wordpress database there are two fields, home and siteurl which … Read more

WordPress Installation in Subfolder only works half

OK after doing some more research I found out that I had to change the configs for the NGINX files as well. I simply had to add the following parameters before the last closing bracket location /nameofnewsite { try_files $uri $uri/ /nameofnewsite/index.php?$args; } location ~ \.php$ { fastcgi_split_path_info ^(/nameofnewsite)(/.*)$; }

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)