Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

How to debug issue when not throwing errors?

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
894359
Asked:
894359
3 Solutions
 
Kyle HamiltonData ScientistCommented:
post a link to the page.
0
 
Jerry MillerCommented:
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
 
mcnuteCommented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
894359Author Commented:
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
 
mcnuteCommented:
Can't you send us a sample of the code? This would help enormously.
0
 
894359Author Commented:
Thanks for all the help. I understand this was difficult due to no code sample.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now