sohouk Posted April 16, 2010 Share Posted April 16, 2010 We use a number of separate registrars and for each domain. The registrar is set to the one that is applicable to that domain. Everything is fine except for OpenSRS. If I set the registrar to OpenSRS I get a partial page load. Error checking shows this: Fatal error: Class 'PEAR' not found in /public_html/whmcs/modules/registrars/opensrs/OPS.php on line 0 This error does not occur for other registrars. How can this be fixed? 0 Quote Link to comment Share on other sites More sharing options...
HerrZ Posted April 16, 2010 Share Posted April 16, 2010 (edited) your (selfcoded?)registrarmodule uses a PEAR function (http://pear.php.net/). maybe it is unserialize() or something. look into the code for the unknown function. then install pear, or better, rip off the function from the relating pear package (so u not have to install the framework). EDIT: ha, the module is in my codebase: short: see in openSRS_base.php # assuming that the PEAR directory is within your path, otherwise change the path here require_once 'PEAR.php'; then look for the next issue step by step Edited April 16, 2010 by HerrZ 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 16, 2010 Share Posted April 16, 2010 To clarify -- OpenSRS is encoded thus he can not *rip* anything out. Depending on your linux distro -- assuming you are using linux debian -> apt-get install php-pear CentOS/RedHat -> yum install php-pear 0 Quote Link to comment Share on other sites More sharing options...
HerrZ Posted April 16, 2010 Share Posted April 16, 2010 sry, i looked for the user contribution "opensrsexisting". anyway you will need PEAR. 0 Quote Link to comment Share on other sites More sharing options...
sohouk Posted April 17, 2010 Author Share Posted April 17, 2010 I'll check and see if Pear is there. The only thing I am wondering is why OpenSRS module uses it and none of the others do (I use Enom and Reseller club as well - and they are OK) I’ll check the install and try again. Thanks to you both for the quick response. 0 Quote Link to comment Share on other sites More sharing options...
sohouk Posted April 22, 2010 Author Share Posted April 22, 2010 It turns out the solution was more prosaic! I asked WHMCS support and it appears the WHMCS install was missing not just one, but a whole raft of files that should have been in the OpenSRS folder! WHMCS sent them to me and after uploading them it all looks good. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.