HTML5 File Upload Support Product Page

Can't Upload Videos

Reported 12 Sep 2024 21:29:30
1
has this problem
12 Sep 2024 21:29:30 Bobby Edgar posted:
I can upload only 1 video and input the information into the database. I don't mean using a multiple file form. I'm saying a single upload. After that, I cannot upload any more videos. no matter what I do. Even shutting down the computer and then restarting, going to the website page to upload another video. Even the same one I did before. I get the following error and cannot figure out for the life of me why it's saying the field can't be "null". All fields are set to accept from the form.

This is the error from the upload.php page that google inspect shows me. I've removed some personal info for it.

{"code":"23000","file":"\/****\/****\/public_html\/****\/dmxConnectLib\/lib\/db\/Connection.php","line":79,"message":"SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'cnc_vid_id' cannot be null","trace":"#0 \/****\/****\/public_html\/****\/dmxConnectLib\/lib\/db\/Connection.php(79): PDOStatement->execute()\n#1 \/****\/****\/public_html\/****\/dmxConnectLib\/modules\/dbupdater.php(38): lib\\db\\Connection->execute('INSERT INTO `ga...', Array)\n#2 \/****\/****\/public_html\/****\/dmxConnectLib\/lib\/App.php(183): modules\\dbupdater->insert(Object(stdClass), 'log_latest_vide...')\n#3 \/****\/****\/public_html\/****\/dmxConnectLib\/lib\/App.php(147): lib\\App->execSteps(Object(stdClass))\n#4 \/****\/****\/public_html\/****\/dmxConnectLib\/lib\/App.php(117): lib\\App->execSteps(Array)\n#5 \/****\/****\/public_html\/****\/dmxConnectLib\/lib\/App.php(82): lib\\App->exec(Object(stdClass))\n#6 \/****\/****\/public_html\/****\/dmxConnect\/api\/Admin\/admin_uploads\/upload_videos.php(154): lib\\App->define('{\\n \"meta\": {\\n ...')\n#7 {main}"}

Replies

Replied 15 Sep 2024 07:32:34
15 Sep 2024 07:32:34 Teodor Kuduschiev replied:
The error is pretty much explaining what the issue is. The column called cnc_vid_id does not accept null values and you are sending a null value to it.

Reply to this topic