Spyderserve Web Development

Archives: Knowledge Articles

Installing MariaDB on Centos 7

Step 1: Add the MariaDB repo to your system.  The script below must be run as root. curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash Step 2: Install MariaDB server and client sudo yum install MariaDB-server MariaDB-client -y Step 3: Start the initial MariaDB service sudo systemctl start mariadb.service Step 4: Set the MariaDB service to auto-start […]

MySQL Error: Unknown collation: ‘utf8mb4_unicode_520_ci’

Currently, it seems anyway, a lot of the underlining technologies that I use everyday to build websites (ie, PHP and MySQL) are quickly upgrading and making big changes.  These changes are exciting and I look forward to utilizing them as soon as I can but sometimes it is hard to just “flip the switch” on […]

SAS moduleTpl Function

_module->moduleTpl($filename, $variables) Description Builds a list from an array of data Variables Name Required Description Type Values Default $filename Yes File path from template/ directory in module string $variables Yes array of variables with name as key array Result This function returns a string of the template file contents.

SAS obSubmit Function

obSubmit(object, module, action, method) Description Used to submit a request or data to the server and then handles return Variables Name Required Description Type Values Default object Yes The object that the result is applied to based on the stated method DOM Object module Yes The referencing Module ID int action  Yes The display or […]

wkhtmltopdf Installation on Centos [Quick Notes]

Here is a quick step by step guide to installing wkhtmltopdf on Centos 6.  Make sure to have root access to the system. 1. Install Dependencies sudo yum install -y xorg-x11-fonts-75dpi xorg-x11-fonts-Type1 2. Install wkhtmltopdf wget http://download.gna.org/wkhtmltopdf/0.12/ rpm -Uvh wkhtmltox- 3. Test wkhtmltopdf www.google.com google.pdf Source: https://jaimegris.wordpress.com/2015/03/03/how-to-install-wkhtmltopdf-in-centos-6-5/

Spyderserve  PO Box 5831 Valdosta, Georgia 31603 United States