Jump to content

Fatal error with one registrar


sohouk

Recommended Posts

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?

Link to comment
Share on other sites

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 by HerrZ
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated