Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4274
Latest: kellanphil
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43645
Total Topics: 7572
Most Online Today: 129
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 112
Total: 113

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

0 Members and 1 Guest are viewing this topic.

Offline Panoulis64

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 61
    • 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: 16611
    • 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

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 61
    • 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: 16611
    • 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
6691 Views
Last post August 23, 2007, 07:20:24 pm
by rumboogy
Fatal error uploading image

Started by guest3817 Support

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

+- Recent Topics

Ability to exclude categories from ezPortal SMF Gallery random image ezblock by Alistair
Today at 08:20:13 am

How to move SMF to new server by SMFHacks
January 21, 2025, 08:45:53 pm

Figuring out settings by SMFHacks
January 12, 2025, 04:56:14 pm

Filesizes incorrect by SMFHacks
January 12, 2025, 02:02:47 pm

December 2024 Sale! by SMFHacks
December 02, 2024, 10:30:38 pm

Denying members some admin settings by rickk
November 17, 2024, 12:02:55 pm

Weird setup by SMFHacks
November 07, 2024, 06:37:41 am

Restoring a deleted photo by Monocero
November 01, 2024, 04:23:56 am

Gallery Pro reinstalation by Lirorobert
October 14, 2024, 01:43:43 am

Move picture from main gallery to user gallery by SMFHacks
October 11, 2024, 09:11:00 pm

Powered by EzPortal