Jump to content

Product downloads Issue


Nathanael

Recommended Posts

Steps to reproduce:

 

1- Edit any product.

2- Click "other" tab.

3- Select a category and try to upload a file.

 

Fatal error: Uncaught exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'category' cannot be null (SQL: insert into `tbldownloads` (`category`, `type`, `title`, `description`, `location`, `clientsonly`, `productdownload`, `updated_at`, `created_at`) values (, zip, test, test, wmleaseweb312a.zip, 1, 1, 2015-07-26 13:25:40, 2015-07-26 13:25:40)) (SQL: insert into `tbldownloads` (`category`, `type`, `title`, `description`, `location`, `clientsonly`, `productdownload`, `updated_at`, `created_at`) values (, zip, test, test, wmleaseweb312a.zip, 1, 1, 2015-07-26 13:25:40, 2015-07-26 13:25:40))' in /home/nathan/webs/whmcsmod-panel/includes/classes/WHMCS/Terminus.php on line 0
( ! ) Illuminate\Database\QueryException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'category' cannot be null (SQL: insert into `tbldownloads` (`category`, `type`, `title`, `description`, `location`, `clientsonly`, `productdownload`, `updated_at`, `created_at`) values (, zip, test, test, wmleaseweb312a.zip, 1, 1, 2015-07-26 13:25:40, 2015-07-26 13:25:40)) (SQL: insert into `tbldownloads` (`category`, `type`, `title`, `description`, `location`, `clientsonly`, `productdownload`, `updated_at`, `created_at`) values (, zip, test, test, wmleaseweb312a.zip, 1, 1, 2015-07-26 13:25:40, 2015-07-26 13:25:40)) in /home/nathan/webs/whmcsmod-panel/includes/classes/WHMCS/Terminus.php on line 0

 

 

Seems the issue is that the category is not set although i selected it previously.

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