Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am running Drupal 5.1 and just enabled nodeform template.
When i go into admin/content types to add a form template, i receive the following error message:
Fatal error: Cannot pass parameter 1 by reference in D:\Program Files\xampp\htdocs\drupal\sites\all\modules\nodeformtemplate\nodeformtemplate.module on line 72
I'm developing a module that uses JpGraph to draw some graphs. JpGraph works by generating an image, so you set an img tag's src to be some .php file. I'd like the graph to grab some data from the Drupal database, but the graph .php file isn't defined within any hook functions, so it doesn't have access to any Drupal functions.
I am developing an upload module that the attachement either visible by all visitors or member only. Anybody knows how to get currrent user id and current anonymous user id in Drupal 5.x??
I am developing an upload module that the attachement either visible by all visitors or member only. Anybody knows how to get currrent user id and current anonymous user id in Drupal 5.x??
The problem is: if I do not put the $form_values as the first parameter I cannot get it, and the first one is the real $form_values.
So if my function is my_form($form_values), it is ok. If my function is my_form($param, $form_values), the data from form page 1 will be stored in $param but not $form_values.