Google Translate:

Switch Language:

Select your language

Subscribe to OECS Newsletter


22001, 1406, Data too long for column 'path' at row 1 (500 Whoops, looks like something went wrong.)

ExecutionFailureException

HTTP 500 Whoops, looks like something went wrong.

22001, 1406, Data too long for column 'path' at row 1

Exception

Joomla\Database\Exception\ ExecutionFailureException

Show exception properties
Joomla\Database\Exception\ExecutionFailureException {#3800
  -query: """
    INSERT INTO wn2bh_edocman_categories\n
    (title,path,parent_id,access,published) VALUES \n
    ('ccccc-terms-of-reference-for-the-consultancy-to-produce-requisite-design-studies-and-plans-for-a-green-climate-fund-gcf-funding-proposal-the-r-s-reduce-reuse-and-recycle-for-climate-resilience-wastewater-systems-in-barbados-3r-crews-barbados-prepa', 'expired-tenders/ccccc-terms-of-reference-for-the-consultancy-to-produce-requisite-design-studies-and-plans-for-a-green-climate-fund-gcf-funding-proposal-the-r-s-reduce-reuse-and-recycle-for-climate-resilience-wastewater-systems-in-barbados-3r-crews-barbados-prepa', 176,1,1)
    """
}
  1. } catch (\LogicException $e) {
  2. throw new ExecutionFailureException($sql, $errorMsg, $errorNum, $e);
  3. }
  4. // Throw the normal query exception.
  5. throw new ExecutionFailureException($sql, $errorMsg, $errorNum);
  6. }
  7. }
  8. /**
  9. * Retrieve a PDO database connection attribute
  1. $query->clear();
  2. $query->insert('#__edocman_categories')
  3. ->columns(['title', 'path', 'parent_id','access','published'])
  4. ->values($db->quote(basename($folder)) . ', ' . $db->quote($relativePath) . ', ' . (int)$parentId . ',1,1');
  5. $db->setQuery($query);
  6. $db->execute();
  7. $catId = $db->insertid();
  8. $categories[$relativePath] = (object)['id' => $catId, 'access' => 1];
  9. $rowCategory = Table::getInstance('Category', 'EDocmanTable');
  10. $rowCategory->load($catId);
plgSystemEDocmanImport->onAfterRespond() in /home/oecsorg/oecs.int/libraries/src/Plugin/CMSPlugin.php (line 320)
  1. }
  2. // Convert to indexed array for unpacking.
  3. $arguments = array_values($arguments);
  4. $result = $this->{$methodName}(...$arguments);
  5. // Ignore null results
  6. if ($result === null) {
  7. return;
  8. }
in /home/oecsorg/oecs.int/libraries/vendor/joomla/event/src/Dispatcher.php -> {closure:Joomla\CMS\Plugin\CMSPlugin::registerLegacyListener():304} (line 454)
  1. foreach ($this->listeners[$event->getName()] as $listener) {
  2. if ($event->isStopped()) {
  3. return $event;
  4. }
  5. $listener($event);
  6. }
  7. }
  8. return $event;
  9. }
  1. $dispatcher = $this->getDispatcher();
  2. } catch (\UnexpectedValueException $exception) {
  3. return null;
  4. }
  5. return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this));
  6. }
  7. /**
  8. * Method to run the application routines.
  9. *
AbstractApplication->dispatchEvent() in /home/oecsorg/oecs.int/libraries/src/Application/CMSApplication.php (line 347)
  1. // Send the application response.
  2. $this->respond();
  3. // Trigger the onAfterRespond event.
  4. $this->dispatchEvent(
  5. 'onAfterRespond',
  6. new AfterRespondEvent('onAfterRespond', ['subject' => $this])
  7. );
  8. }
CMSApplication->execute() in /home/oecsorg/oecs.int/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/oecsorg/oecs.int/includes/app.php') in /home/oecsorg/oecs.int/index.php (line 51)
  1. // ... die
  2. die();
  3. }
  4. // Run the application - All executable code should be triggered through this file
  5. require_once __DIR__ . '/includes/app.php';

Stack Trace

ExecutionFailureException
Joomla\Database\Exception\ExecutionFailureException:
22001, 1406, Data too long for column 'path' at row 1

  at /home/oecsorg/oecs.int/libraries/vendor/joomla/database/src/Pdo/PdoDriver.php:489
  at Joomla\Database\Pdo\PdoDriver->execute()
     (/home/oecsorg/oecs.int/plugins/system/edocmanimport/edocmanimport.php:185)
  at plgSystemEDocmanImport->onAfterRespond()
     (/home/oecsorg/oecs.int/libraries/src/Plugin/CMSPlugin.php:320)
  at Joomla\CMS\Plugin\CMSPlugin->{closure:Joomla\CMS\Plugin\CMSPlugin::registerLegacyListener():304}()
     (/home/oecsorg/oecs.int/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/home/oecsorg/oecs.int/libraries/vendor/joomla/application/src/AbstractApplication.php:99)
  at Joomla\Application\AbstractApplication->dispatchEvent()
     (/home/oecsorg/oecs.int/libraries/src/Application/CMSApplication.php:347)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/oecsorg/oecs.int/includes/app.php:58)
  at require_once('/home/oecsorg/oecs.int/includes/app.php')
     (/home/oecsorg/oecs.int/index.php:51)