Keyword

Joomla! 2.5.14 - K2 Item Add - Save error 500

  • Antonius Greß
  • Antonius Greß's Avatar Topic Author
  • Offline
  • New Member
More
9 years 11 months ago #133019 by Antonius Greß
Joomla! 2.5.14 - K2 Item Add - Save error 500 was created by Antonius Greß
Hey there,

I am using Joomla 2.5.14 and K2 within one of my projects.
Following problem occurs.
Please support!

1. I want to add an item in K2 in my joomla admin site (to the "News")
2. After Klick on K2 and “New” for creating a new item, I filled out all required fields.
3. But after Klick on Save, following error is shown:
500 - An error has occurred.
Return to Control Panel

Thanks for support.

Best,
Antonius

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #133020 by Lefteris
Hi. Turn on system debugging under Joomla! global configuration and try again. This time you should get a more descriptive error message. Finally note that your Joomla! version is outdated and contains security risks. I strongly recommend to update your site as soon as possible to 2.5.27. In any case remember to backup your site first.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Antonius Greß
  • Antonius Greß's Avatar Topic Author
  • Offline
  • New Member
More
9 years 11 months ago - 9 years 11 months ago #133021 by Antonius Greß
Replied by Antonius Greß on topic Re: Joomla! 2.5.14 - K2 Item Add - Save error 500
Hey Lefteris,

thank you for first hints.
After system debugging following message occurs:

******************************

Joomla!
500 - An error has occurred.

Return to Control Panel

Call stack
# Function Location
1JAdministrator->dispatch() /is/htdocs/wp11263044_9FEJST5ACK/www/DandelionRevenge2/administrator/index.php:46
2JError::raiseError() /is/htdocs/wp11263044_9FEJST5ACK/www/DandelionRevenge2/administrator/includes/application.php:164
3JError::raise() /is/htdocs/wp11263044_9FEJST5ACK/www/DandelionRevenge2/libraries/joomla/error/error.php:251

Errors

JFolder::create: Could not create directory Path: /is/htdocs/wp11055011_8C2XGXH04C
Call stack
# Function Location
1 JAdministrator->dispatch() JROOT/administrator/index.php:46
2 JComponentHelper::renderComponent() JROOT/administrator/includes/application.php:153
3 JComponentHelper::executeComponent() JROOT/libraries/joomla/application/component/helper.php:351
4 require_once() JROOT/libraries/joomla/application/component/helper.php:383
5 JController->execute() JROOT/administrator/components/com_k2/k2.php:135
6 K2ControllerItem->apply() JROOT/libraries/joomla/application/component/controller.php:761
7 K2ControllerItem->save() JROOT/administrator/components/com_k2/controllers/item.php:33
8 K2ModelItem->save() JROOT/administrator/components/com_k2/controllers/item.php:28
9 JPluginHelper::importPlugin() JROOT/administrator/components/com_k2/models/item.php:186
10 JPluginHelper::_import() JROOT/libraries/joomla/plugin/helper.php:125
11 plgFinderK2->__construct() JROOT/libraries/joomla/plugin/helper.php:194
12 FinderIndexerAdapter->__construct() JROOT/plugins/finder/k2/k2.php:34
13 FinderIndexerAdapter->getTypeId() JROOT/administrator/components/com_finder/helpers/indexer/adapter.php:135
14 JLog::add() JROOT/administrator/components/com_finder/helpers/indexer/adapter.php:765
15 JLog->addLogEntry() JROOT/libraries/joomla/log/log.php:171
16 JLoggerFormattedText->addEntry() JROOT/libraries/joomla/log/log.php:382
17 JLoggerFormattedText->initFile() JROOT/libraries/joomla/log/loggers/formattedtext.php:137
18 JFolder::create() JROOT/libraries/joomla/log/loggers/formattedtext.php:237
19 JFolder::create() JROOT/libraries/joomla/filesystem/folder.php:188
20 JFolder::create() JROOT/libraries/joomla/filesystem/folder.php:188
21 JFolder::create() JROOT/libraries/joomla/filesystem/folder.php:188
22 JError::raiseWarning() JROOT/libraries/joomla/filesystem/folder.php:264
23 JError::raise() JROOT/libraries/joomla/error/error.php:276

Call stack
# Function Location
1 JAdministrator->dispatch() JROOT/administrator/index.php:46
2 JError::raiseError() JROOT/administrator/includes/application.php:164
3 JError::raise() JROOT/libraries/joomla/error/error.php:251

******************************
Can you give me further hints based on this?
Thanks a lot for your support!

Best,
Antonius

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #133022 by Lefteris
You have two issues here. The first one is coming from the finder plugin. If you don't need it, just disable it. The second issue has to do with your logs directory. It looks like the finder plugin tries to log it's error but the configured log directory is not writable. Ensure that you have set a correct path for the log and tmp directory under Joomla! global configuration and that those directories are writable.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Antonius Greß
  • Antonius Greß's Avatar Topic Author
  • Offline
  • New Member
More
9 years 11 months ago #133023 by Antonius Greß
Replied by Antonius Greß on topic Re: Joomla! 2.5.14 - K2 Item Add - Save error 500
Thanks a lot Lefteris!
Everything works now :)

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #133024 by Lefteris
You are welcome.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum