anvc / scalar

Born-digital, open source, media-rich scholarly publishing that’s as easy as blogging.
Other
231 stars 73 forks source link

Error in Rendering #202

Open jhary2112 opened 1 year ago

jhary2112 commented 1 year ago

Sorry if this is an obvious issue, but I am getting what appears to be PHP code in my index page.

Screenshot 2022-11-01 at 9 26 16 AM

Perhaps this is an Apache config problem? Any advice would be appreciated.

kjmalek commented 1 year ago

Scalar's PHP code uses short open tags, which is disabled by default in PHP configurations. I'd recommend checking your php.ini file to ensure "short_open_tag = ON".

jhary2112 commented 1 year ago

YEs, I recall reading that somewhere—maybe on the install doc. Thanks very much; this solved the issue.