You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created by: Timothy Kelty ([email protected]) on 2015/04/02 12:33:05 +0000
Votes at time of UserVoice import: 2
Moved from server1 (PHP7) to server2 (PHP5.6).
Craft on new server had all sorts of weirdness
root level templates rendering blank screen
elementapi endpoints blank
Logs seem to have nothing helpful or relevant at all
After much digging, I discovered the cause:
My craft/config/elementapi.php had some PHP7 stuff that the new server was choking on.
My fault, but due to the error suppression, it was damn near impossible to know what the problem was: ConfigService.php/_loadConfigFile ... @include($customConfigPath)
Furthermore, it didn't just break ElementApi stuff, as other routing seemed effected as well.
This discussion was converted from issue #1205 on July 13, 2021 04:02.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After much digging, I discovered the cause:
My
craft/config/elementapi.php
had some PHP7 stuff that the new server was choking on.My fault, but due to the error suppression, it was damn near impossible to know what the problem was:
ConfigService.php
/_loadConfigFile
...@include($customConfigPath)
Furthermore, it didn't just break ElementApi stuff, as other routing seemed effected as well.
Beta Was this translation helpful? Give feedback.
All reactions