I have recently installed OA 7.x-2.15 under OpenSuse 13.1 running under Apache 2.4.6 with PHP 5.4.20 and MariaDB 5.5.33. When I setup my first news section on the front page as a test during my attempt to learn how to use OA and then jump to that URL, I get the following warning twice at the top of my screen:
Strict warning: Only variables should be passed by reference in ctools_entity_from_field_context() (line 179 of /srv/www/htdocs/oa/profiles/openatrium/modules/contrib/ctools/plugins/relationships/entity_from_field.inc).
I believe that OA is installed correctly (I got no errors on install and all seem to go smoothly for the new database I created in MariaDB), but possibly not. Can someone provide some assistance?
Notice that I did not install OA directly under the root web context but instead under an empty subdirectory of the root called oa as shown in the attached screenshot of the page URL. All file and directory permissions under oa were set as: chown -R wwwrun:root /srv/www/htdocs/*
For example, the top level permissions are:
gollum:/srv/www/htdocs/oa # ls -l
total 228
-rw-r--r-- 1 wwwrun root 86093 Mar 31 14:57 CHANGELOG.txt
-rw-r--r-- 1 wwwrun root 1481 Mar 31 14:57 COPYRIGHT.txt
-rw-r--r-- 1 wwwrun root 1451 Mar 31 14:57 INSTALL.mysql.txt
-rw-r--r-- 1 wwwrun root 1874 Mar 31 14:57 INSTALL.pgsql.txt
-rw-r--r-- 1 wwwrun root 1298 Mar 31 14:57 INSTALL.sqlite.txt
-rw-r--r-- 1 wwwrun root 17995 Mar 31 14:57 INSTALL.txt
-rwxr-xr-x 1 wwwrun root 18092 Mar 31 14:57 LICENSE.txt
-rw-r--r-- 1 wwwrun root 8191 Mar 31 14:57 MAINTAINERS.txt
-rw-r--r-- 1 wwwrun root 445 Mar 31 14:57 PATCHES.txt
-rw-r--r-- 1 wwwrun root 5376 Mar 31 14:57 README.txt
-rw-r--r-- 1 wwwrun root 9642 Mar 31 14:57 UPGRADE.txt
-rw-r--r-- 1 wwwrun root 6604 Mar 31 14:57 authorize.php
-rw-r--r-- 1 wwwrun root 720 Mar 31 14:57 cron.php
drwxr-xr-x 1 wwwrun root 1058 Mar 31 14:57 includes
-rw-r--r-- 1 wwwrun root 529 Mar 31 14:57 index.php
-rw-r--r-- 1 wwwrun root 703 Mar 31 14:57 install.php
drwxr-xr-x 1 wwwrun root 2050 Mar 31 14:57 misc
drwxr-xr-x 1 wwwrun root 514 Mar 31 14:57 modules
drwxr-xr-x 1 wwwrun root 64 Mar 31 14:57 profiles
-rw-r--r-- 1 wwwrun root 1561 Mar 31 14:57 robots.txt
drwxr-xr-x 1 wwwrun root 334 Mar 31 14:57 scripts
drwxr-xr-x 1 wwwrun root 74 Mar 31 14:57 sites
drwxr-xr-x 1 wwwrun root 80 Mar 31 14:57 themes
-rw-r--r-- 1 wwwrun root 19986 Mar 31 14:57 update.php
-rw-r--r-- 1 wwwrun root 2178 Mar 31 14:57 web.config
-rw-r--r-- 1 wwwrun root 417 Mar 31 14:57 xmlrpc.php
gollum:/srv/www/htdocs/oa #
Edit1: I have found that others have run into the same issue with PHP 5.4 and have discussed it at: https://community.openatrium.com/issues/node/3987 .
Edit2: I set Home » Administration » Configuration » Development » Logging and errors to None and this removed the warnings, so I now see that I can control them for production which is fine.
-=> Gregg <=-
| Attachment | Size |
|---|---|
| strictWarningOnNewsSection.png | 221.23 KB |