troubleshooting

Apache/Tomcat error - wrong pages being delivered

This error has been driving me nuts. We have a server running Apache and Tomcat, serving multiple different sites. Normally the server runs fine, but sometimes an error happens where people are served the wrong page - the page that somebody else requested! Clues: The pages being delivered are those that another user requested recentl...

How to remove a Run Script phase from Xcode

I tried this step: Select the menu options "Project > New Build Phase > New Run Script Build Phase", and enter the following script (don't forget to replace /Users/youruser/bin by the correct path to gen_entitlements.py) : export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate if [ "${PL...

What's a good tool/method to find which files on disk have been changed after a program has been run?

I'm experiencing a strange issue where my Visual Studio 2005 C++ program crashes the first time it runs after a new build. I'm having a difficult time debugging this intermittent issue and I suspect it's somehow related to a file somewhere on my hard drive that is being changed. If I can find the file(s), that might provide some more i...

Image Manipulation in CodeIgniter

I am having some trouble manipulating images using CodeIgniter 1.7. With the following code, the image is uploaded correctly, but, instead of a new image being made and then modified, the existing image is modified. Any help? //Upload image first $config['upload_path'] = './uploads/'; $config['allowed_types'] = 'gif|jpg|png|bmp'; $th...

Direct3D over Remote Desktop

How can I get Direct3D to work over a Remote Desktop connection? I am using Windows XP Professional. ...

Preventing AJAX memory leaks.

I am working on a web application that is designed to display a bunch of data that is updated periodically with AJAX. The general usage scenario would be that a user would leave it open all day and take a glance at it now and then. I am encountering a problem where the browsers memory footprint is growing slowly over time. This is h...

Troubleshooting user issues - techniques?

This is a pretty general question - but what are some of your strategies / procedures for troubleshooting issues that users find? Specifically, I'm talking about web based programming - a combination of PHP, mySQL, Javascript (Ajax). We're running an ecommerce platform and we've done successful test transactions on all major browsers. ...

Tracd creating Environment

I was trying to create a Tracd Environment using the following command : trac-admin D:\My_Project initenv I get an error saying Import Error : No module named pkg_resources What am I missing? I have installed Genshi and Python 2.5.2 Thanks... ...

SSH hangs on Mac Book Pro; AFS and Network Preferences?

I am having an issue with SSH hanging on my Mac Book Pro. This only happens to me once I get home from work after I have used SSH while at work. The three factors I have narrowed the issue down to are SSH, our work AFS network drive and the method of network connectivity. At work we use an AFS drive with Kerberos Authentication to do al...

Full-height CSS layout, with multiple columns

I have a layout that is working, but it has one very annoying problem.. when the content is taller than the screen, the background stops. This is the desired layout in bad-ASCII-art format: _____________________ _ | | long |logo| | | | content | | | | | | | | | | | | | |grad| |gr...

Find cause of Redirect in ASP.NET?

I'm trying to put in an exception in my web.config so that one page does not require authentication. However, it still redirects to the login page. The question isn't how to setup the web.config. Why? Our system (for better or worse) has a bunch of instrumentation besides the web.config. We have global.asax and custom HttpHandlers. ...

Apache serves blank page

Hi I have created one sample php script to upload excel sheets of very bigger sizes. Also the process happening with each records given in the excel sheets is bit complex. To allow bigger sizes, I have added necessary php ini values in the apache configuration file to override the actual php ini values. The problem is, once i upload th...

How to fix Apache instability ?

I have configured a simple LAMP stack on Debian and I am experiencing some problems with the Apache web server. Each 3-4 hours the web server is entering a deadlock and all the requests that hit the database block. The server is creating a new child for each request. The number of processes increases very quickly. After a few seconds M...

unexpected margin with very simple html

I have a very simple html. The red div is inside the blue div and has a 10 px top margin. On non-ie browsers, the blue box is 10 px apart from the top of viewport and the red div is at the very top of the blue div. What I expect is the ie behavior: red div must be 10 px apart from the top of the blue div. Why does non-ie browsers render ...

The ';' character, hexadecimal value 0x3B, cannot be included in a name.

I have seen the error "The ';' character, hexadecimal value 0x3B, cannot be included in a name." in my log files for an ASP.NET Web App. The url that's logged looks something like this: mypage.aspx?paramone=one+two&paramtwo=zero+1 So my first question is what type of system/browser is encoding the original query string? (This happ...

MRU list in Visual studio is missing

A couple of months ago, the MRU list in Visual Studio stopped working. Neither the File menu or the start page shows any recently opened projects or solutions. I honestly have no clue what I did to cause this, but perhaps someone who knows more about the murky depths of VS might be able to hazard a guess at what caused it to disappear, ...

ASP.NET application exhibits strange behaviour through firewall

This problem has been solved thanks to your suggestions. See the bottom for details. Thanks very much for your help! Our ASP.NET website is accessed from several specific and highly secure international locations. It has been operating fine, but we have added another client location which is exhibiting very strange behaviour. In partic...

Troubleshooting "program does not contain a static 'Main' method" when it clearly does...?

My MS Visual C# program was compiling and running just fine. I close MS Visual C# to go off and do other things in life. I reopen it and (before doing anything else) go to "Publish" my program and get the following error message: "Program C:\myprogram.exe does not contain a static 'Main' method suitable for an entry point" Huh? Yes i...

What do the values in tload mean?

The server I'm trying to maintain is sassing me. Among other things, I ran tload. This probably provides helpful information to someone who knows how to read this data. I do not. It says: 1.36, 1.12, 0.59 ------------- What should I glean from this? This is our home-grown stat server, it gets a crap-ton of requests, and runs logr...

What are some techniques for troubleshooting very intermittent Access Violation on a Windows Mobile Device?

I have a large Compact Frameworks V2.0 application that in most cases works very well. On certain devices about once a day, a user receives a Native Error 0xC0000005 that is not caught with the standard managed Try/Catch block. My application synchronizes with the server via ASMX calls at fixed intervals. The problem appears to occu...