Keyword

[SOLVED] Saving Category creates a 500 error

More
10 years 2 days ago #132550 by Lee
Does anyone know how to fix this?

Joomla! Debug Console
Errors

JFolder::create: Could not create directory Path: /logs
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:348
4 require_once() JROOT/libraries/joomla/application/component/helper.php:380
5 JController->execute() JROOT/administrator/components/com_k2/k2.php:135
6 K2ControllerCategory->apply() JROOT/libraries/joomla/application/component/controller.php:761
7 K2ControllerCategory->save() JROOT/administrator/components/com_k2/controllers/category.php:40
8 K2ModelCategory->save() JROOT/administrator/components/com_k2/controllers/category.php:28
9 JPluginHelper::importPlugin() JROOT/administrator/components/com_k2/models/category.php:46
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:768
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 JError::raiseWarning() JROOT/libraries/joomla/filesystem/folder.php:264
20 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

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 1 day ago #132551 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Saving Category creates a 500 error
Hello Lee,

Please enable error reporting and set it to development to see the actual error.
This option is located under your site's Global Configuration.

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

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

More
10 years 1 day ago #132552 by Lefteris
Replied by Lefteris on topic Re: Saving Category creates a 500 error
@Lee

Ensure that all the required folders are writable. You can check that in the system information page. It looks like the finder plugin is trying to write to the logs folder but it can't.

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

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

More
10 years 1 day ago #132553 by Lee
Replied by Lee on topic Re: Saving Category creates a 500 error
Call stack
# Function Location
1 JAdministrator->dispatch() /home/content/69/8911869/html/domains/makeeasy.me/public_html/administrator/index.php:46
2 JError::raiseError() /home/content/69/8911869/html/domains/makeeasy.me/public_html/administrator/includes/application.php:164
3 JError::raise() /home/content/69/8911869/html/domains/makeeasy.me/public_html/libraries/joomla/error/error.php:251


This is what showed up after setting to development: I will aslo check folders: Please let me know if this is what you needed. Thank You for help

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

More
10 years 1 day ago #132554 by Lee
Replied by Lee on topic Re: Saving Category creates a 500 error
It looks like I have 2 folders unwritable:

configuration.php Unwritable

/logs (Log directory) Unwritable

How do I proceed to fix?

Thanks So Much,
Lee

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

More
10 years 1 day ago #132555 by Lefteris
Replied by Lefteris on topic Re: Saving Category creates a 500 error
You make the logs folder writable. Ensure that it has been set correctly.

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

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

More
10 years 1 day ago - 10 years 1 day ago #132556 by Lee
Replied by Lee on topic Re: Saving Category creates a 500 error
I have solved the configuration.php file. via thru admin or file manager. You have to change the number in folder to match other numbers. The file is now writable. or click on folder then privacy and set to writable.

However still having issues with logs(log directory) path

The /logs (log directory) is in global configuration/system: The current path is /logs

What should this path be and or how do you know what to put?

I solved by adding this:

/html/domains/makeeasy.me/public_html/logs

Thanks To all

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


Powered by Kunena Forum