A common error on Drupal 7 running on PHP 7: Fatal error: Only variables can be passed by reference in C:\xampp\htdocs\xxx\sites\all\modules\commerce\modules\cart\commerce_cart.module on line 1344


Normally, templates come in default by printing all content fields by:

<?php print render($content); ?>

But if for some reason, you wish to display everything, yet you need to exclude or omit certain field values from displaying, you may want to use:



print render($content);


In above example this will output everything by default, yet hide the image of the node.

You may consider using PHP for this.

  1. Go to your Views
  2. Header > Add
  3. Select Global: PHP
  4. Use PHP snippet below to display the current term description
  5. You may use additional fields as necessary, arguments, arrays, etc.
<?php $current = taxonomy_term_load(arg(2)); ?>
<?php if ($current): ?>
    <div class="taxonomy-description">
        <?php echo $current->description; ?>
<?php endif; ?>

Joomla version 3, encountering an error message when uploading some very large files via administrator backend:

This file is too large to upload.

You may try any of the options listed below.

Updating the settings within Apache

(if you have access to the root folder of your server, or on local machine using WampServer or XAMPP). Check this page on finding your php.ini file in your webhosting. For local machines using XAMPP or WAMP (just do a simple file search on the application folder)