Loading...
 
Architecture / Installation

Architecture / Installation


Newbie installation help/advice required.

posts: 2423 Czech Republic

Hi, can you try with PHP 7.2 please? Also check the tiki-check.php: server-check.

luci

David Webley wrote:

I am trying to install Tiki on my reseller shared hosting bit having no success at all.

When I used the softaculous installer Tiki apparently installed fine but when using trying the tiki homepage or admin page I just received 500 errors. I did create a phptest file in my site root , to just display some text which displayed fine so I now my address was resolving.

I have now given up with softaculous and chosen to use the Tiki installer

I have created a database and uploaded the tiki files,and run the tiki installer, it passes all checks , also checking the server configuration checks, but then it throws up the following errors --

Warning: Use of undefined constant TIKI_PATH - assumed 'TIKI_PATH' (this will throw an Error in a future version of PHP) in /home/dweb02/wiki.dwnexus.com/lib/init/initlib.php on line 113

Warning: Use of undefined constant TIKI_PATH - assumed 'TIKI_PATH' (this will throw an Error in a future version of PHP) in /home/dweb02/wiki.dwnexus.com/lib/init/initlib.php on line 138

Warning: Use of undefined constant TIKI_PATH - assumed 'TIKI_PATH' (this will throw an Error in a future version of PHP) in /home/dweb02/wiki.dwnexus.com/lib/init/initlib.php on line 146
------

For information I am using PHP 7.3.

Please can anyone point me in the right direction to enable me to get an installation working. I would appreciate any advice or information



My thanks for any advice or information

posts: 1 Canada
luciash d' being 🧙 wrote:

Hi, can you try with PHP 7.2 please? Also check the tiki-check.php: server-check.

luci


I just installed in a FreeNAS jail (FreeBSD 11.3 based) with PHP 7.4 and ended up with the same error. I did find a work around that may not be optimal but worked for me. I added the line
TIKI_PATH=/usr/local/www/tiki-22.1 (will vary depending on where you extracted tiki)
at the end of the /usr/local/etc/php.conf file. I did encounter other errors after this that I resolved to additional modules I needed to add and a few php.ini changes I needed to do. Now I have a working tiki on my home server to learn tiki. Note: after all that, I was curious and removed the TIKI_PATH definition and the site still works, so likely one of the other changes I did also resolves this but I do not know which one yet...