Solved

How to debug issue when not throwing errors?

Posted on 2013-01-18
6
236 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
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article discusses four methods for overlaying images in a container on a web page
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn how to dynamically set the form action using jQuery.

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