Support

Site Restoration

#12243 Your session write path and the installation directory are not writable. One of them must be writable for the installation to continue.

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by nicholas on Thursday, 10 May 2012 14:36 CDT

user63460
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: 1.5 to 2.5
PHP version: (unknown)
MySQL version: (unknown)
Host: webhostinghub.com
Akeeba Backup version which took the backup: (unknown)
Kickstart version used to extract the backup: (unknown)

Description of my issue:
Hi there, i have a big problem, i've searched on many troubleshooting pages, but can't find it. I'm sorry if there is a topic where the problem is explained.
I'm currently stucked at the finish page. I already tried to change the installation directory to 777 (only the directory, not the files inside). but I'm still getting this error: Your session write path and the installation directory are not writable. One of them must be writable for the installation to continue.
I hope you can help me, because i am at the moment at that page, and its important!

user63460
When i tried to leave all to the same, i get this error
Fatal error: Call to a member function setError() on a non-object in /home/grandc11/public_html/installation/includes/logic/finish.php on line 82

nicholas
Akeeba Staff
Manager
First things first, you should never try to install Joomla! 2.5 over 1.5 or vice versa. The resulting site will be broken beyond repair. You must remove your site's files before restoring.

Now, regarding the session issue, please consult this page: https://www.akeebabackup.com/documentation/troubleshooter/abiissues.html#abisession

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user63460
I now got a problem, because i can't go back to the finish page because i have that error (Fatal error: Call to a member function setError() on a non-object in /home/grandc11/public_html/installation/includes/logic/finish.php on line 82)
When i go to http://grandcru-wines.com/installation/index.php i must complete the whole restoration again.
Is there an option to fix this error (without doing the whole restoration

nicholas
Akeeba Staff
Manager
You can skip the last page. Just remove the installation directory. Then, please enter your configuration.php file and make sure the database connection information correspond to what you are using on the new site.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user63460
I deleted installation, changed the settings in configuration.php but i get this error: Database Error: Unable to connect to the database:Could not connect to MySQL
This may cause, because i don't know where to fill in the mysql password, i filled it in in: var $password = '';
Any answers?

nicholas
Akeeba Staff
Manager
Your configuration.php consists of several lines. Each one is in the following form:
var $key = "value";
or
public $key = "value";


The key is the name of the configuration variable and value (inside double quotes!) is the value of the variable. Below is a list of the configuration variables which have to be modified to get up on-line:

  • dbtype is the database driver Joomla! will use. It can be either mysql or mysqli (notice the extra i in the end). If unsure, your best bet is mysql.
  • host is the database host name, usually localhost
  • user is the database user name, assigned from your host company
  • password is - obviously - the database password, assigned from your host company
  • db is the database's name, assigned from your host company
  • dbprefix is the database table name prefix you chose while restoring


You must make sure that all of the above parameters correspond to your new server.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user63460
Thank you for your answer, but now, when i try to install something i get this error:
JFolder::create: Can't create a map
Warning! - Replace file failed.
This may deviate from the original error, but i translated it, because it is a dutch error: JFolder::create: Kan geen map aanmaken
Waarschuwing! - Verplaatsen bestand mislukt.)

I already changed var $tmp_path = ""; to my new path, i also changed it to var $tmp_path = './tmp'; but i still get the error

nicholas
Akeeba Staff
Manager
Your tmp_path is incorrect. Please take a look at the steps for fixing the tmp directory midway through this document: https://www.akeebabackup.com/documentation/troubleshooter/abinstallation.html

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user63460
Thank you very much!

nicholas
Akeeba Staff
Manager
You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!