Loading...
 
Features / Usability

Features / Usability


Re: Re: Fatal error while trying to rebuild search index

posts: 1563 Germany

Hello Jen,

I positively know that some providers (if not many) offer not only dfferent PHP versions on their servers (what is a good idea), but have different default configuration for different parts.
Thus for example you might have PHP 5.5+ as default in the document root, but in the linux shell of the same server ou might have PHP 5.4 or lower - in one case I have to deal even with PHP 4.x in a shell of a managed server where the websites run on 5.5 by default.

I cannot recon what exactly is the problem on your server, but as you said, your command line shows: "PHP 5.4.36 (cli) (built: Jan 8 2015 13:14:21) ", which points somewehere near what Nelson mentioned - a PHP version prblem on your server.

When a server has PHP 5.3 or 5.4 in the shell and 5.5+ is set for the document root, you can smoothly install and run a Tiki 14 even via svn, BUT you HAVE to change the required PHP version of the setup.sh script from 55 to 54 or 53, which then works, as the comoser (which runs in the shell) needs only 5.3.

But when you install a Tiki 15 on the same server it will not run, as for Tiki 15 we switched from Zend 1 to Zend 2, which relies fully on 5.5+ - A Tiki 15 will not be installable via svn if the shell had only 5.4- .

What you could do in such a case, but needed some time to upload, was to checkout a Tiki 15 on the local machine (like I have an Ubuntu drivate with a very standart PHP 5.5 etc.) ...
Do everything locally until including composer.

Then upload the whole directory to the server in a specific directory which is just to keep this clean and the you could copy (in the shell with cp -R sourcepath targetpath )to several website installations and go from there.

I would not recommend that as a productive workflow, as it is more time consuming than the normal workflow (directly sn on the prductive server) but for development it can help a lot, if you cannot ad hoc get the server updated ... it is obviously a temporary workaround.

I do not know, if all that helps you for your specific issue, as it seems to be not really the same, but maybe my description added to Nelsons hintes could point you somewhere nearer to a solution.

Cross fingers and best regards,
Torsten

There are no comments at this time.

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