upload image results in "page not found"
Bug #312502 reported by
stefan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ProsePoint |
New
|
Undecided
|
Unassigned |
Bug Description
When choosing "upload image" via TinyMCE-
http://
oh, as I paste the url, it seems that "prosepoint-0.13" ist doubled in the path.
The redirect seems to be wrong.
--
After searching around it seems to me that changing the following line (#157 in pp_ed.image.inc)
$form_
to
$form_
fixes the error.
Best regards
Stefan
description: | updated |
To post a comment you must log in.
Hi,
Hmm.... $form_state[ 'redirect' ] is conventionally an internal Drupal path. There should be no need to call url() because the form handling code in Drupal does that automatically.
The url you posted has a double slash. That makes me suspicious that your setup is somehow using absolute paths (instead of Drupal paths) which is then confusing the form handling code in Drupal.