Loading...
 
Skip to main content

upgrading db with tiki-install.php breaks multitiki installs (removes /templates_c/ ...)

Status
Closed
Subject
upgrading db with tiki-install.php breaks multitiki installs (removes /templates_c/ ...)
Version
3.x
Category
  • Error
Feature
Admin Interface (UI)
Database MySQL (MyISAM)
Installer (profiles, upgrades and server-related issues)
MultiTiki
Resolution status
Out of Date
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(0)
Description

Using latest tikitrunk_svn from today (Jan. 24th, 2009)

I had a tiki site based on trunk from several weeks ago.
I added today another tiki site (using the same tiki files on server, thus using multitiki on subfolders)

Once the 2nd tiki site was up & running, I wanted to check the 1st tiki site, and it was complaining about mysql table missing, etc. So I went to run the "automatic database upgrade" Tikiwiki 3.
It needs to go through tiki-install.php, therefore so I did.
I had an (extracttoppath) issue, so that I attempted to go to tiki-admin.php from site one. The problem then was that tiki-index.php was complaining about:

The directory '/home/httpd/tikitrunk/modules/cache/javaoptics' does not exist.
The directory '/home/httpd/tikitrunk/templates_c/javaoptics' does not exist.


They seemed to have been deleted by the tiki-install.php script, since they were there a minute ago.
I tried also the other tiki site, and it happened the same, both folders were missing (deleted)

Is this that tiki-install.php is not multitiki ready?


duplicated bug report (by my mistake 😊 ) with bug2736

Solution

Clean cache at installation time BUT ONLY FOR THE TIKIDOMAIN selected in the local.php file for the tiki being installed.


-


Probably fixed, and for sure, out-of-date, since with proper multitiki setups, I haven't seen this issue any more.

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2271
Created
Saturday 24 January, 2009 12:35:45 UTC
by Unknown
LastModif
Sunday 17 November, 2013 09:51:23 UTC


Show PHP error messages