Errors on adding media and background jobs generally

I’ve just installed Omeka S for dev purposes (plus Plugins CSVImport and Scripto, with Mediawiki), under XAMPP. I have some probably basic problems I hope you can help me with.

Right now, I have problems creating items. Or, better put, I can create one fine but cannot upload media for items. Since the purpose is to build an environment for transcription, item equals page. Trying “Upload” throws an error. It does create a file in the \files directory, during the process but apparently it doesn’t do anything with it.
Similarly, a very simple csv Import or Sync job also throws an error. I tried to change the settings in .htaccess to development mode in order to get detailed error message, but that only breaks my whole Omeka, with dozens of errors and deprecated messages:

Now I’m stuck.

In terms of the notices and error in the screenshot, you’re seeing those because you’re running with PHP 8.1, and the latest released version of Omeka S doesn’t have official 8.1 support yet. Typically with “error display” turned off this isn’t a problem, but those “Deprecated” notices you’re seeing get triggered early enough that they mess with session handling and lead to an unrelated error (what you’re seeing at the bottom) when you enable error display.

8.1 support will be included in the next release of Omeka S (4.0.0) which should be released soon. But I’m not sure your original problem of not being able to upload is related to this 8.1 issue. If you instead enable error logging rather than error display you should be able to capture the error you’re getting in actual usage without hitting this unhelpful white screen.

Thanks for the fast reply.
Error log for csvImport job is :
2022-12-06T14:56:54+00:00 ERR (3): Der Befehl “command” ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

2022-12-06T14:56:54+00:00 ERR (3): Command “command -v “php”” failed with status code 1.
2022-12-06T14:56:54+00:00 ERR (3): Omeka\Job\Exception\RuntimeException: PHP-CLI error: cannot determine path to PHP. in C:\xampp\htdocs\omekas\application\src\Job\DispatchStrategy\PhpCli.php:68
Stack trace:
#0 C:\xampp\htdocs\omekas\application\src\Job\Dispatcher.php(105): Omeka\Job\DispatchStrategy\PhpCli->send(Object(Omeka\Entity\Job))
#1 C:\xampp\htdocs\omekas\application\src\Job\Dispatcher.php(91): Omeka\Job\Dispatcher->send(Object(Omeka\Entity\Job), Object(Omeka\Job\DispatchStrategy\PhpCli))
#2 C:\xampp\htdocs\omekas\modules\CSVImport\src\Controller\IndexController.php(160): Omeka\Job\Dispatcher->dispatch(‘CSVImport\Job\I…’, Array)
#3 C:\xampp\htdocs\omekas\vendor\laminas\laminas-mvc\src\Controller\AbstractActionController.php(77): CSVImport\Controller\IndexController->mapAction()
#4 C:\xampp\htdocs\omekas\vendor\laminas\laminas-eventmanager\src\EventManager.php(321): Laminas\Mvc\Controller\AbstractActionController->onDispatch(Object(Laminas\Mvc\MvcEvent))
#5 C:\xampp\htdocs\omekas\vendor\laminas\laminas-eventmanager\src\EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#6 C:\xampp\htdocs\omekas\vendor\laminas\laminas-mvc\src\Controller\AbstractController.php(103): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#7 C:\xampp\htdocs\omekas\vendor\laminas\laminas-mvc\src\DispatchListener.php(139): Laminas\Mvc\Controller\AbstractController->dispatch(Object(Laminas\Http\PhpEnvironment\Request), Object(Laminas\Http\PhpEnvironment\Response))
#8 C:\xampp\htdocs\omekas\vendor\laminas\laminas-eventmanager\src\EventManager.php(321): Laminas\Mvc\DispatchListener->onDispatch(Object(Laminas\Mvc\MvcEvent))
#9 C:\xampp\htdocs\omekas\vendor\laminas\laminas-eventmanager\src\EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#10 C:\xampp\htdocs\omekas\vendor\laminas\laminas-mvc\src\Application.php(331): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#11 C:\xampp\htdocs\omekas\index.php(21): Laminas\Mvc\Application->run()
#12 {main}

And for the media upload:

2022-12-06T21:24:20+00:00 ERR (3): Der Befehl “command” ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

