Solved

Vtiger 5.4 portal url error

Posted on 2014-01-16
6
318 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

752 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