Jump to content

Adding the OpenSRS additional modules makes WHMCS stop dead, white screen.


Recommended Posts

I'm setting up a domain registration system using WHMCS. I'm an experienced sysadmin with full SSH access to the webserver, and root. I've been building DNS infrastructure and control systems for more than a decade, but this is my first experiment with WHMCS.


The Nominet integration works perfectly.


On attempting to register a domain via OpenSRS, I got the error message telling me key modules were missing and providing the link to the "Additional Registrar Module Files Requirement" item here: http://docs.whmcs.com/OpenSRS#Additional_Registrar_Module_Files_Requirement


I pulled the zip file into the modules/registrars/opensrs directory of my install, and extracted the contents using unzip. Following which, any attempt to view the .com domain from the View Client section resulted in a blank white screen. If I go "back" and view a .uk domain, all is well, but as soon as the .com is selected in the drop down, instant white screen.


Looking into the PEAR directory the zip file had created, there's a System.php, trying to run that from the command line produced an error on this line:


require_once 'Console/Getopt.php';


Installing PEAR (which wasn't previously installed on this machine) fixed that, but the white screen in WHMCS is still happening.


I'm assuming I need to install more of the PEAR modules listed in YaST (this is a SuSE 11 box), but does anyone know which ones? I don't want to install more than is necessary.


I've Googled extensively but not come across any reports of this error with these modules.


In a related issue, nothing is being written to the WHMCS host's error_log, even though the php.ini options to enable error logging appear to be active. The nature of the white screen makes me think that the problem is presumably a missing module and that the error message, if it was logged or displayed, would reveal what is missing. Is there anything specific that needs to be done to enable error logging? I'm more familiar with Perl than PHP, so may have missed something.


Thanks in advance for any assistance / information.

Link to comment
Share on other sites

  • 5 months later...
  • 3 weeks later...



I have the same problem. I've installed php-mcrypt using yum install php-mcrypt but am still getting the error I had before:


Fatal error: Undefined constant 'MCRYPT_DEV_URANDOM' in /var/www/html/whmcs/modules/registrars/opensrs/opensrs.php on line 0


Just wondering if I need to also add a line to the php.ini file to take care of this or not?




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.

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