hostingDifferent-Scott Posted September 10, 2013 Report Posted September 10, 2013 I imported from whmcs using the beta importer and all of the invoices have old whmcs urls so the payment links don't work. Where can we reset the client url so that all the links are generated correctly? Thanks! Scott Quote
0 hostingDifferent-Scott Posted September 12, 2013 Author Report Posted September 12, 2013 I figured it out. Thanks! Quote
0 Paul Posted September 10, 2013 Report Posted September 10, 2013 Where are you seeing old URLs? Do you mean in the mail logs? Quote
0 hostingDifferent-Scott Posted September 10, 2013 Author Report Posted September 10, 2013 NO in the actual invoice emails that clients are getting. I created a test invoice and the urls within it don't lead back to my blesta install and result in an 404 error. Quote
0 Paul Posted September 10, 2013 Report Posted September 10, 2013 In the PDF? Can you provide an example? Quote
0 Paul Posted September 10, 2013 Report Posted September 10, 2013 If the invoices were generated prior to the import, any payment URLs will be invalid. If the invoice was created in Blesta after the import, it should work. Email templates should not be imported. Quote
0 hostingDifferent-Scott Posted September 10, 2013 Author Report Posted September 10, 2013 The invoice was generated after the import. Here's the body of the email: Hi Scott,An invoice has been created for your account and is attached to this email in PDF format.Invoice #: 941 If you would like us to automatically charge your card, login to your account at http://hostingdifferent.com/client/ to set up auto debit.Pay Now (No login required)If you have any questions about your invoice, please let us know! Scott hostingDifferent billing --------------------------- hostingDifferent--We're hostingDifferent. Premium, fully-managed WordPress hosting done right. Quote
0 Paul Posted September 10, 2013 Report Posted September 10, 2013 Is it suppose to be my.hostingdifferent.com? Are you running 3.0.2, and is the path under Settings > System > General > Root Web Directory correct? And is the hostname correct under Settings > System > Companies? Quote
0 hostingDifferent-Scott Posted September 10, 2013 Author Report Posted September 10, 2013 Yes, it should be my.hostingdifferent.com. And yes, both are set up correctly. That url hostingdifferent.com/clients is from an OLD WHMCS install. I'm assuming it came from the import somewhere. Quote
0 Paul Posted September 10, 2013 Report Posted September 10, 2013 I don't see how it would have come from the import, if these are newly created invoices. There was a directory path issue for sub directories that was corrected in 3.0.1 or 3.0.2, but it sounds like you may be running 3.0.2, so I'm not sure what's going on. Quote
0 hostingDifferent-Scott Posted September 10, 2013 Author Report Posted September 10, 2013 I am on 3.02. I can't switch over (was all ready to), if my clients can't pay their bill. What should be the next step? Quote
0 Tyson Posted September 10, 2013 Report Posted September 10, 2013 This happens with the Invoice Delivery (Unpaid) email template? The {client_url} tag is generated from the company hostname and the URI to the client interface. The client URI looks correct, it's just that the company hostname is wrong? Does this occur when you send an invoice manually (under the Client profile, check the box next to an invoice and email it to yourself), or does this only happen when the cron sends the email? Quote
0 hostingDifferent-Scott Posted September 11, 2013 Author Report Posted September 11, 2013 I just created another manual invoice and the same happens. It's now having the right host name, but it's still adding the /client/ at the end which does not exist. Any more ideas? Hi Scott,An invoice has been created for your account and is attached to this email in PDF format.Invoice #: 942 If you would like us to automatically charge your card, login to your account at http://my.hostingdifferent.com/client/ to set up auto debit.Pay Now (No login required)If you have any questions about your invoice, please let us know! Scott hostingDifferent billing Quote
0 Tyson Posted September 11, 2013 Report Posted September 11, 2013 I just created another manual invoice and the same happens. It's now having the right host name, but it's still adding the /client/ at the end which does not exist. Is http://my.hostingdifferent.com/client/ not the correct URL? The links appear to work. To me, it looks like the only issue is that the cron does not set the correct hostname when a subdomain is used. Quote
0 hostingDifferent-Scott Posted September 11, 2013 Author Report Posted September 11, 2013 I put in a forwarder from /client/ to my.hostingdifferent.com but I don't want to have to do that as the pay now link (without logging in) doesn't work. I want the url to be my.hostingdifferent.com for clients to log in, not with the /client/ attached. Thanks! Quote
0 Michael Posted September 11, 2013 Report Posted September 11, 2013 is your hostname my.hostingdifferent.com? You may want to re-issue your license if it is. Then go into my.hostingdifferent.com/admin/ Quote
0 Tyson Posted September 11, 2013 Report Posted September 11, 2013 The route to the client interface is set in /config/routes.php I haven't tested whether it will work correctly if you leave it blank, but I imagine so. There may be conflicts if you use the Portal plugin at the same time. Quote
0 Paul Posted September 12, 2013 Report Posted September 12, 2013 Disabling the portal plugin should redirect requests to the root web to /clients/ automatically. Quote
0 Paul Posted September 12, 2013 Report Posted September 12, 2013 I figured it out. Thanks! What was it? Quote
0 Tyson Posted September 12, 2013 Report Posted September 12, 2013 The best answer is for everyone to know the answer! I'm really curious, especially since it seemed like a bug with using subdomains as a hostname. Quote
0 hostingDifferent-Scott Posted September 13, 2013 Author Report Posted September 13, 2013 Sorry, wasn't holding back, just was busy! First, I didn't realize that it was Blesta that was adding the /client/ to the end of the url. That's the same url I installed my old WHMCS configuration and I was fixated that it was getting it from the whmcs import. That was my fault. I first uninstalled the portal module, changed the host url to the main domain, not the sub domain, then changed it back to the sub domain, and reinstalled the portal module. I don't know what it did, but it fixed it. I don't know if it just cleaned up the database entry or corrected the issue after the import from whmcs. Whatever it did, it fixed it and it works and the first payment with Blesta came in today with no hitches. I'll keep whmcs for one more month, just in case, but it looks like I'm fully converted! Paul and Michael 2 Quote
0 Paul Posted September 13, 2013 Report Posted September 13, 2013 Sorry, wasn't holding back, just was busy! First, I didn't realize that it was Blesta that was adding the /client/ to the end of the url. That's the same url I installed my old WHMCS configuration and I was fixated that it was getting it from the whmcs import. That was my fault. I first uninstalled the portal module, changed the host url to the main domain, not the sub domain, then changed it back to the sub domain, and reinstalled the portal module. I don't know what it did, but it fixed it. I don't know if it just cleaned up the database entry or corrected the issue after the import from whmcs. Whatever it did, it fixed it and it works and the first payment with Blesta came in today with no hitches. I'll keep whmcs for one more month, just in case, but it looks like I'm fully converted! Awesome, thanks for the update! Quote
0 hostingDifferent-Scott Posted September 14, 2013 Author Report Posted September 14, 2013 You're welcome! Quote
Question
hostingDifferent-Scott
I imported from whmcs using the beta importer and all of the invoices have old whmcs urls so the payment links don't work. Where can we reset the client url so that all the links are generated correctly?
Thanks!
Scott
22 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.