Jump to content

Problems with attached files


Recommended Posts

Hi guys

 

More and more problems:

 

I'm right now on PS 1.4.3 (updating from a 1.3.1).

 

I have 2 problems:

 

1) ALL the product attachments files i have from my 1.3.1 shops are corrupted when i download them from each product page in the FO. I followed every step from PS Guide to make the update of the ps files and DB.

 

2) Each time i want to upload a attachment in the BO with a filesize > 10MB it's give me this error:

 

"3 errors

 

the field file is required

the field mime is required

the field name is required at least in Español (Spanish) "

Link to comment
Share on other sites

Hi guys

 

More and more problems:

 

I'm right now on PS 1.4.3 (updating from a 1.3.1).

 

I have 2 problems:

 

1) ALL the product attachments files i have from my 1.3.1 shops are corrupted when i download them from each product page in the FO. I followed every step from PS Guide to make the update of the ps files and DB.

 

2) Each time i want to upload a attachment in the BO with a filesize > 10MB it's give me this error:

 

"3 errors

 

the field file is required

the field mime is required

the field name is required at least in Español (Spanish) "

 

I have to add i already set correctly php.ini, .htaccess and file max size in the PS Preferences Menu but the problem persist.

Link to comment
Share on other sites

  • 3 weeks later...

2) Each time i want to upload a attachment in the BO with a filesize > 10MB it's give me this error:

 

"3 errors

 

the field file is required

the field mime is required

the field name is required at least in Español (Spanish) "

 

I have this issue too.

I solved uploading them manually but you need some phpMyAdmin skill to modify the database.

 

Upload them in Download folder with ftp

Give them an unique name.

 

Insert a row into the attachment table for each file:

 

id_attachment = void (it filled automatically)

file = the name used on download folder

filename = the name you want to use for it

mime = the mime type for the file (use google to find it)

 

then, for each file, insert for a row for each language installed:

 

id_attachment = the value used in attachement table

id_lang = the language id (see the lang table)

name = the name used for this language

description = the description used for this language

 

backup your database before to start, so you can recover it if something goes wrong

Link to comment
Share on other sites

×
×
  • Create New...