Hi, folks. I'm new to C# and the .NET framework, so if I've made a stupid mistake that's causing this problem please forgive and bear with me.
I have a simple query that I'm trying to output in a datagrid. The query is executing correctly, the correct number of results is displayed, and the...
Greetings. I'm fairly new to C# and .NET so I'm hoping someone can shed some light on what I'm doing wrong here. I've googled the error message and understand what is causing the problem, I just can't see it in my code. I honestly do not see which object I'm not instantiating that is causing...
Hi, folks. I've recently been set up as an admin on an IIS box and I just created a new site.
nslookup verifies the site exists, but if I ping the domain or IP address I get 100% packet loss.
TCP port is 80, anonymous access to the site is disabled, and ip address and domain restrictions have...
Hi, folks. I'm running into a very strange problem.
I've got the public_html folders of two home directories that I'm using .htaccess to protect. If I access them via any one of our virtual hosts running on this box (www.mydomain.com/~username) they both work fine. However, if I access them...
Hi folks. I'm running to a problem which I can't figure out.
I'm creating a database using the following command:
createdb -U pablo -W pablotest1
I'm prompted to enter the password to create the DB, and after doing so the db is created successfully.
However, when I connect to this database...
Hi folks.
I've been getting a bevy of errors from PostgreSQL recently, most of which make no sense. Well, that is to say that while I understand what the errors are telling me, there seems to be no logicaly reason why they are occurring.
The error message is ALWAYS the one below, which is...
Hi folks. We seem to have a corrupted database, or at least that's what I'm assuming. I noticed some very strange errors on Friday, and noticed some records had been randomly deleted, and then when attempting to dump the database this morning I got the following error...
Hi folks. In switching our site from static html to static html driven by a CMS, I've written a script that trolls our entire site, parses out all links, images, script includes, stylesheets, etc., and uses Pear's HTTP_REQUEST package to make sure the file/document exists.
However, for some...
Hi folks.
I need to get hosting for my website on a host that offers PostgreSQL. I know this is generally a little more expensive than hosting for MySQL, so I'm really going to comparison shop.
Does anyone have any recommendations on a good PostgreSQL hosting company out there, or any...
Hi folks. I'm having a very, very strange problem here.
I've got a query which is generated and executed in a php script. It scans a table of "areas" in a cms, a hierarchical folder structure stored in a table, and returns a list of users with access to any content which exists in the tree...
Hi everyone. I've got a quick question regarding the order of insert statements generated by pg_dump.
Here's my pg_dump statement:
pg_dump -v -D cms -f cms.data.dump
For the most part everything works okay, but it seems to be buggering up some of the relationships when it's doing the dump...
Hi all. I'm relatively new to administering Apache, and I've come up against a problem which is very strange.
I'm running Apache 2.0 on a Dell Precision 340 with RedHat 9.0.
I'm developing a CMS, and for some reason post data is at times getting mangled during the post process.
The example...
Hi all. I’m not sure if this is a browser issue, or a php issue, but while I’m leaning more towards the side of browser I’m not really certain and I’m interested to see if anyone has had problems similar to this.
I’ve got a form by which html code is being submitted to a database. When I submit...
Hi all. As some of you may remember I've been writing a CMS for the university where I work using PostgreSQL and PHP.
I'm at the point where I now need to write some stored procedures to carry out some logic which I'd rather have in the DB than in PHP, but I have some questions before I...
Hi all. I'm using a wysiwyg editor we purchased which has an image uploader, and for some reason whenever I upload images they're getting butchered during the upload.
The strange thing is when I upload the images to the demo version of the editor on the company's website from which we...
Hi all. In a php application I'm writing I'm using php's system() function to execute a shell script.
This shell script takes two variables, an old directory location and a new directory location, and should move the old directory to the new directory.
Here's the script:
#!/bin/bash
#...
Hi all. I recently had to create an online survey for one of our Vice Presidents, and one of the required fields is an alumni id. This is generally a nine digit number, but for older ids it can vary from 4-6 digits.
I need to be able to store older ids with leading zeros, but when I submit an...
Hi all. I'm attempting to use Pear's File_Find package, specifically the File_Find->maptree() method, and I'm running into a strange problem.
I'm trying to get a list of all .htm or .html files in a website, and for some reason it seems to be recognizing only the first 1650 files and when I...
Hi all. I've recently rewritten the course search engine for the university I work for, and now I need to go through the entire website and change specific links.
To do this I thought, easy, I'll just use File_Find() to get an array of ALL the files in the website.
However, when I run the...
Hi all. Quick question about triggers.
Is it possible to set up a trigger such that a specific record in a table NEVER can be deleted?
I'm writing a CMS and I want to set it up such that home pages cannot be deleted.
I guess it would be something like this:
CREATE TRIGGER is_home...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.