costauto Posted August 27, 2021 Share Posted August 27, 2021 salve chiedo aiuto relativamente all'import prodotti. In pratica carico i prodotti tramite file csv, ho sempre utilizzato la funzione import senza alcun tipo di problema solo che da oggi sto avendo numerosi problemi nell'importazione. Devo aggiungere circa 200 prodotti ma è un odissea. Appena avvio l'import mi esce un errore lato server. Da log l'errore è questo: [Fri Aug 27 16:32:02.212446 2021] [proxy_fcgi:error] [pid 16453:tid 139862984353536] [client 93.148.92.154:54060] AH01071: Got error 'PHP message: PHP Warning: Illegal string offset 'title' in /var/www/vhosts/costautoricambi.com/httpdocs/var/cache/prod/smarty/compile/4b/e9/a9/4be9a95e2d3817cbaf8003cbc2ebcb638e958c11_0.file.form.tpl.php on line 197\n', referer: https://www.costautoricambi.com/negozio/index.php?controller=AdminImport&token=b92246ca26320632a65cee49649b8f86 Ho fatto delle verifiche sulla tabella ps_product ed avevo notato incongruenza con l'ultimo id prodotto caricato e l'auto increment al che l'ho sistemato e sono riuscito a caricare circa 20 prodotti per poi bloccarsi nuovamente. A questo punto non credo che sia un problema di id prodotti ma non riesco a capire da cosa può dipendere. Da premettere che utilizzo sempre lo stesso tipo di file e template per l'aggiunta prodotti e non capisco ora che problema c'è. Ho provato a caricare un prodotto alla volta e va bene, ma se carico un file con 2 prodotti , il primo me lo carico ed il secondo mi crea una stringa vuota. Qualcuno potrebbe aiutarmi a capire? Link to comment Share on other sites More sharing options...
costauto Posted August 27, 2021 Author Share Posted August 27, 2021 Ho notato inoltre che la versione PHP su plesk è obsoleta. Potrebbe essere quello il problema? Link to comment Share on other sites More sharing options...
costauto Posted August 27, 2021 Author Share Posted August 27, 2021 in allegato ho scaricato il file dove risulta l'errore. chiedo aiuto 4be9a95e2d3817cbaf8003cbc2ebcb638e958c11_0.file.form.tpl.php.txt Link to comment Share on other sites More sharing options...
watou Posted May 19, 2022 Share Posted May 19, 2022 Hai mai trovato una soluzione al tuo problema di importazione? Link to comment Share on other sites More sharing options...
BBService Posted July 23, 2023 Share Posted July 23, 2023 Ciao Francesco come stai ? Il problema ce l'hai sul file nei campi: Discount percent - Discount from (yyyy-mm-dd) - Discount to (yyyy-mm-dd) Sicuramente qualche decimale elaborata male da openoffice. Stammi bene ;) 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