2022-12-06T21:24:20+00:00 ERR (3): Command “command -v “convert”” failed with status code 1.
2022-12-06T21:24:20+00:00 ERR (3): Omeka\File\Exception\InvalidThumbnailerException: ImageMagick error: cannot determine path to ImageMagick command. in C:\xampp\htdocs\omekas\application\src\File\Thumbnailer\ImageMagick.php:117
Stack trace:
#0 C:\xampp\htdocs\omekas\application\src\File\Thumbnailer\ImageMagick.php(41): Omeka\File\Thumbnailer\ImageMagick->setConvertPath(NULL)
#1 C:\xampp\htdocs\omekas\application\src\File\TempFile.php(264): Omeka\File\Thumbnailer\ImageMagick->setOptions(Array)
#2 C:\xampp\htdocs\omekas\application\src\File\TempFile.php(439): Omeka\File\TempFile->storeThumbnails()
#3 C:\xampp\htdocs\omekas\application\src\Media\Ingester\Upload.php(62): Omeka\File\TempFile->mediaIngestFile(Object(Omeka\Entity\Media), Object(Omeka\Api\Request), Object(Omeka\Stdlib\ErrorStore))
#4 C:\xampp\htdocs\omekas\application\src\Api\Adapter\MediaAdapter.php(169): Omeka\Media\Ingester\Upload->ingest(Object(Omeka\Entity\Media), Object(Omeka\Api\Request), Object(Omeka\Stdlib\ErrorStore))
#5 C:\xampp\htdocs\omekas\application\src\Api\Adapter\AbstractEntityAdapter.php(630): Omeka\Api\Adapter\MediaAdapter->hydrate(Object(Omeka\Api\Request), Object(Omeka\Entity\Media), Object(Omeka\Stdlib\ErrorStore))
#6 C:\xampp\htdocs\omekas\application\src\Api\Adapter\ItemAdapter.php(257): Omeka\Api\Adapter\AbstractEntityAdapter->hydrateEntity(Object(Omeka\Api\Request), Object(Omeka\Entity\Media), Object(Omeka\Stdlib\ErrorStore))
#7 C:\xampp\htdocs\omekas\application\src\Api\Adapter\AbstractEntityAdapter.php(630): Omeka\Api\Adapter\ItemAdapter->hydrate(Object(Omeka\Api\Request), Object(Omeka\Entity\Item), Object(Omeka\Stdlib\ErrorStore))
#8 C:\xampp\htdocs\omekas\application\src\Api\Adapter\AbstractEntityAdapter.php(341): Omeka\Api\Adapter\AbstractEntityAdapter->hydrateEntity(Object(Omeka\Api\Request), Object(Omeka\Entity\Item), Object(Omeka\Stdlib\ErrorStore))
#9 C:\xampp\htdocs\omekas\application\src\Api\Manager.php(224): Omeka\Api\Adapter\AbstractEntityAdapter->create(Object(Omeka\Api\Request))
#10 C:\xampp\htdocs\omekas\application\src\Api\Manager.php(78): Omeka\Api\Manager->execute(Object(Omeka\Api\Request))
#11 C:\xampp\htdocs\omekas\application\src\Mvc\Controller\Plugin\Api.php(99): Omeka\Api\Manager->create(‘items’, Array, Array, Array)
#12 C:\xampp\htdocs\omekas\application\src\Controller\Admin\ItemController.php(207): Omeka\Mvc\Controller\Plugin\Api->create(‘items’, Array, Array)
#13 C:\xampp\htdocs\omekas\vendor\laminas\laminas-mvc\src\Controller\AbstractActionController.php(77): Omeka\Controller\Admin\ItemController->addAction()
#14 C:\xampp\htdocs\omekas\vendor\laminas\laminas-eventmanager\src\EventManager.php(321): Laminas\Mvc\Controller\AbstractActionController->onDispatch(Object(Laminas\Mvc\MvcEvent))
#15 C:\xampp\htdocs\omekas\vendor\laminas\laminas-eventmanager\src\EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#16 C:\xampp\htdocs\omekas\vendor\laminas\laminas-mvc\src\Controller\AbstractController.php(103): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#17 C:\xampp\htdocs\omekas\vendor\laminas\laminas-mvc\src\DispatchListener.php(139): Laminas\Mvc\Controller\AbstractController->dispatch(Object(Laminas\Http\PhpEnvironment\Request), Object(Laminas\Http\PhpEnvironment\Response))
#18 C:\xampp\htdocs\omekas\vendor\laminas\laminas-eventmanager\src\EventManager.php(321): Laminas\Mvc\DispatchListener->onDispatch(Object(Laminas\Mvc\MvcEvent))
#19 C:\xampp\htdocs\omekas\vendor\laminas\laminas-eventmanager\src\EventManager.php(178): Laminas\EventManager\EventManager->triggerListeners(Object(Laminas\Mvc\MvcEvent), Object(Closure))
#20 C:\xampp\htdocs\omekas\vendor\laminas\laminas-mvc\src\Application.php(331): Laminas\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Laminas\Mvc\MvcEvent))
#21 C:\xampp\htdocs\omekas\index.php(21): Laminas\Mvc\Application->run()
#22 {main}