speda1
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Unknown or bad timezone in wp-includes/functions.php?Maybe try:
$timezone = new DateTimeZone(‘EST’);
…assuming EST is installed.To confirm which timezones are installed and readable by php:
print_r(timezone_identifiers_list());Forum: Fixing WordPress
In reply to: Unknown or bad timezone in wp-includes/functions.php?Yes, it seems very innocuous.
Are you able to access /usr/share/zoneinfo ?
Forum: Fixing WordPress
In reply to: Unknown or bad timezone in wp-includes/functions.php?Looks like an issue with the theme.
Can you post line 413 from this theme file?
/var/www/aspen/public/content/themes/aspen_institute/lib/aspen/aspen-library-date.phpIt could definitely be your webroot’s .htaccess file.
Also, check for allow,deny or require statements in any other Apache config files.
mod_security also could be the cause.
Check the http error logs, there may be more information there.
Have you restarted httpd after editing the virtual host configuration?
I’d remove the security lines so that you can access the site publicly.
<Directory “${SRVROOT}/htdocs/wordpress”>
AllowOverride All
Options Indexes FollowSymLinks
</Directory>You may not need Apache Indexes, but FollowSymLinks is nearly always useful, performance-wise, in order to prevent unnecessary lstat ownership calls.