Loading...
 
Skip to main content

Architecture / Installation


Unable to install Tiki 27 (infinite loop behavior)

Hello everyone,

I'm trying to install Tiki 27.5 (but got the same result with 27.1) on a fresh Debian 13, and I'm stuck very early in the process - browsing tiki-install.php ends up in "Fatal error: Maximum execution time of 30 seconds exceeded in (various .php files)". This is pretty puzzling, as my previous attempt at installing Tiki 27 went without a hitch on a Debian sid.

My PHP skills are scarce, so I started placing "echo"s in various places and found that tiki-install.php never gets passed the "$content = tr('No content specified. Something went wrong.')" line.

Defined in lib/init/tra.php, tr() calls tra(), which doesn't get passed the call to \I18n\LanguageTranslator::getInstance. Which is defined in lib/language/LanguageTranslator.php and doesn't get passed the "new self" line; the constructor doesn't get beyond the call to loadThemeOverrides, which gets stuck at \TikiLib::lib('theme'). This is defined in lib/tikilib.php, doesn't seem to get the chance to return and calls tr() at the end, which completes the loop.

What am I missing here?

Thank you.

As it turns out I was indeed missing something - running tiki-install.php through phpdbg ended in "PHP Fatal error: During class fetch: Uncaught LogicException: Extension DOM is required. in /var/www/html/tiki-27.5/vendor_bundled/vendor/symfony/config/Util/XmlUtils.php:48"

For some reason I didn't have php8.4-xml installed, and fixing that also fixed my problem.

iulianv wrote:

Hello everyone,

I'm trying to install Tiki 27.5 (but got the same result with 27.1) on a fresh Debian 13, and I'm stuck very early in the process - browsing tiki-install.php ends up in "Fatal error: Maximum execution time of 30 seconds exceeded in (various .php files)". This is pretty puzzling, as my previous attempt at installing Tiki 27 went without a hitch on a Debian sid.

My PHP skills are scarce, so I started placing "echo"s in various places and found that tiki-install.php never gets passed the "$content = tr('No content specified. Something went wrong.')" line.

Defined in lib/init/tra.php, tr() calls tra(), which doesn't get passed the call to \I18n\LanguageTranslator::getInstance. Which is defined in lib/language/LanguageTranslator.php and doesn't get passed the "new self" line; the constructor doesn't get beyond the call to loadThemeOverrides, which gets stuck at \TikiLib::lib('theme'). This is defined in lib/tikilib.php, doesn't seem to get the chance to return and calls tr() at the end, which completes the loop.

What am I missing here?

Thank you.


Well spotted @iulianv, it's often worth running tiki-check.php if you're getting errors that clearing the caches doesn't fix, maybe helpful for next time!?