Re: [Tiki-users] Installation problems - tiki-check.php fails

Bernard Sfez via TikiWiki-users <[email protected]> Sun, 3 Nov 2024 16:21:40 +0100
Newsgroups gmane.comp.cms.tiki.user
Message-ID <[email protected]>
Hello Volker,

My understanding is that if you use a release package (tarball) you should run setup.sh. to f directory permission only and you should not run it as root but as the web user.

But your error smell something I have seen while using a wrong PHP version for Tiki27 (CLI or HTML).

Bernard

> On 2 Nov 2024, at 19:49, Volker Wysk <post-hhF2Jplw28UoZk/[email protected]> wrote:
> 
> Hi.
> 
> I'm installing a new Tiki 27.0 from the tarball. The previous version is 26,
> with an already existing database. (I've done so via Git before, which
> worked.) I've installed PHP 8.2 and set it as the version to be used by
> tiki. 
> 
> When calling "sh setup.sh" (as root), I chose "f" (fix file & directory
> permissions (classic default)), "and then "x". That's the default. 
> 
> When I call tiki-check.php, I get this error in the browser:
> 
> Fatal error: Uncaught Error: Call to undefined function
> smarty_function_ticket() in /var/www/html/tiki/tiki-check.php:2990 Stack
> trace: #0 {main} thrown in /var/www/html/tiki/tiki-check.php on line 2990
> 
> It's the same as with "b" first. 
> 
> However, the tiki-install.php page sort of works. Except for these warnings:
> 
> Warning :20231008_fix_primary_key_issues_on_several_tables_tiki, Incorrect
> table definition; there can be only one auto column and it must be defined
> as a key on tiki_actionlog_conf table
> Warning :20231008_fix_primary_key_issues_on_several_tables_tiki, Can't DROP
> 'id'; check that column/key exists on tiki_actionlog_conf table
> Warning :20231008_fix_primary_key_issues_on_several_tables_tiki, Duplicate
> key name 'uk_action_obj' on tiki_actionlog_conf table
> Warning :20231008_fix_primary_key_issues_on_several_tables_tiki, Can't DROP
> 'traId'; check that column/key exists on tiki_translated_objects table
> Warning :20231008_fix_primary_key_issues_on_several_tables_tiki, Duplicate
> column name 'id' on tiki_translated_objects table
> Warning :20231008_fix_primary_key_issues_on_several_tables_tiki, Duplicate
> key name 'uk_type_objId' on tiki_translated_objects table
> Warning :20231008_fix_primary_key_issues_on_several_tables_tiki, Incorrect
> table definition; there can be only one auto column and it must be defined
> as a key on tiki_history table
> Warning :20231008_fix_primary_key_issues_on_several_tables_tiki, Can't DROP
> 'user'; check that column/key exists on tiki_history table
> Warning :20231008_fix_primary_key_issues_on_several_tables_tiki, Duplicate
> key name 'uk_version_pageName' on tiki_history table
> Warning :20231008_fix_primary_key_issues_on_several_tables_tiki, Incorrect
> table definition; there can be only one auto column and it must be defined
> as a key on tiki_untranslated table
> Warning :20231008_fix_primary_key_issues_on_several_tables_tiki, Can't DROP
> 'id_2'; check that column/key exists on tiki_untranslated table
> Warning :20231008_fix_primary_key_issues_on_several_tables_tiki, Duplicate
> key name 'uk_source_lang' on tiki_untranslated table 
> 
> In the last step of the installer, there's this at the bottom:
> 
> "Oops. You need to make sure client charset and database encoding are forced
> to UTF-8. Reset the database connection to continue."
> 
> And I get an ugly blue bubble with the text "Skip to main content" on every
> page, to the top left.
> 
> There must be something broken...
> 
> Cheers,
> Volker
> 
> 
> _______________________________________________
> TikiWiki-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users