[ic] [button] tag died when server was moved to https

Cameron interchange-users@icdevgroup.org
Fri Nov 1 23:45:01 2002


> Howdy! I'm running 4.8.6, btw. After I moved Interchange from http to
https, [button] tag's no longer work as expected. Instead of supplying an
image with accompanying javascript, they simply provide a standard html
submit button. While this is fine as far as function goes (it submits the
form correctly), it doesn't look good. I looked through the source for the
button tag and, if I understand correctly, the button tag will return the
html submit button if it can't find the src image or if the browser doesn't
support javascript. The browser most definitely supports javascript, so I'm
assuming it is failing when trying to verify whether the src image exists.
If I use the same src that is being supplied to the [button] tag in a <img>
tag, it displays fine. e.g:
>
>   [button
>     name="mv_click"
>     src="__THEME_IMG_DIR__placeorder.gif"
>     text="Place Order"
>     hidetext=0
>     form=checkout
>   ]
>     mv_todo=submit
>   [/button]
>
> Returns <input TYPE="submit" NAME="mv_click" VALUE="Place Order">, instead
of the image/javascript.
> However,  <img src="__THEME_IMG_DIR__placeorder.gif"> (note button src and
img src are identical) displays the image properly. So I'm pretty sure the
path is correct. Is there something that I'm missing? I don't think its a
permissions thing either, I did a `chmod 777` on all of my images, so
anybody should be able to access them.
> Also, when I moved interchange to https, I set SECURE_SERVER to my https
domain name, SECURE_ENABLE to 1, and SecureURL to
__SECURE_SERVER____CGI_URL__. Is there anything else I need to change? I
should note also that everything else works exactly the same on https as it
did on http, as far as I can tell. That is, everything but the buttons. Any
help would be GREATLY appreciated!! Thanks a whole bunch!! Let me know if
you need any more info.
>

I've noticed exactly the same behaviour - of course, mine got better when i
moved it to live hosting, and it was an issue on my test box. I never found
a resolution for it, it just fixed itself. i know this isn't really helpful,
but atleast it's not just you imagining things!