broken

How do I check for valid (not dead) links programatically using PHP?

Given a list of urls, I would like to check that each url: Returns a 200 OK status code Returns a response within X amount of time The end goal is a system that is capable of flagging urls as potentially broken so that an administrator can review them. The script will be written in PHP and will most likely run on a daily basis via c...

Why doesn't my site work in IE6 or IE7?

For some reason my site http://tom.hsc.be displays a "Cannot display this message" error in those browsers while working correctly in Firefox, Opera, Safari and IE8. It looks like this: http://www.reviewsaurus.com/images/pagedisplay.png This document was successfully checked as XHTML 1.0 Transitional! Found the problem: Was using the...

How to enable C1E on AMD Athlon X2 QL?

I have laptop with probably broken BIOS. C1E is not enabled and with Linux I get poor batery life (1-1,5h). C1E is not enabled because content of MSRC001_0055 is 0. I could rewrite it, but I don't know IoAddres value. So request for anyone with working C1E on AMD laptop, could you provide your content of MSRC001_0055? http://www.amd.com...

How do I fix a broken regsvr32 that crashes?

I dont know what happend but I cant register any dlls anymore. It seems like regsvr32 or some dependent dll:s have been broken (I dont think its a virus-thing, but of course you can never know). I regulary register dlls to communicate with different hardware and today I dont have the time to make a cleen install of my computer. So, do y...

UITextField will not auto capitalize throughout entire project.

For some reason, none of my UITextFields will autocapitalize. I have set the property in InterfaceBuilder as well as programatically as shown below. cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"search_cell"]; UITextField *tf = [[UITextField alloc] initWithFrame:CGRectMake(12, 10, 320, 32)];...

C# MessageBox doesn't display the whole string of text anymore

I am trying to display a simple message, which I have done probably thousands of times in the past, and NOW... The full string of text is NOT being displayed in the MessageBox. I'm not doing anything differently, so I don't see the problem. Here's my code: if (MessageBox.Show("The text in this file has changed. Do you want to save chang...

Detecting utf8 broken characters in MySQL

I've got a database with a bunch of broken utf8 characters scattered across several tables. The list of characters isn't very extensive AFAIK (áéíúóÁÉÍÓÚÑñ) Fixing a given table is very straightforward update orderItem set itemName=replace(itemName,'á','á'); But I can't get a way of detecting the broken characters. If I do something...

Ways to prevent broken pipe?

ClientAbortException: java.net.SocketException: Broken pipe If I am wright, this happens when user aborts current operation or makes another request, before the last one is finished. Can this reflects on browsing user or is this (always) just a Catalinas exception? Are there any ways to avoid this exception? ...

Publish files/artifacts for failed/broken build in Hudson?

Hi, I'd like to publish certain files for each build regardless of success/failure. In my case I want to publish a report generated from a JUnit RunListener implementation we've implemented, however I would also find it useful to publish additional log files, and any other specific files I am interested in. I know TeamCity does this ou...

SSRS Broken Embedded Image

I have a SQL Server Reporting Services report with an embedded image in the header. It works fine in preview mode and if I inspect the RDL file, it has the encoded image stream in there. However, when I deploy the report to the server and view the report in the Report Manager, the image shows with a broken X icon. Has anyone experience...

SO how to make MAC recognize linux BASH?

Script runs fine in Solaris and Linux just not on the crippled MAC -- thus no build environment #!/bin/bash var0=1 LIMIT=60 mkdir Application cd Application while [ "$var0" -lt "$LIMIT" ] do mkdir "$var0"; cd $var0; for i in $(seq 1 8192); do mkdir "${i}"; cd "$i"; dd if=/dev/urandom of=a bs=4096 count=1 > /dev/...

MySQL ORDER BY returns things in (apparently) random order !?

The following query: SELECT DISTINCT ClassName FROM SiteTree ORDER BY ClassName is returning things in no apparent order! I get the same result whether I quote column/table names, or use DISTINCT or not, or add ASC or DESC. I assumed the indexes might be broken, or something like this, so tried dropping and recreating. Also tried RE...

Detect broken links in Codeigniter

Do you know any script to detect broken links in a site developed in codeigniter (with url rewriting)? Thank you ...

Fixing lots of broken references in a working asp.net mvc project

The last time I worked on this project everything was fine. That was about 4 days ago. Now, when I open the project, all the references to .Net are not working, I cannot build my project any more. I have tried following the advice in posts here, but to no avail. Even simple things, like Request.cookies - Request is underlined in curli...

VS 2010 breaks my keydown events

I have a custom control, a groupbox, which reacts on key events on a assigned key. It is possible to remove this groupbox, as well as adding more dynamically. Havnt been any trouble in VS 2008 so far. Two days ago i installed VS 2010. And i started to get multiple event fireing, and removing a groupbox did not remove the specific key ev...

IMG tag does not display after INPUT tag

Given the html fragment <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Test JQuery AppendTo</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2...

Send behavior on Broken pipe

While writing a simple server-client application, this question came in my mind. When someone tries to write to a broken pipe, a SIGPIPE would be generated. Let's say I handle the signal in my code. Now what error does the write call returns - EPIPE or EINTR ( as it was interrupted by a signal). I tried with a sample program and I seem ...

Dependent Non-Type Template Parameters

Consider the following class: class Foo { enum Flags {Bar, Baz, Bax}; template<Flags, class = void> struct Internal; template<class unused> struct Internal<Bar, unused> {/* ... */}; template<class unused> struct Internal<Baz, unused> {/* ... */}; template<class unused> struct Internal<Bax, unused> {/* ... */}; }; The class...

Autoconf Produces configure with Broken Functions (ac_fn_set_status, ac_fn_exit)

I'm trying to set up autoconf for my project. I have everything working "properly" except that the ac_set_<...> functions are not being found in ./configure. They work fine in configure.status if I run it directly. Specifically, I am having trouble with as_fn_set_status and as_fn_exit. If I manually edit the config file and move the ...

Need help fixing expensive website template

Hello All, I bought this website template from dreamtemplate and the copyright text displays on the center of the page ontop of the main body content! I had not changed any code at all. It was like that when I extracted the files. I looked at the code and couldn't find anything wrong, but I guess that doesn't say much since I had to buy...