File upload error. Could not move uploaded file.

In Drupal, in example, version 7, you need to check the following if you encounter the error: "File upload error. Could not move uploaded file."

How to insert taxonomy term description in views, Global area

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; ?>
    </div>
<?php endif; ?>

How to customize Flag and DLike modules to print to a custom node--tpl file in Drupal 7

If you want to customize your Flag (Bookmark, Likes) module display in a custom theme node page or tpl file, for example in a custom node--blog.tpl below, you may use code examples and adjust as needed.

How to customize the UberCart Drupal 7 product template (node--product.tpl.php) and view display

Below is a general and simple outline of overriding and generate a custom display of your own Product display in UberCart for Drupal 7.

Drupal 7 Comment module: Remove default (Homepage, Subject) fields in tpl.php file

By default, Drupal's core Comment module displays core fields like Homepage, etc. There is no customizable setting from the Manage Comments area in your Content Type as these are already provided and outputted in the core template file. Exception for some fields like the "Subject" field. See instructions for removing the Homepage and the Subject fields separately below.

Drupal 7 Webform pop-up window error: "Access denied you are not authorized to access this page" despite correct permissions and roles

On Drupal 7, a clickable link to popup a Webform window is impelemented; link for example is - http://www.website.com/webform-sample-original-url?width=700&height=500.... clicking on link, pop-up works but webform is missing with an error "You are not authorized to access this page". Double checked all permissions and roles and everything is correct.

Drupal webform access error

Case insensitive not working in Drupal 7's Combined Fields exposed filter

The exposed filter for combined fileds in Drupal 7 seems to work only when entering the exact casing of the search term or phrase used.  

Seems a patch is required for this:

  1. In your Views, Views Handler Filter Combine - /views/handlers/views_handler_filter_combine.inc, find and change the line below (- indicates the original code line, + replacement code of line)

    -$expression = "CONCAT_WS(' ', $expression)";
    +$expression = "CONVERT(CONCAT_WS(' ', $expression) USING utf8)";

Organic Groups exposed filter error "An illegal choice has been detected. Please contact the site administrator." and choice defaults to an item, not ANY

Case: Drupal 7 installed, with Organic Groups 7.x setup. In Views, added an exposed filter for a particular field (that will filter from a Content Type that is set up as both a Group and a Group content in OG).

Exposed filter setup: Single filter, NOT required, Select all, NOT limited to selected items

Issues:

Special menu item nolink CSS to inherent default main menu style

Typical usage:

Using Special Menu Item module, you would typically:

Drupal 7 installation: Requirements problem, Unicode error - Multibyte string input conversion in PHP is active and must be disabled. Check the php.ini mbstring.http_input setting. Please refer to the PHP mbstring documentation for more information

During installation of a project theme kickstarter for Drupal 7, encountered an installation pre-check error below:

Requirements problem:

Unicode library    Error
Multibyte string input conversion in PHP is active and must be disabled. Check the php.ini mbstring.http_input setting. Please refer to the PHP mbstring documentation for more information.

Pages

Recurring donation

Make Donation

  • Other: $

Donate now

Single donation

Make Donation

  • Other: $

Donate now

Navigation

User login

To prevent automated spam submissions leave this field empty.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
13 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.