IMAmuseum / tap-cms

Authoring tools for the TAP mobile application software platform, built on top of Drupal. Learn more about the project at TAPintoMuseums.org.
https://github.com/IMAmuseum/tap-cms/wiki
GNU General Public License v3.0
24 stars 8 forks source link

Pass by ref error on tourml export #29

Closed cmoad closed 11 years ago

cmoad commented 11 years ago
Strict warning: Only variables should be passed by reference in tap_preprocess_tap_tourml_asset() (line 63 of /Volumes/docs/Sites/IMAmuseum-tap-cms-0e95925/sites/all/modules/tap-cms/modules/tap/tap.templates.inc).
Ambrosiani commented 11 years ago

Hi, I get this error (in a few variations) when trying to export a bundle from my brand new Tap installation. It's a local MAMP installation on Mac OS X 10.8:

Strict warning: Only variables should be passed by reference in tap_preprocess_tap_tourml_asset() (line 68 of /Applications/MAMP/htdocs/tap/sites/all/modules/tap-cms/modules/tap/tap.templates.inc). Strict warning: Only variables should be passed by reference in tap_preprocess_tap_tourml_multipart_asset() (line 135 of /Applications/MAMP/htdocs/tap/sites/all/modules/tap-cms/modules/tap/tap.templates.inc). Strict warning: Only variables should be passed by reference in tap_preprocess_tap_tourml_asset() (line 68 of /Applications/MAMP/htdocs/tap/sites/all/modules/tap-cms/modules/tap/tap.templates.inc). Strict warning: Only variables should be passed by reference in tap_preprocess_tap_tourml_multipart_asset() (line 135 of /Applications/MAMP/htdocs/tap/sites/all/modules/tap-cms/modules/tap/tap.templates.inc). Error creating bundle: TheNobelMuseumTour-bundle.zip

Drupal status report:

Drupal 7.17 OK Access to update.php Protected OK CTools CSS Cache Exists OK Configuration file Protected OK Cron maintenance tasks Last run 4 hours 42 min ago You can run cron manually. To run cron from outside the site, go to http://localhost:8888/tap/cron.php?cron_key=s0uS6aVA3b4aLsIIIPr8aADEGVn_Qs1qw4qOZvZDIAk OK Database system MySQL, MariaDB, or equivalent OK Database system version 5.5.25 OK Database updates Up to date OK Date API System date settings The timezone has been set to Europe/Berlin. The first day of the week has been set to Monday. The medium date format type has been set to to Thu, 2012-11-29 21:31. You may find it helpful to add new format types like Date, Time, Month, or Year, with appropriate formats, at Date and time settings. OK Drupal core update status Up to date OK File system Writable (public download method) OK GD library PNG support bundled (2.0.34 compatible) OK GD library rotate and desaturate effects bundled (2.0.34 compatible) OK GeoPHP Library Installed GeoPHP 1.1 library installed at sites/all/modules/geophp/geoPHP/geoPHP.inc Info GeoPHP and GEOS GeoPHP library installed and OK. However, GEOS is was not found. While not required, you will see performance improvements if you install the GEOS PHP extension. See the following link for more information.https://github.com/phayes/geoPHP/wiki/GEOS OK Module and theme update status Up to date OK Node Access Permissions Disabled If the site is experiencing problems with permissions to content, you may have to rebuild the permissions cache. Rebuilding will remove all privileges to content and replace them with permissions based on the current modules and settings. Rebuilding may take some time if there is a lot of content or complex permission settings. After rebuilding has completed, content will automatically use the new permissions. Rebuild permissions OK OpenLayers library version Using suggested compatible version 2.11. OK PHP 5.4.4 (more information) OK PHP extensions Enabled OK PHP memory limit 128M OK PHP register globals Disabled Warning Tap FFMPEG Disabled To retrieve information about videos TAP requires that the ffmpeg extension be installed. you can download it from here OK Unicode library PHP Mbstring Extension OK Update notifications Enabled Info Upload progress Not enabled Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the PECL uploadprogress library (preferred) or to install APC. OK Web server Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.4.4 OK jPlayer 2.2.0

Ambrosiani commented 11 years ago

solved by downgrading to php 5.3.14

karnold commented 11 years ago

pass by reference errors resolved in commit 772b040843