Loading...
 
Architecture / Installation

Architecture / Installation


[Solved] Migration to new server; PHP error

posts: 37

I finally got my nice fast virtual machines to run our Tiki installation company wide.
It's still on 18.1, but the plan is to migrate first and than update to 19.1. I'm currently testing this all, and have a weird problem.

Let's explain it more:
Currently I run both the web server (IIS7), the database (MySQL 5.5) and the search engine (Elasticsearch 5.x) on the same machine running Windows 7 as OS.
I'm trying to migrate everything to 3 different virtual machines running Windows Server 2016 with IIS 10, MySQL8 and Elasticsearch 6 (when i have updated my tiki installation to 19.x)
1. I imported the 18.1 tiki database into my new database server
2. I created a new 18.1 tiki installation on the new webserver and copied the files I have altered/added.
3. Did run the tiki installer to connect to the new database server
4. Used the same web.config file as before
=> Everything runs smooth as long as I go directly to a none Wiki page.
Wiki pages do not load and generate this error in de PHP log:

Copy to clipboard
[21-Dec-2018 15:46:12 Europe/Amsterdam] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 79704376 bytes) in D:\WWWRoot\TikiWiki\lib\smarty_tiki\modifier.escape.php on line 39 [21-Dec-2018 15:46:12 Europe/Amsterdam] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 79925248 bytes) in Unknown on line 0


Is there anyone who is familiar with this and could help me?


Solved by changing the MySQL version back to 5.X instead of 8.0

posts: 37

After some more research. Have updated my OP, looks like it's not related tot URL Rewrite.
Somehow PHP needs a huge amount of memory, while loading some routine from Smarty?Any idea?


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