News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Customer File upload function

Started by briansgood, January 05, 2025, 07:07:50 PM

Previous topic - Next topic

briansgood

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

Basara

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)?

briansgood

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.

Basara

Quote from: briansgood on January 07, 2025, 12:07:18 AM
  It just doesn't send it anywhere.
Hello.
Did you check the System > Data > File Uploads?

briansgood

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.

Basara

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.

briansgood

The PHP ver 8.3.14

Abantecart ver 1.4.0

Basara

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

briansgood

Thank you. That worked.  Do they go into the image folder on the front end? And will they somehow be linked to the order?

Basara

Quote from: briansgood 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?
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.

Forum Rules Code of conduct
AbanteCart.com 2010 -