I'm going to email you the files that are involved in the problem, so you should have them shortly.
In regards to the $timestamp variable and the filename problem, I had looked through the four files involved and it appears that it was declared in doInsert and doUpdate but not otherwise used...
Ok, as I remember from when the hosting company migrated our site there were a slew of problems mostly do to the fact that the original authors had written the site assuming that all variable were global. The much newer version of PHP on the VPS server had that option turned off by default for...
One other thing, I went to delete the dummy record that I had supposedly added and it appears as if that no new record was created since I can't see it in either the content management editor for that table nor browsing through the database in PHPMyAdmin.
Take your time, this has been broken for more than 4 years, nobody's going to flip if it takes a few weeks to get it fixed now that I'm getting a chance to work on it.
Sorry to say it didn't work, this is now the code for that block in the doupdate function:
if(isset($_FILES['upfile']))...
This web site was written way back circa 2000-2001 by some consultants that are no longer in business, it's their own cms not anything like Wordpress, Joomla or Drupal. It uses a number of Php functions and forms to edit / add / delete items from the MySql databases. I've looked through the...
I went over the code you posted and as far as I can see the only thing different is two statements first "ob_end_flush();" at the beginning of the function and then an "exit;" statement in this part of the code:
if (move_uploaded_file($_FILES['upfile']['tmp_name'][$key], $the_file))...
I added all the jLog code into the upload script (which is part of the db.ini.php file), first time around after I uploaded it I got a parse error because I didn't comment out something and I fixed that and reuploaded the file. I'm still having the exact same issue as before i.e. I edit the...
I tried replacing the file handling code as you suggested, the updated upload code is below. I uploaded the new db.inc.php file to the server and tried again to edit a record and upload a couple files. I browsed for the files and selected them and hit the "Submit" button and no error appeared on...
First, thank you for taking the time to help me.
I'm working my way through your suggestions one at a time:
I added the code you indicated into the script "echo '<pre>' . print_r($_FILES, true) . "\n" . print_r($_POST, true) . '</pre>';" and when I try to edit a record and upload two image...
Several years ago we moved our web server from a shared server to a virtual private server, mainly so that we could install a better search engine that we couldn't install on the shared server. The move went fine and the search engine works like a charm. Unfortunately I'm still dealing with a...
I'm sorry to say that my friend was getting a little nervous and not willing to let me work through this. So he's taking the system to BestBuy to let the GeekSquad work on it, against my advice but what can you do.
Thanks to everyone who replied to this thread.
- Chris
I gave that a try but a scan did not find any additional infected files.
Unfortunately I've checked and the DVD that comes with the machine does not have an option to do a repair install of the operating system. Can anyone tell me, how hard is it to get a legitimate DVD copy of the operating...
Thanks so much for the reply.
I tried the startup repair tool but is says that it can't detect a problem. Likewise, chkdsk C: /r does run a disk check on reboot but it doesn't repair the problem.
I tired enabling the hidden administrator account but attempting to login had the same problem as...
Sorry, I accidentally hit submit on that last post before I was finished editing.
I'm not entirely certain that the current problem is even related to a virus problem but may be in fact the infamous "Black Screen" on bootup that's been plaguing windows vista lately. Googling on that has turned...
That may or may not be the case, but according to the virus scanner log these were the files that were detected and removed:
E:\Users\<username>\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\NGTNDXBL\bee[1].png » NSIS » script.nsi - Win32/Adware.PrivacyCenter application...
A friend of mine gave me his notebook computer which runs Vista Home Premium and had apparently been infected by some type of virus / malware.
In this case it appeared to be the "Privacy Center" virus. I was able to take the hard drive out of the notebook and attached it to one of my computers...
Just to close this subject out. I swapped in a Linksys WRT54G in place of the BEFSR81. Needless to say the XP computer started working right away and the Win2K machine continued to work fine.
So go figure, it was the router all along.
Thanks,
- Chris
Gentlemen,
Since this router does have eight ports and only two computers, I have tried switching ports multiple times (noted above in a previous message) and still the same problem.
I didn't have a lot of time to spend this morning to work on this and just ran over to try the switch idea...
Hi Karlis,
Just another piece of information, I really must apologize as I was exhausted when I wrote the original post and left some relevant information out. (I'm swinging by my friends house this morning on the way to another job to try the switch)
In my initial try's to figure out what was...
That's a really good idea and I happen to have a spare Linksys SD208 eight port switch which I can take over there to test. So I'll give it a try and let you know what happen.
Thanks,
- Chris
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.