...making Linux just a little more fun!
[j.bakshi at icmail.net]
Thu, 11 Jan 2007 21:23:47 -0800
I am facing a really critical problem since last one weak. My server is running XAMPP for linux. Now the users are accessing the server and doing their project work using dreamweaver from win PC.
but frequently they see the message "This file has been modified outside of Dreamweaver. Do you want to reload it"
I am 100% confirm that there is no one elese who is working on a particular file. if they accept yes all their modification has been lost. Is there any problem in the Linux server or Xampp ?
has any one experienced such a problem ? please suggest. thanks.
Benjamin A. Okopnik [ben at linuxgazette.net]
Fri, 12 Jan 2007 00:53:10 -0500
On Thu, Jan 11, 2007 at 09:23:47PM -0800, firstname.lastname@example.org wrote:
> Dear list, > > I am facing a really critical problem since last one weak. > My server is running XAMPP for linux. > Now the users are accessing the server and doing their > project work using dreamweaver from win PC. > > but frequently they see the message "This file has been > modified outside of Dreamweaver. Do you want to reload it" > > I am 100% confirm that there is no one elese who is working > on a particular file. if they accept yes all their > modification has been lost.
What does this have to do with Linux?
Let's recap what is happening. One of your users uses a Wind0ws application, "Dreamweaver", to "open" (really to download and edit a temporary copy) a file from your server. That is, some fraction of a second after they click "Edit", your server is out of the loop: once it sends that file, it doesn't have anything to do with your user.
So, that user - on that Wind0ws machine, and using a Wind0ws app - opens a temporary file somewhere in the Wind0ws filesystem. Some time later, the Wind0ws application pops up a Wind0ws dialog about a modified file.
Perhaps Linux is at fault because it's in the same building?
-- * Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *
Rick Moen [rick at linuxmafia.com]
Thu, 11 Jan 2007 22:02:24 -0800
Quoting email@example.com (firstname.lastname@example.org):
> My server is running XAMPP for linux.
Just for clarification's sake, XAMPP is not a single thing in itself, but rather a preconfigured bundle of Apache httpd, MySQL, PHP, Perl, ProFTPd, OpenSSL, gdbm, SQLite, gettext, mcrypt, Freetype2, IMAP C-Client, phpMyAdmin, and a bunch of support libs.
> Now the users are accessing the server and doing their > project work using dreamweaver from win PC. > > but frequently they see the message "This file has been > modified outside of Dreamweaver. Do you want to reload it"
Well, use basic troubleshooting to try to determine what's going on. Use the Dreamweaver client to check in a file. Figure out where it's getting stored. If it's being stored in a MySQL table (which would be odd, but conceivable), you'll need to hunt it down there, and check the values in that record. If it's a regular file (which seems a lot more likely), take note of its size and modification time stamp -- and you might want to just make a copy of it in /tmp or somewhere.
Now, attempt to replicate the problem: Modify your local workstation copy in Dreamweaver, then try to check it in. Does Dreamweaver now claim that the server's copy has been modified? If so, has it been modified? What modifications?
If Dreamweaver claims the server-end copy has been modified, and yet you verify that it hasn't, then you have a Dreamweaver problem and need to concentrate on that. If Dreamweaver doesn't claim that the server-end copy's changed, then you haven't yet relicated the symptom, and need to keep trying until you figure out how. (Problems whose symptoms you cannot replicate are difficult to solve, as you cannot observe them.)
If Dreamweaver claims the server-end file's changed, and you confirm that it's changed, now you need to study your server setup -- and the nature of the changes made, when they were made, etc. -- to figure out what's changing the file, and why.
See? It's not magic. I didn't need to know anything in particular about the XAMPP bundle, to give you that analysis. It's just basic everyday troubleshooting: Break large problems into a series of smaller problems, identify suspects, eliminate variables, stop periodically to assess what you know and what you don't, carefully introduce changes to the test scenario to observe what results, that sort of thing.
> has any one experienced such a problem ?
When you ask questions about highly specialised configurations, it's really, really unlikely that anyone's experienced the same problem, because it's highly unlikely anyone's running the same environment.
E.g, I have plenty of experience with Apache httpd, MySQL, PHP, Perl, and phpMyAdmin -- but zero experience with Dreamweaver and zero with the megabundle you're wrestling with. Others here probably are in a similar situation. So, my point is: You're not asking a very useful question when you ask, in effect, is there anyone here who's running the very same thing I am and has encountered this exact same problem? You're extremely likely to get null answers, which means your question was a waste of your and others' time.
-- Cheers, "Transported to a surreal landscape, a young girl kills the first Rick Moen woman she meets, and then teams up with three complete strangers email@example.com to kill again." -- Rick Polito's That TV Guy column, describing the movie _The Wizard of Oz_