Bug #38062
Upload is not working
Status:
New
Priority:
Must have
Assignee:
-
Start date:
2012-06-15
Due date:
% Done:
0%
Estimated time:
Description
When I upload a file in the datastore, the file is not written on the server and the download link in the frontend points to /uploads/tx_icsopendatastore/.
In the log, I only have this :
Record '[Sans titre]' (tx_icsopendatastore_files:20) was updated. (Online). (msg#1.2.10)
Updated by Pierre Rudloff over 8 years ago
Note : It works if I manually put the file on the server and update the file field in the tx_icsopendatastore_files table.
Updated by Aurélien Grayo over 8 years ago
Have you checked the write permissions on the directory uploads/tx_icsopendatastore ? The directory must be writable for user running Apache.
If this does not solve the problem, you may try with the last version of the SVN.
Updated by Pierre Rudloff over 8 years ago
The directory has a chmod of 777.
I will try the SVN version.
Updated by Pierre Rudloff over 8 years ago
With the latest SVN version, the upload works fine but the frontend Datastore plugin does not display anything.
Here is the log :
19:37:11 rudloff@LIVE [5] ! [5_0] Core: Error handler (FE): PHP Warning: implode(): Invalid arguments passed in /var/www/opendata/typo3conf/ext/ics_od_datastore/pi1/class.tx_icsoddatastore_pi1.php line 353 . . . ! . Core: Error handler (FE): PHP Warning: implode(): Invalid arguments passed in /var/www/opendata/typo3conf/ext/ics_od_datastore/pi1/class.tx_icsoddatastore_pi1.php line 351 . . . ! . Core: Error handler (FE): PHP Warning: Division by zero in /var/www/opendata/typo3conf/ext/ics_od_datastore/pi1/class.tx_icsoddatastore_pi1.php line 441 . . . ! . Core: Error handler (FE): PHP Warning: Invalid argument supplied for foreach() in /var/www/opendata/typo3conf/ext/ics_od_datastore/pi1/class.tx_icsoddatastore_pi1.php line 594