Normally i can add images to my node with the use of the imagefield module.
The editform shows a button to upload an image and everything is ok
Last week i upgraded to PHP 5.3 and now there are some problems:
The imagefield placeholder is still at the edit form, but the actual inputbox/button is gone. There is no possibility to add images.
I looked at the HTML of the edit form and can see that some fields are missing:
| image: | Order | |
|---|---|---|
|
-101
|
||
|
-101
|
||
The Drupal logs says the following:
Type php
Date Wednesday, September 1, 2010 - 12:46
User rein
Location http://mysite.com/admin/build/modules
Referrer http://mysite.com/node/2463/edit
Message Function ereg() is deprecated in /home/mysite/public_html/includes/file.inc on line 895.
Severity error
I have a lot of ereg() depreciated messages in my log (more than 100 per page request)
Comments
Comment #1
xvoid@drupal.org commentedHere is the HTML of the form. You can see some fields are missing.
Comment #2
xvoid@drupal.org commentedThis looks like a duplicate of http://drupal.org/node/581074
I will try the resolution of http://drupal.org/node/581074 and report back to tell you if this is a solution or not.
Comment #3
quicksketchThanks. I should note that Drupal 6 is not compatible with PHP 5.3 at all, considering we use ereg in several core functions. I'd strongly suggest sticking with 5.2.x until Drupal 7 (which will actually require 5.2 or higher).
Comment #4
quicksketch