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

BrandTim’s picture

To 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

loginsvariaditos’s picture

Great! I had a problem also but with the op_video module, but this magical line solve it.
Thank you very much

Tauran’s picture

Status: Active » Closed (fixed)

Please reopen if the request persists.