I have an events table with a class field that I need to search. The class field contains a comma-delimited list of all the grade levels involved in event. For instance, if the event included just high schoolers it would be "12,11,10,9", or if it was even-numbered grades it would be...
I'm trying to write a PHP script for encrypting data and saving it to a MySQL database. I've tested the script, and it can encrypt and decrypt just fine. However, when I actually try to post the data to the database, much of it gets truncated.
The SQL query that gets posted:
INSERT INTO...
A little background: I work for a small not-for-profit organization. We have a PostgreSQL server containing all of our client information dating back to 2001. I've been asked to do some data mining. The problem is that I'm getting weird results.
Note: "tbclients" is the table containing...
I'm trying to set up a new computer to use an HP printer (LaserJet 4250) we've got networked via a JetDirect 170x external. The problem is that for whatever reason, this particular computer cannot see the JetDirect. It can't find it on Network Neighborhood, and can't ping the IP address. It...
I've been having the hardest time trying to install a network printer on this WinME computer. When I run the install program it keeps giving me this error:
Msiexec has caused an error in KERNEL32.DLL.
Msiexec will now close.
I've tried everything I can think of short of a complete Windows...
I've got a very frustrating problem here. I've got one XP Home system on our network with mostly Win98 systems and one Linux machine. The XP machine is able to browse the network and see others' shared directories just fine. However, other computers are not able to browse the XP computer's...
It seems that POSTing information from a form to another page only works intermittently. Sometimes it works and sometimes it doesn't. Here's some example code:
The intake page (posttest.ccs1):
<html>
<head>
<title>Test of POST</title>
</head>
<body bgcolor='#000088'><form...
I've got a RedHat 7.2 system here which has crashed several times in the past month. It appears that the crashes happen when the backup scripts (cron-ed bash scripts which tar different parts of the file system to another computer on the network. Occasionally, this will cause the system to be...
I am trying to execute an external command on my Linux (RedHat 7.2) machine through PHP. Unfortunately, it doesn't seem to be working.
Here is my web page's source code:
<?php $cmd = "ls /home/myhome > /home/dgable/ls_results.txt";
$results = shell_exec($cmd);
?>
<html>...
Our server (RedHat Linux 7.2) went down yesterday, and I've been trying to get it back up and running. Right now, Samba is driving me bonkers. I can ping the server via IP address, but not by name. According to the troubleshooting guide (http://us1.samba.org/samba/ftp/docs/Samba24Hc13.pdf)...
OK, I've got one report which keeps choking on me. I can preview it, though it goes through several queries and it takes a while. However, when I try to print it, I get the following message:
There was an error writing to HP_5A3F23_IP for the printer (HP LaserJet 2100 Series): The network...
I've got a setup on this computer where I have a DSL internet connection through the LAN, but I also have a dial-up connection set-up, which I still need for some software. Unfortunately, this computer now seems to be insisting that I use the dial-up for normal internet use. When I go into...
I'm having trouble logging in graphically with any user other than root. When I try to use another account, say "guest", the screen cuts out for a second, then I get the log-in screen back. These are valid user accounts, and in a terminal window I can su to these accounts with no...
I just did a destructive re-install of RedHat 7.2 (due to an issue with the partition configuration). I'm trying to get Samba up and running again, and I've almost succeeded except for one issue. I can view all the Windows machines on the network and access them just fine from the Linux...
Somehow, our Linux server was turned off this morning. When we restarted it, XServer wouldn't start. I can still get a terminal screen, but when I try to start postgres I get the following:
bash-2.05$ postmaster -D /usr/local/pgsql/data -i -p 5432
FATAL 1: Can't write lock file...
Is there a way to change which column in a table is the primary key without destroying and recreating the table? I just ran into this issue today and after much searching I resorted to that method (of course I also stored the data in a temp table), but naturally I'm wary of doing that with live...
I've gotten the following:
db=# select count(*) from table1 where field1 in (select field2 from table2);
count
-------
175
(1 row)
db=# select count(*) from table1 where field1 not in (select field2 from table2);
count
-------
0
(1 row)
db=# select count(*) from table1;
count...
I just got back from the weekend, and found out that someone had turned off our Linux database server without properly shutting it down. PostgreSQL was running at the time. When we restarted Postgres this morning, we got the following on the terminal screen:
DEBUG: database system was...
Two days ago, one of our computers went on the blink. After about a minute, it would totally stop responding or even sending a picture to the monitor. It stopped doing this when we replaced the memory. Problem fixed, or so we thought. This morning the same problem has popped up. I'm...
I've created a standard "find" button on my form. It works, but very slowly, too slowly to be useful. It works fine on the ID# (primary key), but not on the lastname field, even though it's indexed. The underlying code is as follows:
Screen.PreviousControl.SetFocus
DoCmd.DoMenuItem...
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.