Closed (won't fix)
Project:
ImageField
Version:
5.x-2.6
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 May 2012 at 17:33 UTC
Updated:
14 Apr 2013 at 18:06 UTC
I recently updated one of my (older) websites to Drupal core 5.23. I also updated some modules that weren't updated before, including ImageField. Since then, CCK image fields that have values and are set to be displayed are not outputted anymore. Not on screen, not in the underlying html.
Other modules in the game that might be relevant:
Can somebody help me out here or point me in the right direction? Thanks.
Comments
Comment #1
quicksketchWe're not providing support for Drupal 5 any more, but you should check that you ran update.php, flushed your caches, and that the formatter settings for your imagefield are set correctly.
Comment #2
Tino commentedI understand. Thanks for the input though.
I ran update.php, flushed caches and tried numerous options on how to display the field. Also tried adding a new field and even a new content type with an imagefield, but nothing seems to work...
Comment #3
Tino commentedCould it maybe have something to do with the upgrade to PHP 5.3 by the hosting party? And the incompatibility of Drupal 5 with PHP 5.3.
This was the trigger to start updating this website earlier today.
I keep seeing this error in the logs:
Function ereg() is deprecated in .../includes/file.inc line 646Comment #4
quicksketchHm, I'm not sure if Drupal 5 can run on PHP 5.3 or not. I definitely wouldn't recommend it. Even though ereg() is deprecated, it still exists in PHP 5.3, so that in particular is not a problem. In Drupal 6 core, we ended up just putting an @ sign in front of the calls to ereg() to silence the warnings.
To test if it's a PHP upgrade problem, try backing up your site database and code to a different machine (like your localhost) and see if the image situation is any better.
Comment #5
quicksketchhttp://drupal.org/requirements lists PHP 5.3 as not being compatible with Drupal 5.
Comment #6
Tino commentedThanks again quicksketch, not only for creating the module, but also for your time to feed me with more options on an antique version of it. For now I am manually putting in images as pure html on this perticular website. Hope I can keep the owner happy for the time being, without forcing her directly to invest in a Drupal 5 to 7 conversion. Fortunately this is the only D5 website that I have out there...
Image Galleries are working though! That is fortunate, since they are the most important part of the website (artist's display of works).
Comment #7
Q-Zma commentedI have the same problem with PHP 5.2.17 runned as CGI together with PHP 5.3 as module on Apache. Have following in server log:
Comment #8
quicksketchClosing up again. There is no support for D5 at this point.
Comment #8.0
quicksketchTypos