I ran into some errors with my PHP modules on a CentOS server running ISPConfig to host web sites. I decided instead of in depth troubleshooting that it might be easier to go ahead and upgrade PHP since by default the yum package manager will limit you to PHP version 5.1 yet I knew that PHP version 5.2 had been out for a long time. What I needed to do was locate a yum repository that would allow me to upgrade PHP to version 5.2 using yum. The catch was to make sure that every necessary PHP module had an updated package available via the new yum repository. Below I describe upgrading PHP version 5.1 to PHP version 5.2 on CentOS running ISPConfig.
You may get the below phpMyAdmin error for a couple different reasons which could be related to upgrading PHP or possibly on a new installation of phpMyAdmin. The issue can be resolved easily by installing or upgrading mcrypt on your server.
Error:Cannot load mcrypt extension. Please check your PHP configuration.
When attempting to process an order using ClientExec you may get error messages like the following: An error has occurred with the given operation Type: Warning (2) Description: mysql_real_escape_string() expects parameter 1 to be string, object given Request: POST /signup.php Script: <clientexec-root>/newedge/classes/NE_Mysql.php Line Number: 198 Stack: var/www/web2/web/client/newedge/classes/NE_Mysql.php(138) : regexp code (1) : ne_mysql::escape_string <clientexec-root>/newedge/classes/NE_Mysql.php (138)…
It has been awhile since I have used ClientExec and the Authorize.net plugin. ClientExec has really come a long way and everything went really smooth until I tried to start testing processing credit card orders. I filled in a new customer and attempted to save a credit card for the new user and the screen would go completely white on submit and not do anything. I wasn’t able to get much from the Apache logs or MySQL logs but finally remembered a couple packages that have to be installed for the Authorize.Net plugin to work.
All of the following can be installed with yum:
yum install libmcrypt php-mcrypt curl
When installing phpMyAdmin to manage your MySQL database there are a couple of things you need to completed. You may receive some of the following errors if you do not complete all of the necessary prerequisites but all are easy to resolve.
The first error you will probably run into is the below error.
ERROR: The configuration file now needs a secret passphrase (blowfish_secret)