Author Topic: Customer File upload function  (Read 1238 times)

Offline briansgood

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Customer File upload function
« on: January 05, 2025, 07:07:50 PM »
I am trying to use the customer file upload function. The problem is that once you send it to the cart the file doesn't go to the proper place or is it able to link to where it needs to go. So the upload isn't working. The error was at resources.php li e 54.  The site is damnfunkyshirts.com

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6039
  • Karma: +284/-2
    • View Profile
Re: Customer File upload function
« Reply #1 on: January 06, 2025, 01:34:27 AM »
Hello
Please check the AbanteCart error log for the most recent error. Additionally, could you provide the size of the uploaded file and the upload field settings (such as allowed extensions and regex patterns)?

Offline briansgood

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Customer File upload function
« Reply #2 on: January 07, 2025, 12:07:18 AM »
The error log isn't picking it up anymore.  The extension are jpg, jpeg, pdf, png.  The file size is 15000kb max.  I've tried different formats and file sizes.  It just doesn't send it anywhere.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6039
  • Karma: +284/-2
    • View Profile
Re: Customer File upload function
« Reply #3 on: January 07, 2025, 01:32:04 AM »
  It just doesn't send it anywhere.
Hello.
Did you check the System > Data > File Uploads?

Offline briansgood

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Customer File upload function
« Reply #4 on: January 08, 2025, 02:12:20 PM »
Yes. I've looked in the front end and the back end in the resource/ img file and system/ i.age file.  Nothing is there.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6039
  • Karma: +284/-2
    • View Profile
Re: Customer File upload function
« Reply #5 on: January 09, 2025, 02:29:47 AM »
Hello,

Could you please share your PHP and AbanteCart versions? Additionally, provide a screenshot of the "File" option type with all its settings visible that you added to the product.

Offline briansgood

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Customer File upload function
« Reply #6 on: January 11, 2025, 02:53:11 PM »
The PHP ver 8.3.14

Abantecart ver 1.4.0

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6039
  • Karma: +284/-2
    • View Profile
Re: Customer File upload function
« Reply #7 on: January 13, 2025, 02:14:03 AM »
Hello.
Please remove the value of the "Upload directory name" and double check it is removed in the Product option where you add this Global Attribute

Offline briansgood

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Customer File upload function
« Reply #8 on: January 14, 2025, 10:24:31 PM »
Thank you. That worked.  Do they go into the image folder on the front end? And will they somehow be linked to the order?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6039
  • Karma: +284/-2
    • View Profile
Re: Customer File upload function
« Reply #9 on: January 15, 2025, 01:37:52 AM »
Thank you. That worked.  Do they go into the image folder on the front end? And will they somehow be linked to the order?
Hello.
Once a customer places an order, the downloads will be saved in the admin/system/uploads/ folder. The admin can then download the file from the order page.

 

Powered by SMFPacks Social Login Mod