Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using Drupal 4.2-RC on PHP 4.3.2/Apache2.
When I'm using modules that involve file upload (event, filestore, etc.) the file information isn't parsed properly, resulting in an upload error.
I believe it has to do with the transition to Register Globals Off.
For example, when uploading an image onto an event, three values are placed on a form : |
  | On the form, Drupal assigns values into the global array "edit" so that each value is specified as |
. |
  |
. |
When the form is processed, the result should be something like this: |
  | What I have observed is that I now get two disjointed arrays: |
|
  |
|
Code processing stops because it cannot find the edit[file] array where it should be.
Could just be my setup, but I'm sharing this info just the same.
FYI
Comments
Comment #1
Dries CreditAttribution: Dries commentedComment #2
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedThis was indeed due to the transition to register globals = off. It is fixed now.