Image module Fatal Error
Fer Martin - March 24, 2006 - 17:05
Hey guys,
I installed and configured Drupal 4.7 with no problem. I wanted to try out the e-commerce module and so i downloaded them and create the tables, no problem.
I wanted to use the "image module", and when i decompress it, i get the following error:
Fatal error: Only variables can be passed by reference in /home/jgeek/public_html/drupal/modules/image/image.module on line 730
Does anyone know about this? It seems to be around this line:
<?php
$vocabulary = taxonomy_save_vocabulary(array('name' => t('Image Galleries'), 'multiple' => '0', 'required' => '0', 'hierarchy' => '1', 'relations' => '0', 'module' => 'image', 'nodes' => array('image')));
?>Any hints? Thanks in advance!
FeR

solution
Hey guys,
I found myself how to solve it thanks to this article. I would like to ask you to commit it in the cvs so no one get this problem in the future.
<?php$dummy = array('name' => t('Image Galleries'), 'multiple' => '0', 'required' => '0', 'hierarchy' => '1', 'relations' => '0', 'module' => 'image', 'nodes' => array('image'));
$vocabulary = taxonomy_save_vocabulary($dummy);
?>
Have a nice day!
FeR
same problem
had the same problem. This fix works, but shortly after, I'm getting another error while trying to enter the settings environment for the image module. Do you have the same problem?
It says:
Fatal error: Call to undefined function: form_hidden() in /www/htdocs/womenont/drupal47/modules/image/image.module on line 70What version?
What version of image.module did you install? This sounds like you've installed image 4.6 on drupal 4.7.
(BTW this is a FAQ; I'm pulling http://drupal.org/node/50099 out of moderation...)
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
That would be the problem
That would be the problem I suppose. I looked everywhere to find the image module for 4.7, couldn't find it with downloads. Then I found somewhere on the web (not on drupal.org) a link to a module which would work on 4.7, but it doesn't. It's 1.146.2.14 2006/02/23 04:06:33 walkah Exp.
Does anyone knows where to get image.module for 4.7?
CVS
I believe CVS worked on 4.7 beta something. Problem is I don't know which beta.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
Drupal 4.7beta6
just tried the cvs on 4.7beta6. I'm running into this error:
http://drupal.org/node/50889
I'll watch the thread down there. Thanx