Loading...
 
Skip to main content

Architecture / Installation


Upgrading from 184 to 192

Hello,

I've tried to upgrade my tiki installation from 1.8.4.1. to 1.9.2, not only with the scripts here provided but also with a Fantastico feature.

The upgrade process is successful, but in both cases, when I try to connect to wiki I get the following error, occurred in lib/tikidblib.php on line 134:

Warning: mysql error: Unknown column 'tikihost' in 'field list' in query:

insert into `tiki_sessions`(`sessionId`,`timestamp`,`user`,`tikihost`) values(?,?,?,?)

The explained reason is Unknown column 'tikihost' in 'field list'


Did I make anything wrong? Any suggestion about that?

Did you apply directly or via tiki-install.php
the script
tiki_1.8to1.9.sql
You can apply it again with no problem

> Did you apply directly or via tiki-install.php
> the script
> tiki_1.8to1.9.sql
> You can apply it again with no problem
>

Thanks, sylvie (for your answer and for being there😀)

For documentation purposes, I write what I did:

- re-upload (again) tiki-install.php
- Execution from the browser
- Selected "database migration from 1.8 to 1.9". Some database changes were in error, but I've ignored them.
- Back to the tiki-install screen
- Selected "database migration from 1.9 to 1.9.2". Again, some database changes were in error, but I've ignored them again.
- Delete tiki-install.php
- Run wiki from browser

Everything seems to be working without problem.

Nevertheless, I think there are some (design?) problems in the migration scripts. A newbie (as I am) who has installed tiki from Fantastico, always from standard procedures, should not get conversion/migration database errors and "ignore error" is not an elegant solution...

Again, thanks for the support.


Just curious.

I think I encountered the same errors as you did when I did an upgrade from a Fantastico. The trouble with ignoring an error is that it may comeback to haunt you, in the future.

If you have never used the Fantastico based software, why did you not just discard that and start fresh with a new 1.9.2 version. There is an error bug in the 1.9.2 program, and I made myself a master copy correcting that error in the adodb.inc.php in the lib directory.

Once I have found what the problem was, from an original post by Chris Woollard, I never encountered any error with a _fresh install__

I included the main thread in the forum as well as discussed what worked for meQuestion in a response to another post hereQuestion.

If I were you — never use Fantastico again. The software versions there are all obsolete.

cgc0202