Page 1 of 1

Altering URL of support site.

Posted: Fri Jan 10, 2014 2:26 pm
by nick00
Hello all,

Firstly, what an amazing piece of work the HESK support script is. Thanks!

I have been using this script for some time and have it installed on my NAS. I have been using DynDNS to access the support ticket site when out of my network, through one of their free host names: http://xxxx.dyndns-free.com.

However, I have now moved to using the service that comes with my NAS, so the address has changed to: http://xxxx.myqnapcloud.com

All works well, apart from that my header image had gone (but this was easy to fix by updating the URL in the header), and the two problems I have below:

Knowledgebase is still being referenced as at my old URL
Captcha errors message as follows:
Input error: Invalid referer
I would be really happy if any of you guys could tell me what I need to edit and where it is, please.

Thanks,
Nick.

Re: Altering URL of support site.

Posted: Fri Jan 10, 2014 5:34 pm
by Klemen
Note sure what you mean by "Knowledgebase is still being referenced as at my old URL"?

As for the invalid referer - this is not an error HESK generates. If yu are using "reCaptcha" then your are probably using a key registered to some other URL address.

Re: Altering URL of support site.

Posted: Fri Jan 10, 2014 7:49 pm
by nick00
Hi Klemen,

Many, many thanks for you reply.
Note sure what you mean by "Knowledgebase is still being referenced as at my old URL"?
Apologies, I should have been clearer.

If I click on the link to the knowledge base, it takes me to the following (old) URL:
dyndns-free.com/support/knowledgebase.php

... and I would like it to take me to the new URL:
myqnapcloud.com/support/knowledgebase.php

So I just need to find where to change the URL, please.
As for the invalid referer - this is not an error HESK generates. If yu are using "reCaptcha" then your are probably using a key registered to some other URL address.
Great, thanks. Obvious after your pointed it out. I was using the keys for the old URL (dyndns-free), so I just created a new set of keys for myqnapcloud.com and pasted them into recaptchalib.php

Thanks for your time and support :)

Nick.

Re: Altering URL of support site.

Posted: Sat Jan 11, 2014 9:15 am
by Klemen
Hi,

The only place the help desk URL is set is in the "Help desk URL:" setting (admin panel > "Settings" > "Help Desk" tab > "Help desk settings").

That's the only absolute URL HESK uses, the rest are just relative URLs ("knowledgebase.php" instead of "http://www.domain.com/hesk/knowledgebase.php") so if you keep seeing the old URLs after this change it is either some caching problem or files have been modified?

Re: Altering URL of support site.

Posted: Sat Jan 11, 2014 10:33 am
by nick00
Sorry, another silly mistake.

I had modified text.php a long time ago to add some information about the system emails getting trapped by spam filters. I had included a link to the knowledge base in that edit.

So, you're right on the money again. Thanks for your support - everything is working nicely now.

Enjoy your weekend,
Nick.