× Support for Joomla 2.5 templates is discontinued. This forum category is read-only.

configuration.php problem

More
7 years 8 months ago #1262 by anast_di
anast_di created the topic: configuration.php problem
hi

I have a problem in the configuration file. When I am trying to save any changes.
message:

"Could not save data. Error: Could not write to the configuration file"


i have this configuration:

<?php
class JConfig {
public $offline = '0';
public $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';
public $sitename = 'Υακίνθη Νυφικά Βαπτιστικά';
public $editor = 'tinymce';
public $list_limit = '20';
public $access = '1';
public $debug = '0';
public $debug_lang = '0';
public $dbtype = 'mysqli';
public $host = 'localhost';
public $user = 'yakinthi_gr';
public $password = 'yak123';
public $db = 'yakinthi_gr';
public $dbprefix = 'jos_';
public $live_site = '';
public $secret = 'C7Up4ftxUDoY6rfQ';
public $gzip = '0';
public $error_reporting = '-1';
public $helpurl = ' help.joomla.org/proxy/index.php?option=c...ajor}{minor}:{keyref }';
public $ftp_host = '127.0.0.1';
public $ftp_port = '21';
public $ftp_user = '';
public $ftp_pass = '';
public $ftp_root = '';
public $ftp_enable = '0';
public $offset = 'UTC';
public $offset_user = 'UTC';
public $mailer = 'mail';
public $mailfrom = 'This email address is being protected from spambots. You need JavaScript enabled to view it.';
public $fromname = 'Υακίνθη Νυφικά Βαπτιστικά';
public $sendmail = '/usr/sbin/sendmail';
public $smtpauth = '0';
public $smtpuser = '';
public $smtppass = '';
public $smtphost = 'localhost';
public $smtpsecure = 'none';
public $smtpport = '25';
public $caching = '0';
public $cache_handler = 'file';
public $cachetime = '15';
public $MetaDesc = '';
public $MetaKeys = '';
public $MetaTitle = '1';
public $MetaAuthor = '1';
public $sef = '1';
public $sef_rewrite = '0';
public $sef_suffix = '0';
public $unicodeslugs = '0';
public $feed_limit = '10';
public $log_path = '/var/www/vhosts/yakinthi.gr/httpdocs/logs';
public $tmp_path = '/var/www/vhosts/yakinthi.gr/httpdocs/tmp';
public $lifetime = '15';
public $session_handler = 'database';
}


I need your advice. I'am amateur

thanks

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

  • admin
  • admin's Avatar
7 years 8 months ago #1265 by admin
admin replied the topic: Re: configuration.php problem
Hi,

First of all, check the permissions for configuration.php file and set them as writable.
Secondly, go to the administrator panel, Site -> System Information and then enter "Directory Permissions" area to check other directory permissions, that also may be the reason.

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

More
7 years 8 months ago #1288 by anast_di
anast_di replied the topic: Re: configuration.php problem
First of all, check the permissions for configuration.php file and set them as writable

where is this?


secondly, go to the administrator panel, Site -> System Information and then enter "Directory Permissions" area to check other directory permissions, that also may be the reason.

there are all unwritable but i can't change them as writable

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

More
7 years 8 months ago #1289 by anast_di
anast_di replied the topic: Re: configuration.php problem

anast_di wrote: First of all, check the permissions for configuration.php file and set them as writable

where is this?


secondly, go to the administrator panel, Site -> System Information and then enter "Directory Permissions" area to check other directory permissions, that also may be the reason.

there are all unwritable but i can't change them as writable


administrator/components Unwritable
administrator/language Unwritable
administrator/language/en-GB Unwritable
administrator/language/overrides Unwritable
administrator/modules Unwritable
administrator/templates Unwritable
components Unwritable
images Unwritable
images/banners Unwritable
language Unwritable
language/en-GB Unwritable
language/overrides Unwritable
media Unwritable
modules Unwritable
plugins Unwritable
plugins/content Unwritable
plugins/editors Unwritable
plugins/editors-xtd Unwritable
plugins/search Unwritable
plugins/system Unwritable
plugins/user Unwritable
cache (Cache Directory) Unwritable
administrator/cache (Cache Directory) Unwritable
/var/www/vhosts/yakinthi.gr/httpdocs/logs (Log directory) Unwritable
/var/www/vhosts/yakinthi.gr/httpdocs/tmp (Temp directory) Unwritable

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

More
7 years 8 months ago #1290 by marcin
marcin replied the topic: Re: configuration.php problem
Hi,

I guess that your FTP user account has no permission to change those settings.
I can only suggest you to contact your hosting support to solve this issue.

BR,
Marcin

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

More
7 years 8 months ago #1293 by anast_di
anast_di replied the topic: Re: configuration.php problem
ok thanks it works now!!!
but I have a new problem, i can't upload files!

Warning: Failed to move file!
Unable to upload file.

I think that the problem is that the folders are unwritable, how can i change that?

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

Time to create page: 0.266 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2018 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.