$base_url not declared as global before modification.
JimBroad - October 6, 2009 - 18:28
| Project: | Secure Pages |
| Version: | 6.x-1.8 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | JimBroad |
| Status: | closed |
Description
Looks like a line of code got missed when refactoring...
securepages_redirect() uses it but does not declare it as global, while securepages_boot() declare $base_url as global but does not use it and calls securepages_redirect().
This is likely the cause of many issues I have seen listed( imagecache urls, form #actions etc...) , adding global definition to that function fixed these issues for me.
Will submit patch shortly.

#1
Submitting patches for 6.x-1.8 and 6.x-1.x-dev
#2
subscribing
#3
Thanks I have fixed this.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.