Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4267
Latest: ramiroelliot
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 43544
Total Topics: 7565
Most Online Today: 70
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 42
Total: 42

Author Topic: Error uploading video.  (Read 2033 times)

0 Members and 1 Guest are viewing this topic.

Offline Panoulis64

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Error uploading video.
« on: February 07, 2024, 10:04:56 am »
I'm running sfm 2.1.4 with PHP 8.2
and SMFGallery10beta2.zip
I have video in Settings
Maximum video/audio size: 2000000000 (bytes)
The video file I tried to upload 44.7 MB(46,890,196 bytes)
I fill in video name, category, text, keywords, select the video, and after almost a minute of it trying to upload, it gives me an error saying I didn't select a category!

In my management, I get 5 unspecified errors every time.
2: Undefined array key "title"
2: Undefined array key "descript"
2: Undefined array key "keywords"
2: Undefined array key "cat"
2: Undefined array key "userid"

All in /home/triglian/public_html/new/Sources/Subs-Video2.php (Line 175-9)

URL of the page generating the error
/new/index.php?action=gallery&sa=addvideo2

and the 5 Flashback information
#0: smf_error_handler()
Call from /home/triglian/public_html/new/Sources/Subs-Video2.php on line 176 (175-9 of 5)
#1: AddVideo2()
Call from /home/triglian/public_html/new/Sources/Gallery2.php on line 295
#2: GalleryMain()
Called from /home/triglian/public_html/new/index.php on line 184

What could be going on?
« Last Edit: February 07, 2024, 10:09:57 am by Panoulis64 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16563
    • View Profile
Re: Error uploading video.
« Reply #1 on: February 07, 2024, 10:26:40 am »
You are likely exceeding your PHP upload limits check out
https://www.smfhacks.com/index.php/topic,3498.0.html
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Panoulis64

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: Error uploading video.
« Reply #2 on: February 08, 2024, 09:36:45 am »
After the changes you suggested, I tested again, same video and it uploaded.
But I got the following error message:
Database error
Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
File: /home/triglian/public_html/new/Sources/Gallery2.php
Line: 12523

and in my management

/new/index.php?action=gallery&sa=addvideo2
  /home/triglian/public_html/new/Sources/Gallery2.php (Line 12523) Fallback info

Error Type: Database
Error Message[Select]
Database error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='


SELECT
ID_TAG
FROM smftm_gallery_tags
WHERE tag = 'Sergiani on the streets of Rafina'

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16563
    • View Profile
Re: Error uploading video.
« Reply #3 on: February 08, 2024, 02:04:16 pm »
You are going to need to look the table collation and character set for the smftm_gallery_tags table and make sure it matches your gallery tables such as smftm_gallery_pic table. I would check via phpmyadmin
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
6616 Views
Last post August 23, 2007, 07:20:24 pm
by rumboogy
Fatal error uploading image

Started by guest3817 Support

6 Replies
5355 Views
Last post September 23, 2009, 06:02:42 pm
by SMFHacks
2 Replies
3841 Views
Last post September 03, 2014, 05:16:43 pm
by shuban
4 Replies
4026 Views
Last post February 13, 2018, 05:59:33 am
by TKO-100
1 Replies
835 Views
Last post July 03, 2022, 05:50:19 pm
by SMFHacks

+- Recent Topics

Move picture from main gallery to user gallery by Lirorobert
Today at 03:08:26 pm

Gallery Pro reinstalation by Lirorobert
Today at 03:04:50 pm

quoting part of message by Lirorobert
October 04, 2024, 03:21:40 pm

Does SMF Gallery support by SMFHacks
October 02, 2024, 06:14:26 am

Restoring a deleted photo by Monocero
September 28, 2024, 04:12:20 am

Item count on Gallery Tab shows double by SMFHacks
September 26, 2024, 12:59:20 pm

Forum post missing when image over 4000x pixels is uploaded to gallery by Michel68
September 24, 2024, 01:37:17 pm

Setting a photo as invisible by Monocero
September 17, 2024, 02:11:56 pm

Two gallery names by SMFHacks
September 15, 2024, 02:17:49 pm

Bar during the regeneration of miniatures by Monocero
September 15, 2024, 12:35:08 pm

Powered by EzPortal