• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Image upload extension problem

Started by vlmal,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vlmalTopic starter

I've found a bug -- not sure if it has already been reported or not.

I tried to upload an image with the extension .JPG but it failed. After the pseudoupload the page just refreshed.

I tried adding .JPG to the allowed extension types but it still wouldn't work.

I then converted the image to .png and it worked.

Maybe the upload is case sensitive?
  •  

Marius P.

Yes it seems so.


Line 12 in com/com_image.php

if(in_array($ext,$allowedExtArray )) {





change it to


if(in_array(strtolower($ext),$allowedExtArray )) {
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

 

Similar topics (7)

Troubleshoot problems

Started by Marius P.


Replies: 13
Views: 14220

Important Announcement: PHPVibe Video Sharing CMS End of Life

Started by Marius P.


Replies: 1
Views: 39654

Search problem on mobile for v5

Started by mihai


Replies: 1
Views: 1715

2 Problem for EDGE

Started by sowieso


Replies: 1
Views: 2164

insite ads issue when selecting above/below video player location

Started by georgepanaitescu


Replies: 3
Views: 22482

The problem of text chatting PHPVibe 5.0.

Started by Nayn


Replies: 4
Views: 6564

embed video does not work on v5

Started by neospider69


Replies: 6
Views: 50659