Author Archives: Elias

Installing pdo & pdo_mysql Using cPanel

If your using cPanel to run your server, then it’s very simple to enable PDO & PDO_MYSQL within the WHM. Access your WHM and navigate to your EasyApache. Home >> Software >> EasyApache (Apache Update). First, begin by selecting a profile to load. Previously Saved Config (**DEFAULT**) ! This option loads the last saved configuration.… Read More »

CentOS Cannot stat() mounted device /dev/root

cannot stat() mounted device /dev/root No such file or directory CentOS 6.2 & Xen Linode VPS The DISK USED in both cPanel & WHM, do not reflect correct data size. According to cPanel, I require /dev/root in order for userquota to be mounted. root@host [/]# quota -sv quota: Cannot stat() mounted device /dev/root: No such… Read More »

My Unix Commands for CentOS & RedHat

The listed Linux commands are most common with my web development. Other commands get into greater detail in bellow Resource section. # cat /etc/redhat-release To find out the CentOS distro version. # cat /etc/issue To find out the Ubuntu distro version. # cd change directory # du -sch * Breakdown of disk usage. (-a, -d,… Read More »

How to Export PrestaShop database phpMyAdmin onto a Testing Domain.

PrestaShop version 1.4.4.1 using phpMyAdmin to export PrestaShop database. According to PrestaShop documentation, the typical upgrade method has depreciated and is not recommended.  There is a free module ‘1-click-upgrade’ from addons.prestashop.com that is recommended, however good luck in having it work! I’m left with a couple of options. a.) fix the module b.) perform depreciated… Read More »

My PrestaShop v1.5.2 Bug Report

In much needed upgrade to my PrestaShop store, I installed the latest version from PrestaShop v1.5.2.0 Final in the beginning of November 2012. When I installed prestashop, I thought I had selected to install with modules disabled. However, all the bells and whistles where included with my fresh install.. I figured, I would begin disabling/uninstalling… Read More »

Google Map v3 API Prestashop Module

Step 1.) Edit file: header.tpl Define your style sheet <link href=”{$modules_dir}contactform_map/css/contactform_css.php” rel=”stylesheet” type=”text/css” media=”all” /> <link href=”{$modules_dir}contactform_map/css/contact.css” rel=”stylesheet” type=”text/css” media=”all” /> Next, add the JavaScript… Step 2.) Edit file: contactform_map.tpl You need to modify the portion of the provided code with your Google API and set your Sensor’s parameter to either true or false. Sensor… Read More »

PrestaShop Theme Compatibility with v.1.5.2.0

I need to confirm that my theme will be compatible with future PrestaShop upgrades, so I used PrestaShop’s Theme Validator: http://validator.prestashop.com/ Upgrade preparations, I need to understand the differences in options between the two versions.. By installing both versions, I can simultaneously test & troubleshoot. My understanding of PrestaShop v1.4 is that it has a very simple and… Read More »