Closed (fixed)
Project:
Pageroute
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Mar 2008 at 11:38 UTC
Updated:
14 Nov 2008 at 11:17 UTC
pageroute add node with a cck field "image" does not work.
Adding this code near line 150 - in pageroute.module:
$form['#attributes'] = array("enctype" => "multipart/form-data");
it works!
Comments
Comment #1
BrandTim commentedTo clarify:
This fixes the bug which occurs when you select a file by using the 'Browse' button and then click the 'Forward' button without first clicking 'Upload'.
This does not fix the bug mentioned here:
http://drupal.org/node/226816#comment-802650
where clicking the Upload button causes a MySQL error.
BrandTim
Comment #2
loginsvariaditos commentedGreat! I had a problem also but with the op_video module, but this magical line solve it.
Thank you very much
Comment #3
Tauran commentedPlease reopen if the request persists.