Solved

Vtiger 5.4 portal url error

Posted on 2014-01-16
6
303 Views
Last Modified: 2014-01-24
When we update our ticket status in vtiger, our users automatically get an e-mail saying their ticket has been updated. In the e-mail they receive they can click on a link that leads them to the portal website. When they click on this link it gives them a "The webpage cannot be found" error. This link used to work in the past, now for some unknown reason it doesn't anymore. The portal itself still works when browsing to it manually.

Some of the things we've noticed:

When clicking on the link we sometimes get https://websiteurl/PORTAL/INDEX.PHP and sometimes https://websiteurl/PORTAL/INDEX.PHP?MODULE=HELPDESK&ACTION=INDEX&TICKETID=1253&FUN=DETAIL in our browser with a "The webpage cannot be found" error" error.

Our webportal url is https://websiteurl/PORTAL/login.php, which works when surfing to it manually.

How can we fix this? Thanks!
0
Comment
Question by:ICTSYSTEMS
  • 3
  • 3
6 Comments
 
LVL 11

Assisted Solution

by:jausions
jausions earned 500 total points
ID: 39786795
Is the all CAPS normal, especially for the "INDEX.PHP" part?
Check your web server logs for the call that generates the "not found" response.
Is it a web server "Not found" (HTTP error 404), or an application error (i.e. "module HELPDESK" not found", with a HTTP 200 normal response code)?
0
 
LVL 1

Author Comment

by:ICTSYSTEMS
ID: 39787955
It's a error 404. We're checking the logs now. Might also want to add to my story that we use  URL rewrite in IIS7 on SBS 2011.

404 error while accessing the portal website from the link in a ticket e-mail.
0
 
LVL 11

Expert Comment

by:jausions
ID: 39788141
I would suggest you also use a HTTP header sniffer such as HTTPLiveHeaders add-on for Firefox, you will be able to spot redirect much more easily and most certainly give you the information that will lead to the resolution of your issue.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Accepted Solution

by:
ICTSYSTEMS earned 0 total points
ID: 39788746
So suddenly we noticed there were 2 "//" in the URL before the index.php part when copying the URL link from outlook into notepad. When you clicked on the link the browsers always removed the extra "/"

We adjusted the HelpDeskHandler.php file located in /var/www/html/vtigercrm/modules/HelpDesk/.

At line 31 you have ".$PORTAL_URL."/index.php?module=HelpDesk&action=index&ticketid. We removed the "/" there.

But that's not all, we also had to make HelpDesk lowercase to helpdesk.

Very strange how something like that suddenly stopped working.
0
 
LVL 11

Expert Comment

by:jausions
ID: 39789203
Sometimes problems go unnoticed for a while, then between the time the typo was made and the time it's addressed some changes on the system could have occurred (new software version, server migration, configuration modifications, ...)

To me, the all caps you provided was already a red flag, so I'm not entirely surprised you had to modify that.
0
 
LVL 1

Author Closing Comment

by:ICTSYSTEMS
ID: 39806076
Found the problem by the hint jausions gave with the mentioning of CAPS.
0

Featured Post

Easy Project Management (No User Manual Required)

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now