Giter Club home page Giter Club logo

tekbase-whmcs's People

Contributors

conandoyl avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

teklab-de

tekbase-whmcs's Issues

Column 'licenseid' cannot be null after accepting the order

Describe the bug
Every time a customer (in my case a test customer) books a license via the system, I get the following error message as soon as I release the order.

Error: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'licenseid' cannot be null (SQL: insert into mod_tekbase_licenses (serviceid, customerid, licenseid, licensekey, siteip, siteurl, sitepath, version, cms, shop, gwislots, rwislots, swislots, updated_at, created_at) values (31, MeMpbFwD3e8q, ?, Not retrieved yet.
To retrieve the License Key make sure you've set url and path at the settings!, , domain/tekbase/, /var/www/vhosts/domain/httpdocs/tekbase/, private, ?, ?, 1, 1, 1, 2022-02-10 13:35:27, 2022-02-10 13:35:27))

domain is replaced with the correct values in the original error message and is only entered here for anonymization.

I hope you can help me to solve the problem.

To Reproduce
Steps to reproduce the behavior:

  1. Create an order as an customer
  2. As Admin, try to accept the order. As soon as you try it the error is displayed
  3. See error

Versions:

  • WHMCS: 8.4.0
  • tekbase-whmcs: latets downloadable version

Logs:

10.02.2022 13:35 {"StatusCode":"500","Message":"Server replied with an error."}

10.02.2022 13:35 Module Create Failed - Service ID: 31 - Error: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'licenseid' cannot be null (SQL: insert into mod_tekbase_licenses (serviceid, customerid, licenseid, licensekey, siteip, siteurl, sitepath, version, cms, shop, gwislots, rwislots, swislots, updated_at, created_at) values (31, MeMpbFwD3e8q, ?, Not retrieved yet.
To retrieve the License Key make sure you've set url and path at the settings!, , domain/tekbase/, /var/www/vhosts/domain/httpdocs/tekbase/, private, ?, ?, 1, 1, 1, 2022-02-10 13:35:27, 2022-02-10 13:35:27))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.