Jump to content

File attachment charachter limit (32) in prestashop 1.6.0.6


sjmleeds

Recommended Posts

Hi All,

 

We upgraded from 1.5 to 1.6 and in the previous version, we made the amendments to the necessary files as mentioned here:

 

http://www.prestashop.com/forums/topic/81129-solvedhow-to-change-the-length-of-the-file-name-of-the-attachement/

 

However, this solution doesnt work in 1.6 - it works in theory, as it does allow upload of longer charachter length files, however after adding and clicking "save and stay" or "save" the screen goes blank white, it does save the attachment, but doesnt redirect after that.

 

Anyone who can shed any light would be most appreciated.

 

Thanks

Link to comment
Share on other sites

Have you tried to override clasess file Attachment.php on public static $definition and increase size value of field name ?

Don't forget, you should increasing varchar value in PREFIX_attachment_lang database table according to value defined on your override file

 

Thanks, i tried all that and also updated varchar in db table to match the 128 in the files, but still it just gives white screen after saving attachment.

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...