spaceman Posted September 17, 2013 Share Posted September 17, 2013 Hello everyone, Not sure if I'm being stupid but I've tried installing the Prestashop 1.5.4.1 App to the root of my domain via Plesk on a Linux server, but neither the back nor front office will load. Firefox just gives me a blank page and Chrome says 'Server error' but I can't see what's wrong (I've had no trouble installing osCommerce and Wordpress apps). I'm using: CentOS 6.4 + Plesk 11.5.3 PHP 5.3.3 MySQL 5.1.69 ...so as far as I can see I have the right system requirements. Am I missing something simple? Thanks Scott Link to comment Share on other sites More sharing options...
NemoPS Posted September 18, 2013 Share Posted September 18, 2013 Can you check if files have been added by logging via ftp? Also, if you can login via ftp, try and follow my signature's suggestion on how to turn on errors, and see what happens. As far as i know, Plesk only generates problems with auto installers (with Prestashop at least) Link to comment Share on other sites More sharing options...
spaceman Posted September 18, 2013 Author Share Posted September 18, 2013 Ah, thank you! I see what the problem is: Fatal error: Call to undefined function mcrypt_encrypt() in /var/www/vhosts/cozibags.co.uk/httpdocs/classes/Rijndael.php on line 50 I've come across this mcrypt issue in the past but never worked out how to download it to my server. I was under the impression that it's included with PHP 5.3 onwards, am I wrong in thinking that? Link to comment Share on other sites More sharing options...
NemoPS Posted September 18, 2013 Share Posted September 18, 2013 This might help you http://stackoverflow.com/questions/2604435/what-causes-this-error-fatal-error-call-to-undefined-function-mcrypt-encrypt Link to comment Share on other sites More sharing options...
spaceman Posted September 18, 2013 Author Share Posted September 18, 2013 Thanks Nemo1 but I'm struggling with that...people seem to be advising that the php.ini file is amended but I don't seem to have a php.ini file on my server. Perhaps because it's a shared VPS? Hmmm, I'll have to keep on having a play around with that but any suggestions welcome! Link to comment Share on other sites More sharing options...
spaceman Posted September 19, 2013 Author Share Posted September 19, 2013 Little update...I think I might have found out how to add parameters to the php.ini file using the 'Additional directives' box in 'PHP Settings' (under the tab Websites & Domains > PHP Settings) but that doesn't seem to help me. I know I need to somehow install mcrypt but the more I read the more confused I get. Can anybody possibly steer me towards a trustworthy site with a clear and simple set of intructions??! Link to comment Share on other sites More sharing options...
NemoPS Posted September 19, 2013 Share Posted September 19, 2013 Do you have whm as your server management tool? If so, you should be able to recompile php with mcrypt using apache easyconfig You just have to check a checkbox using it Link to comment Share on other sites More sharing options...
spaceman Posted September 20, 2013 Author Share Posted September 20, 2013 I don't know, is that a cPanel tool? I'm on Plesk (11.5.30 at the moment) and don't know how I can find out? Link to comment Share on other sites More sharing options...
NemoPS Posted September 20, 2013 Share Posted September 20, 2013 Yeah that's the base of cpanel usually, I only worked with plesk a couple of times so I don't really know how to guide you on that! Link to comment Share on other sites More sharing options...
spaceman Posted September 20, 2013 Author Share Posted September 20, 2013 Hmmm, not to worry, I appreciate your ongoing help! I've installed an SSH client in the hope that I can figure something out but I can't even get it to connect to my server at the moment...I don't know why everything has to be so complicated! Does anybody out there know the easiest way to install this mcrypt file on to a Linux-OS 6.4 + Plesk 11.5 server?? Link to comment Share on other sites More sharing options...
spaceman Posted September 25, 2013 Author Share Posted September 25, 2013 (edited) UPDATE: I've done it!I used the 'Putty' SSH client to access my Linux CentOs 6.4 server and did the following command:[root@myserver]# rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmWhich installed the Epel repo (because apparently mcrypt is not available in CentOS repo) and ran the following code:Retrieving http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm]warning: /var/tmp/rpm-tmp.K84Lrw: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEYPreparing... ########################################### [100%]1:epel-release ########################################### [100%][root@lin phpmyadmin]#Then I installed mcrypt with the following command:[root@myserver]# yum -y install php-mcryptAnd now it works! I'm really quite pleased with myself, hope this helps others with the same issue. Edited September 25, 2013 by spaceman (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now