bug report + ssl question

Anything to do with setting up and customizing Kampyle

bug report + ssl question

Postby solo » Thu May 21, 2009 5:23 am

Hi,
I tried to use your SSL version according to https://www.kampyle.com/forums/viewtopi ... 2913f3d985

First - the code I got from you is buggy - it says to put in the <body> section the follwing code:

<!--Start Kampyle Feedback Form Button-->
<div id="k_close_button" class="k_float kc_bottom kc_right"></div>
<div>
<a href="https://www.kampyle.com/ target="kampyleWindow" id="kampylink" class="k_float k_bottom k_right" onclick="javascript:k_button.open_ff('site_code=**private**&amp;form_id=9923&amp;lang=en');return false;"><img src="/images/en-green-band-low-right.gif" alt="Feedback Form" border="0"/>
</a></div>

<script src="/js/k_button.js" type="text/javascript"></script>
<script type="text/javascript" src="/js/k_push.js"></script>
<!--End Kampyle Feedback Form Button-->

You can see in line 4 that the link https... starts with a " but is not closed.

First question? - Am I right to assume it should be: "https://https://www.kampyle.com/feedback_form" ?
Second question: The code above generates a JavaScript error:
I see in FF error console: Error: Permission denied to call method Location.toString
and in IE: Expected Identifier, String or Number

thanks,
Assaf
solo
 
Posts: 2
Joined: Thu May 21, 2009 5:08 am

Re: bug report + ssl question

Postby kampyle » Mon May 25, 2009 12:13 am

Hi Assaf,
thank you for your post.
indeed, there was a " missing in the code (in the link in the 4th line).
Thank you for pointing that out. We have since fixed the problem.

Regarding your 2 questions:

1. No, the the link was only missing one " at the end. The correct code would have "https://www.kampyle.com/" in it.
2. this problem was caused by the issue you reported.Once fixed you should not encounter this error again.

thanks again for pointing out the problem,

the Kampyle Team
User avatar
kampyle
Site Admin
 
Posts: 113
Joined: Tue Feb 26, 2008 5:17 am

Re: bug report + ssl question

Postby solo » Mon Jun 22, 2009 5:27 am

Hallo again,
I am using your HTTPS version on my site.
On FF it seems to work fine, but on IE7 I get a javascript error on my page, which seems to appear only with your code, and it says: "Expected identifier, string or number"
you can see example in http://willook.com/under_construction.php
any ideas ?
solo
 
Posts: 2
Joined: Thu May 21, 2009 5:08 am

Re: bug report + ssl question

Postby kampyle » Tue Jun 23, 2009 11:02 pm

Hi Solo,

thanks for the message.
It turns out that we had a small problem in our files, for a very short window (around 1 hour) and you happened to download the files during this window. We're sorry for the inconvenience, though we're happy to say that this can be easily corrected. To fix the problem, you can choose either of the following options:
1) Edit the file http://willook.com/js/k_push.js
a. Change line 21 from: main_domain='';return main_domain;},}
to
main_domain='';return main_domain;}}
(the last "," was deleted)

2) Download the most updated javascripts from kampyle: http://c.kampyle.com/k_button.js and http://c.kampyle.com/k_push.js .

I hope this helps you - please contact us again if you still experience problems.

thank you,

the Kampyle Team
User avatar
kampyle
Site Admin
 
Posts: 113
Joined: Tue Feb 26, 2008 5:17 am


Return to Implementation & Customization

cron
Feedback Form