CF8 - File Upload failed

rbock 22 Sep, 2023
Unsupported operand types: string - string

that worked until yesterday! If I move file upload to a container, then there is no error message. However, the entry is no longer saved in the DB and no file is uploaded.
rbock 23 Sep, 2023
Ok... Just checked again. CF8 8.0.12 - the file upload works here, after the update to 8.0.13 there is an error message!
rbock 23 Sep, 2023
# Function Location
1 () JROOT/administrator/components/com_chronoforms8/pages/view.php:287
2 ChronoApp->{closure}() JROOT/administrator/components/com_chronoforms8/pages/view.php:501
3 require() JROOT/administrator/components/com_chronoforms8/chrono.php:385
4 ChronoApp->processExtension() JROOT/components/com_chronoforms8/chronoforms8.php:35
5 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
6 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
7 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
8 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
9 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
10 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
11 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
12 require_once() JROOT/index.php:32
rbock 24 Sep, 2023
ok, remove line 287 from view.php - it works

but, when file upload is in the container, neither the file is uploaded nor the field is saved in the db.
rbock 24 Sep, 2023
OK, I add my CSS information directly to the file upload field. so it works for now.
Max_admin 25 Sep, 2023
there is a bug that when a file upload is inside a container then it does not work at all.

Where do you see the "unsupported operand types" error ?

What CSS information did you add ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 25 Sep, 2023
DIRECTORY_SEPARATOR "\" is wrong for non windows systems! -> line 287 view.php
Max_admin 26 Sep, 2023
DIRECTORY_SEPARATOR is platform independent
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.