Author Topic: ****** please  (Read 4999 times)

Offline walkietalkie

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
****** please
« on: December 28, 2023, 08:59:54 AM »
Hello all you good people,

I have started to use this platform today. I am not an expert, but have used a couple of other platforms. I am trying to upload images to use in my store, however it just keeps coming up with "File Michael Ashby.jpg (Filetype not allowed)" I have tried .png and .jpeg and in different sizes. just will not allow me to upload any images. Can someone say what the problem is please?

Regards
Mike

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5964
  • Karma: +284/-2
    • View Profile
Re: ****** please
« Reply #1 on: December 28, 2023, 09:17:13 AM »
Hello.
Please upload image somewhere and share it with us.
Make sure jpg and png in the allowed types https://abantecart.atlassian.net/wiki/spaces/AD/pages/24281122/Add+new+resource+type

Offline GiddsMaster

  • Newbie
  • *
  • Posts: 3
  • Karma: +1/-0
  • All About IT
    • View Profile
Re: ****** please
« Reply #2 on: May 04, 2024, 11:10:00 AM »
Hi,

I have an issue where the filetype extension /.+(jpe?g|gif|png|ico|svg|svgz|webp|avif)$/i is changed with /.(jpe?g|gif|png|ico|svg|svgz|webp|avif)$/i without the + .
Everytime I fix it and check it again it does not show the plus sign and I keep getting filetype error when loading jpeg images.
Advancing Forward Ahead of Technology.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5964
  • Karma: +284/-2
    • View Profile
Re: ****** please
« Reply #3 on: May 06, 2024, 02:57:10 AM »
Hi,

I have an issue where the filetype extension /.+(jpe?g|gif|png|ico|svg|svgz|webp|avif)$/i is changed with /.(jpe?g|gif|png|ico|svg|svgz|webp|avif)$/i without the + .
Everytime I fix it and check it again it does not show the plus sign and I keep getting filetype error when loading jpeg images.

Hello. You can try to update directly in the database in the resource_types table
Code: [Select]
UPDATE `abc_resource_types` SET `file_types` = '/.+(jpe?g|gif|png|ico|svg|svgz|webp|avif)$/i' WHERE `abc_resource_types`.`type_id` = 1;

 

Powered by SMFPacks Social Login Mod