Needs work
Project:
Floating Windows
Version:
6.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2009 at 14:29 UTC
Updated:
18 Apr 2011 at 15:24 UTC
Jump to comment: Most recent file
Comments
Comment #1
Mapi99 commentedFloating windows is causing this error to appear when creating a new comment
Comment #2
Mapi99 commentedAnyone have an idea what might cause this?
Comment #3
skilip commentedHey Mapi99,
Are you sure this is caused by floating windows? Can you tell me more about when the error occurs? The error comes from drupal_lookup_path().
Comment #4
Mapi99 commentedWhen i comment with this module turned off everything is normal, as soon as i turn it on and make a comment with floating windows active i get those errors.
There seems to be some references to path in the floating windows code tough? maybe something is interfering?
Comment #5
skilip commentedI'm not sure but it could be caused by float_window_access_window() in which drupal_get_path_alias() is called. Probably $_GET['q'] isn't set when your error occurs.
Could you try this patch?
Comment #6
Mapi99 commentedwarning: Illegal offset type in isset or empty in /home/mapi/hightideclan.com/includes/path.inc on line 65.
warning: Illegal offset type in /home/mapi/hightideclan.com/includes/path.inc on line 70.
The error still occurs, i should also note that theres a function float_window_add_path that might interfere?
Comment #7
skilip commentedI'd really much like to help you out with this issue. I've tried to reproduce this error on my local Drupal installation. I've created several floating windows with several configurations, but I can't get the error you are experiencing when submitting a comment. Couldn't it be caused by a combination of float_window and another module? Have you tried to disable other modules?
Are you running the site live? Do you have an url? We could also meet on IRC, so we could do debugging steps together.
All the best!
Comment #8
Mapi99 commentedthat would be great, the url is http://hightideclan.com and if you would like to meet on IRC tell me what times you are on and ill hop on
Comment #9
skilip commentedBeautiful site!!! Could we meet on IRC this evening? I see you're also living in the Netherlands, so we're in the same time zone. Ill be around from 20:00.
Comment #10
skilip commentedHey Mapi,
Maybe it has got something to do with float_window's submit callback. Could you try again after removing this line?
It's somewhere near line 536.
Comment #11
Mapi99 commentedRemoved it and it no longer gives the error! Thanks
Comment #12
YurkinPark commentedwhen use logintobbogan module -we have module conflicts while user register operation.
logintobbogan generates code like
$form_state['redirect'] = array('path' = 'user/44', 'query' => NULL, 'fragment' => NULL);at logintobbogan.module, line 403.
And float_window do wrong operation after
$_SESSION['float_window_all'][$form_state['values']['form_id']]["redirect"] = url($form_state['redirect']);float_window.module, line 545
Comment #13
YurkinPark commentedtry this patch for solve problem
Comment #14
YurkinPark commented