Hello.
I'm running D6.15 on xampp with PHP 5.3.1.
When I try to upload images through upload form, it does(files appear at corresponding folder), but general image properties form renders completly crushed (please, see attached screenshot).
In a scope of this 2 errors appear:
Parameter 1 to theme_gallery_edit_images_form() expected to be a reference, value given in file D:\xampp\htdocs\includes\theme.inc at line 617.
Parameter 1 to theme_gallery_sort_images_form() expected to be a reference, value given in file D:\xampp\htdocs\includes\theme.inc at line 617.
I installed jquery form update, then tried to remove &'s as usual recommended for PHP 5.3,x but nothing changed in both cases.
Please, advice.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Photo Gallery.png | 43 KB | dbeall |
| error.jpg | 98.67 KB | dhtml2 |
Comments
Comment #1
dbeall commentedDrupal 6.15 is suppose to run on php 5.3*.
http://drupal.org/requirements
They are still working on it:
http://drupal.org/node/360605#comment-2496240
Grab a lesser version of php and you should be fine, php 5.2* works ok
EDIT: I don't see any error in your screen shot, all looks normal, the 'title' is the file name or 'image file name'. The layout is off, I was thinking you might have customized it...
Comment #2
dhtml2 commented"Title" is ok, 'coz I have russian translation, but look for hanging radio button and other elements -- it's not normal, isn't it? Nothing else were customized, it is clearly installed module.
Comment #3
dbeall commentedhere is a capture from my test site, I would say this is normal. I edited the .jpg from the image titles
Comment #4
jimthunderbird commentedI used LAMPP (http://www.apachefriends.org/en/xampp.html) in my Fedora Core 12 development box. I have LAMPP 1.7.3 installed with PHP 5.3.1, Drupal does not like it. So I did the following trick:
1. I download LAMPP 1.7.1 which comes with PHP 5.2.9, put it at /opt/lampp_1.7.1
2. I keep LAMPP 1.7.3 in /opt/lampp_1.7.3
3. I then create a php shell script called lampp_start, when I do drupal development, I do lampp_start 1.7.1, so drupal is running smoothly.
For other projects I work on PHP 5.3, I then do lampp_start 1.7.3
Bellow is my lampp_start script:
Comment #5
dbeall commentedChange title to better describe issue.
change priority as this is a Drupal issue as well and nothing is really critical on a localhost install..
well, I had the exact same problem with 1.7.3 and had to hunt down 1.7.1.. I think I had to get it from sourceforge.
http://sourceforge.net/projects/xampp/files/
Comment #6
jimthunderbird commentedRight, you can get 1.7.1 by using "wget http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.7.1/xampp-li..."
Comment #7
dbeall commented@jimthunderbird, I wish I knew all the stuff you know.. servers still get the best of me. I have a box here just to play with and I have learned some stuff, but it's a slow process.
Comment #8
bmarcotte commentedHi All,
Nice module.
I was having this issue, I easily fixed it by removing the & in the errant function calls.
node_gallery/theme/theme.inc required 2 repairs:
Line 125 became: function theme_gallery_edit_images_form($form) {
Line 150 became: function theme_gallery_sort_images_form($form) {
Additionally, I made a change to imageapi_gd.module
Line 123 became: function imageapi_gd_image_resize($image, $width, $height) {
I do not know if this breaks php 5.2 but it got me up and running.
Bob
Comment #9
justintime commentedWe are now PHP 5.3 compatible, marking as dupe of #834214: Can Not Delete or Sort Images in Node Gallery