Jump to content
  • 0

Error With Url Tag {Client_Uri}


Question

14 answers to this question

Recommended Posts

  • 0
Posted

What version of Blesta are you using mate? The issue your having should of been fixed in 3.0.2: http://www.blesta.com/forums/index.php?/topic/937-release-302/

 

* [CORE-698] - The payment_url tag in email templates does not include the path that Blesta is installed under
* [CORE-699] - The client_url tag in email templates does not include the path that Blesta is installed under

Bug report: http://www.blesta.com/forums/index.php?/topic/839-client-url-doesnt-detect-folder-location/

  • 0
Posted

I am having this exact problem with the {client_url} variable. My Blesta installation is in a directory called /manage that is inside my root directory. The path to the root directory is set correctly in the system settings. The link in invoice emails is going to /client in the root directory instead of in the /manage directory. Any way to fix this without hard coding the URL into the email template? Thanks.

  • 0
Posted

I am having this exact problem with the {client_url} variable. My Blesta installation is in a directory called /manage that is inside my root directory. The path to the root directory is set correctly in the system settings. The link in invoice emails is going to /client in the root directory instead of in the /manage directory. Any way to fix this without hard coding the URL into the email template? Thanks.

if i remeber well , this issue has been fixed already . also there are some other threads about this issue , use the search option to find other threads about this .

  • 0
Posted

I have already searched an did not find a solution. That is why I posted here. I have also noticed that {invoice.payment_url} is having the same problem. This just started happening yesterday after changing the text of a sentence containing no variables/tags.

  • 0
Posted

I changed this sentence:

<p><strong>If you have already paid this invoice or use autopay, there is no need to do anything else.</strong> You will receive a receipt when your payment has been processed.</p>

to add the words 'or use autopay'. The rest of the email is exactly the same as before the problem started.

  • 0
Posted

Any other ideas about why I may be having this problem? I have hard coded the client account link into the email template so that people would get to the right place, but can not hard code the Pay Now (no login required) link, which still leads to the wrong place. Thanks.

  • 0
Posted

Any other ideas about why I may be having this problem? I have hard coded the client account link into the email template so that people would get to the right place, but can not hard code the Pay Now (no login required) link, which still leads to the wrong place. Thanks.

 

If the issue is with emails delivered via cron, then the solution is to set the correct path for Root Web Directory as I mentioned in post #3.

  • 0
Posted

Thanks. I answered in post #4 that my root web directory is set correctly. I am finding this problem hard to troubleshoot. I am going to try again later using a test client. Hopefully I can figure it out.

  • 0
Posted

The URI for emails delivered by the cron is derived from the Root Web Directory setting. Try adjusting that setting and see how it affects the URL in the email. 99% of issues with links in emails delivered by the cron are the result of an incorrect value set as the Root Web Directory.

  • 0
Posted

Did you move servers? Update vhosts, etc., etc.? Changes made to your hosting environment could cause the Root Web Directory path to no longer be valid, hence you'll need to update it to the correct value.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...