Prestashop 1.6.x.x contact form problem with sending messages.

Hi,

Yesterday my client told that his Prestashop 1.6.x.x don’t send messages from the contact form. Here is what i have done to solve this:

  1. Edit your Prestashop contact-form.tpl which is located in
  2. Search for <div class=”submit”>

    and add this:
  3. To make it work do:clear cache and recompile your theme → Save and after that undo those options – this worked for me

Apache UserDir in CentOS 7

Quick steps to set it up (I assume you have apache installed):

  1. login as root
  2. edit userdir.conf

  3. restart Apache
  4. setup your directory
    as normal user enter:
  5. if you use SELinux as root enter:
  6. create simple html page

    enter this:
  7. change ownership of file
  8. start your browser and enter this address:

     

    and voila! 😉

Cloning VirtualBox vmdk to vdi

First of all you have to shutdown VirtualBox machine that you wan’t to clone.
After that create new folder where you wan’t to clone existing vmdk machine to vdi

After that run this command in terminal:

Wait until the job is done and… that’s all.

Mounting Windows share in CentOS 7

Today i have to connect to Windows share from CentOS 7. This is how I done it:

then I have created directory in /mnt

after that:

That’s all 🙂

ClearOS 6.x , OpenVPN and Windows 10

Recently I have been in the UK, in a company where many users are connecting to my company server data via VPN and they have told me, that they have problems with OpenVPN client running on Windows 10.

First problem was with OpenVPN client version because, the newest client requires Administrator rights to start. The working version in my case was 32bit and 64bit versions.

The second problem was that after one hour the connection was closing down. Solution for that was easy. I had to only add those two lines

to openvpn config file – and that’s it. After one hour the connection was still up and runnig !

Cheers!

HP Proliant ML 110 G5, CentOS 7 and Smart Array P400

Recently i had to reinstall my old (but still working) server. I have bought Smart Array P400 instead of my old Smart Array E200, added new harddrives (WD Caviar Black 1TB x 2). And there was an issue regarding that on CentOS 7.x (RHEL 7.x) there is no more drivers for that controller. This was bad for me.

I have started to google the internet and have found a solution for this:
https://www.centos.org/forums/viewtopic.php?f=49&t=47011&start=20
and
https://www.centos.org/forums/viewtopic.php?f=49&t=51302&sid=850e80707bfb3db598f2c5be00ae5e51&start=10

Solution was simple:

  1. Download drivers from here http://elrepo.org/people/akemi/testing/el7/isos/
  2. Add above driver for CentOS 7 during boot process
  3. Install CentOS 7

Continue reading

Google Chrome in CentOS 7

First we have to create entry in yum.repos.d

After that we need to enter following information into that file

Now we are ready to go 🙂

 

Adding Windows partition to grub menu after installing CentOS 7

After installing CentOS 7 on my laptop there was no entry pointing to Windows in the grub menu. Here is what i have done:

I have found entry:

So first i have created copy of old grub.cfg in /boot/grub2/grub.cfg like this:

and then i have done this:

After above operations I was able to enter my Windows OS 😉

This website stores some user agent data. These data are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to opt-out of any future tracking, a cookie will be set up in your browser to remember this choice for one year. I Agree, Deny
552