Solved

How to debug issue when not throwing errors?

Posted on 2013-01-18
6
243 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
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 

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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

738 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