Jump to:
| Project: | SWFAddress |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I am excited to find this module. I am trying to upgrade a current swfaddress configuration to a drupal version. The install went fine and most of it seems to be working. SWFAdress loads the flash file. Flash seems to be communication with the browser it writes the title and the url is updated as I navigate the flash file. However the browser does not seem to be speaking with flash the back and forward do not work and links are not active. I did notice this error in the event log;
Type page not found
Date Monday, February 8, 2010 - 13:18
User administrator
Location http://localhost/drupal610/sites/all/modules/swfaddress/drupal610/swfadd...
Seems to be and extra "/drupal610/" in the error? Any pointers would be greatly appreciated.
steve
Comments
#1
There seems to be an issue in the url construction for the file swfaddress_optimizer.js
You can try to change a line from the swfaddress.module (it's in the function _swfaddress_optimizer($resource) )
<?php
from:
return $base . $resource . (strstr($resource, '?') ? '' : '?') . 'swfaddress=' . urlencode($path) . '&base=' . urlencode($base) . '&flash=' . variable_get('swfaddress_flash_version', '9.0.0') . '&';
To:
return $resource . (strstr($resource, '?') ? '' : '?') . 'swfaddress=' . urlencode($path) . '&base=' . urlencode($base) . '&flash=' . variable_get('swfaddress_flash_version', '9.0.0') . '&';
?>
I think this issue happens every time $base is not == "" ( if drupal is installed in a subdirectory for exemple, or in #650240: SWFAddress + i18n ).