mark83ba Posted January 19, 2015 Share Posted January 19, 2015 Buongiorno. Sto realizzando un e-commerce per la vendita di prodotti virtuali (ebook e audiolibri). Il problema che è sorto, credo dipenda dal limite della dimensione dei file in upload. Vorrei sapere se qualcuno ha affrontato questa problematica in precedenza. Con FTP riesco a fare l'upload ma attraverso il pannello prestashop no. Ma anche volendo usare l'FTP, non saprei come inserire l'indirizzo da abbinare al prodotto virtuale. Hosting Linux e Mysql (Aruba) Prestashop 1.6.0.11 Ringrazio anticipatamente chi vorrà aiutarmi Link to comment Share on other sites More sharing options...
mark83ba Posted January 20, 2015 Author Share Posted January 20, 2015 (edited) Ho risolto da solo e lascio qui la soluzione per chiunque incappi in questo problema. È sufficiente andare via FTP nella root del sito > cartella "CLASSES" > aprire con editor il file uploader.php Dove comprare il comando const DEFAULT_MAX_SIZE = 10485760; il valore in rosso (che equivale di default a circa 10 mb) può essere aumentato a nostro piacimento. Io ho sostituito quel numero con 262144000 (circa 250 mb che per me sono sufficienti) Il mio comando ora dice: const DEFAULT_MAX_SIZE = 262144000; Questa è una tabella esplicativa. MegaBytes Bytes 10 10485760 20 20971520 30 31457280 50 52428800 100 104857600 250 262144000 500 524288000 1000 (1GB) 1048576000 Per la cronaca, ho trovato la soluzione completa a questo link Edited January 20, 2015 by mark83ba (see edit history) Link to comment Share on other sites More sharing options...
NoApple Posted January 24, 2015 Share Posted January 24, 2015 Grazie per la spiegazione, potrebbe tornare molto utile anche a me questa guida. Link to comment Share on other sites More sharing options...
tsunamisurfing Posted October 28, 2015 Share Posted October 28, 2015 Grazie, ben spiegato anche attraverso lo "specchio". Ho risolto il mio problema velocemente senza impazzirmi nei vari codici. Link to comment Share on other sites More sharing options...
KitKarson2 Posted December 16, 2015 Share Posted December 16, 2015 Purtroppo, avendo la versione in cloud, nella mia cartella classes non c'è il file uploader.php Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now