Andrew Matheson
New member
Hey everyone,
I've recently moved a production site into a test environment to do some enhancements. As part of that move, I changed the boardURL and tried rebuilding the add-on caches. However, after the rebuild completes, the screen is littered with '\n' newlines (See screenshot). I also tried a rebuild from master on the '/install' screen, but no difference.
If I check the templates in the admin UI (/admin.php?appearance/), I can see the '\n's in the code, rather than the proper formatting. On the server, the formatting is also fine (e.g in install/data/*). This leads me to believe something in the rebuild is mis-interpreting something and throwing out the newlines.
In terms of differences between production and test, there are only two: the url (domain.com vs test.domain.com) and the server (centos to ubuntu). I don't see how the server could affect things as both are *nix based and use the same concept of a line ending. I could see it being an issue if one of the two was a Windows server.
There are no errors reported in the server log, and I see no other warnings in any other log.
I feel like I must be missing something obvious with this. I appreciate any guidance you might have to offer.
XF v1.5.10
Ubuntu 16.04
PHP 5.6 (see PHPInfo in attached PDF)
Addons (See attached PDF)
I've recently moved a production site into a test environment to do some enhancements. As part of that move, I changed the boardURL and tried rebuilding the add-on caches. However, after the rebuild completes, the screen is littered with '\n' newlines (See screenshot). I also tried a rebuild from master on the '/install' screen, but no difference.
If I check the templates in the admin UI (/admin.php?appearance/), I can see the '\n's in the code, rather than the proper formatting. On the server, the formatting is also fine (e.g in install/data/*). This leads me to believe something in the rebuild is mis-interpreting something and throwing out the newlines.
In terms of differences between production and test, there are only two: the url (domain.com vs test.domain.com) and the server (centos to ubuntu). I don't see how the server could affect things as both are *nix based and use the same concept of a line ending. I could see it being an issue if one of the two was a Windows server.
There are no errors reported in the server log, and I see no other warnings in any other log.
I feel like I must be missing something obvious with this. I appreciate any guidance you might have to offer.
XF v1.5.10
Ubuntu 16.04
PHP 5.6 (see PHPInfo in attached PDF)
Addons (See attached PDF)