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.
When running under php 5.3.0, the uc_products view does not display the product image. If I dump the same database and files onto php 5.2.x then it displays the image just fine.
Comments
Comment #1
TR CreditAttribution: TR commentedTagging. Would it be possible for you to track this down and create a patch? I'm not running PHP 5.3 here.
Comment #2
bkat CreditAttribution: bkat commentedThe view seems to be working now but I don't seem to have modified any ubercart files. I have fixed many other bugs related to php 5.3 and they are almost all related to callback functions having parameters declared as references. I know that I fixed some things in the image API so if the uc_product view uses that, it would have been fixed implicitly.
Feel free to close this one.
Comment #3
TR CreditAttribution: TR commentedIf you find PHP 5.3 problems that needs to be fixed in Ubercart, please let us know. Many of these cases have already been fixed, but I'm sure there are some still out there. Just be aware that removing the & may make the error go away but can also cause problems, as we have seen with some previous issues which tried to do just that. A patch to fix any problems you find would be greatly appreciated.