Jump to content

Awbs -> whmcs


Recommended Posts

I used the supplied script to import our AWBS installation into WHMCS and it mostly worked.

 

We use multiple registrars and it imported all of them OK except for OpenSRS.

 

If the AWBS table had the registrar set to OpenSRS, then although the domain and details were imported to WHMCS, the registrar name (OpenSRS) wasn’t.

 

So, now I need to go through all the entries where the registrar is empty and insert OpenSRS :(

 

Can someone let me know of a SQL statement that would do that?

 

The WHMCS database table is : tbldomains and the field is registrar

 

Thanks.

Link to comment
Share on other sites

Well, it sounds like you need a simple update command. Pretty basic.

 

You can try:

UPDATE `tbldomains` SET `registrar`='OpenSRS' WHERE `registrar`=''

 

That should update all the fields that have registrar set to nothing to OpenSRS

 

Thanks , I'll try that tomorrow and see how it works. I am just a little baffled that all other stuff was imported easily enough.

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