Loading...
 
Architecture / Installation

Architecture / Installation


Newbie installation help/advice required.

posts: 4 United Kingdom

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: 4 United Kingdom

Sorry trying to install 21.1 nothing in webserver errors bit as on shared hosting I do not haver access to server logs

Rick Sapir / Tiki for Smarties wrote:

What Tiki version are you using?

Normally, the warnings won't cause an installation failure. Does your server log show any actual errors?

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.
posts: 3665 United States

Hmm...when I try to hit your site, I see the 3 warnings plus this error:

Copy to clipboard
Fatal error: Uncaught Symfony\Component\Config\Exception\FileLocatorFileNotFoundException: The file "tiki.xml" does not exist (in: TIKI_PATH/db/config). in /home/dweb02/wiki.dwnexus.com/vendor_bundled/vendor/symfony/config/FileLocator.php:71 Stack trace: #0 /home/dweb02/wiki.dwnexus.com/vendor_bundled/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(42): Symfony\Component\Config\FileLocator->locate('tiki.xml') #1 /home/dweb02/wiki.dwnexus.com/lib/init/initlib.php(151): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->load('tiki.xml') #2 /home/dweb02/wiki.dwnexus.com/lib/tikilib.php(59): TikiInit::getContainer() #3 /home/dweb02/wiki.dwnexus.com/db/tiki-db.php(160): TikiLib::lib('smarty') #4 /home/dweb02/wiki.dwnexus.com/lib/core/TikiDb.php(174): TikiDb_LegacyErrorHandler->handle(Object(TikiDb_Adodb), 'SELECT COUNT(*)...', false, false) #5 /home/dweb02/wiki.dwnexus.com/lib/core/TikiDb/Adodb.php(111): TikiDb->handleQueryError('SELECT COUNT(*)...', false, false, true) #6 /home/dweb02/wiki.dwnexus.com/li in /home/dweb02/wiki.dwnexus.com/vendor_bundled/vendor/symfony/config/FileLocator.php on line 71


Looks like you're missing a file: tiki.xml.

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.
posts: 4 United Kingdom

The tiki.xml file was there ,re-uploaded from original tiki file downlaod no -change. IO wondered if it was a path issue but being on shared hosting I do not have the access.

I changed php to 7.2 and I managed to complete the installation .

Thank you for your input

Rick Sapir / Tiki for Smarties wrote:

Hmm...when I try to hit your site, I see the 3 warnings plus this error:

Copy to clipboard
Fatal error: Uncaught Symfony\Component\Config\Exception\FileLocatorFileNotFoundException: The file "tiki.xml" does not exist (in: TIKI_PATH/db/config). in /home/dweb02/wiki.dwnexus.com/vendor_bundled/vendor/symfony/config/FileLocator.php:71 Stack trace: #0 /home/dweb02/wiki.dwnexus.com/vendor_bundled/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(42): Symfony\Component\Config\FileLocator-locate('tiki.xml') #1 /home/dweb02/wiki.dwnexus.com/lib/init/initlib.php(151): Symfony\Component\DependencyInjection\Loader\XmlFileLoader-load('tiki.xml') #2 /home/dweb02/wiki.dwnexus.com/lib/tikilib.php(59): TikiInit::getContainer() #3 /home/dweb02/wiki.dwnexus.com/db/tiki-db.php(160): TikiLib::lib('smarty') #4 /home/dweb02/wiki.dwnexus.com/lib/core/TikiDb.php(174): TikiDb_LegacyErrorHandler-handle(Object(TikiDb_Adodb), 'SELECT COUNT(*)...', false, false) #5 /home/dweb02/wiki.dwnexus.com/lib/core/TikiDb/Adodb.php(111): TikiDb-handleQueryError('SELECT COUNT(*)...', false, false, true) #6 /home/dweb02/wiki.dwnexus.com/li in /home/dweb02/wiki.dwnexus.com/vendor_bundled/vendor/symfony/config/FileLocator.php on line 71


Looks like you're missing a file: tiki.xml.

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

posts: 2428 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: 4 United Kingdom

Althogu I thought I had tried this, PHP 7.2 was the solution. I have now managed to complete the installation. Your assistance was appreciated

luciash d' being 🧙 wrote:

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

luci

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...


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting