Solved

How to debug issue when not throwing errors?

Posted on 2013-01-18
6
245 Views
Last Modified: 2013-11-19
HI All,
I have a page that was working as designed. Someone added some code (but I have no idea what was added) and now a simple image link (a href)  does not work? When I click on it it doesn't throw any errors, it just does not work. How would I go about debugging this?

Thanks!
0
Comment
Question by:894359
[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
6 Comments
 
LVL 25

Expert Comment

by:Kyle Hamilton
ID: 38795453
post a link to the page.
0
 
LVL 18

Assisted Solution

by:Jerry Miller
Jerry Miller earned 167 total points
ID: 38795500
There are no backups of the page to determine the new code? You should always have backups of the current production code. Also keep the development code separate until it rolls into production.

Can you add a new link that works or do none of the links work on the page? A link to the page would be nice, but any code that you can show is better. Please remove any proprietary information before posting.
0
 
LVL 11

Assisted Solution

by:mcnute
mcnute earned 333 total points
ID: 38797016
Well, maybe the code that was added replaced the image tag which looked like this:

<img src="some_image_src_path/image.jpg" alt="" onclick="dosomething()"  />

Open in new window


and turned it into something like this:

<img src="some_image_src_path/image.jpg" alt=""  />

Open in new window


if the onclick has been removed nothing will happen on click. Just a guess.
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

Author Comment

by:894359
ID: 38799933
Sorry for late response. The code was rolled back to the working version and the broken code is in a dev. env. which nobody here can access. The code wasn't changed for the link but code via a Tag Management system was injected which caused the issue. Not sure how to pin point the issue? Thoughts?
0
 
LVL 11

Accepted Solution

by:
mcnute earned 333 total points
ID: 38800612
Can't you send us a sample of the code? This would help enormously.
0
 

Author Closing Comment

by:894359
ID: 39240153
Thanks for all the help. I understand this was difficult due to no code sample.
0

Featured Post

Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Question has a verified solution.

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

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

617 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