Jump to content


Photo

File saving stuff?


  • Please log in to reply
16 replies to this topic

#1 Twirp

Twirp

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 15 December 2005 - 05:53 PM

I like that Uniform Server can be stored on my USB stick,
but I wanted to use a script that would edit files via the browser and the only problem is that when I stop Uniform server, the changes aren't saved on the stick.
Does that mean I'll have to copy the www directory back to the USB stick prior to stopping the server? (and the MySQL tables/anything else that is being changed?)

I was wondering if there was a way around this, or something...
Thankyou for your time.

#2 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 15 December 2005 - 07:51 PM

If your server is on the USB stick and you are running that installation, whatever changes you make to the files/database are stored on that server/installation.

You dont need to do anything unless you are doing something wrong.... Check the script you are using that it is also saving the files....

#3 Twirp

Twirp

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 15 December 2005 - 09:06 PM

If your server is on the USB stick and you are running that installation, whatever changes you make to the files/database are stored on that server/installation.

You dont need to do anything unless you are doing something wrong.... Check the script you are using that it is also saving the files....

View Post

Well, it's modified mounted thing (the w:/www/ directory)
but when I close it w:/ is unmounted, none of the modified files are stored on the USB stick.
The files are there (I can type http://127.0.0.1/page.php and see it)
but when I shut down, and go to K:\Server\diskw\www the file isn't there.

#4 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 15 December 2005 - 09:40 PM

Umm you are confusing me...

When you start the server with Start.bat, it creates a W:/ drive. The W:/ drive is a SUBST drive of the main and real drive the server is really on so whatever you edit and save on the W:/ drive is also being saved on the real drive....

If you have a W:/www/file.php, then you should have a /path/to/server/diskw/www/file.php file also.... If you dont, then something is wrong.... you might be working on another server... and not the main Uniform Server installation...

What are you using to edit the pages? Is this a CMS?

#5 joomlaturk

joomlaturk

    Newbie

  • Member
  • Pip
  • 6 posts

Posted 21 December 2005 - 04:07 AM

I guess he might have another uniform server running on hard disk
when he saves files, saved files goes to US in hard disk not to USB stick

before I run my US from USB2 stick
I shut down any apache.exe and mysql.exe from winxp

#6 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 21 December 2005 - 04:09 AM

Thats what i am guessing also... either that or he has another server running... IIS or another Apache... and he is working on that one and not Uniform Server itself...

#7 Twirp

Twirp

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 25 December 2005 - 11:46 AM

I unplugged the USB stick, and then restarted the computer, reinserted the stick, and it started to work. :D
I don't know what went wrong the first time...
Sorry for all the confusion

#8 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 26 December 2005 - 12:45 AM

No problem :D

#9 alfblack

alfblack

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 07 February 2006 - 05:28 AM

Just a quick guess. (wild shot).

Might be the a write caching thing. Donno.

#10 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 08 February 2006 - 08:41 AM

Is that on Windows or the server?

#11 MrOnline

MrOnline

    Beta Team Member

  • Beta Tester
  • Pip
  • 16 posts

Posted 09 February 2006 - 06:32 AM

I've also heard, but never experianced, that windows 2000 and above will sometimes load a usb device as read only until you try to save a file to it. This gives the apearance of windows fully loading the device faster...

Again, I've only heard about this.

#12 Falc

Falc

    Support Team Member

  • Support Team
  • Pip
  • 19 posts
  • Gender:Male
  • Location:England, UK
  • Interests:I like to play a lot of video games especially Sonic The Hedgehog and lots of games made by SEGA.

    I learn programming in my free time for no more of a reason then a hobby.

    I spend lots of my money on games or computers - usually one or the other.

    My favourite music is VGM and Rock - I like Mew, Manic Street Preachers and Feeder to name a few.

    I also like a lot of actions films, though I don't like horror. Some of my favourite movies include The Shawshank Redemption, Die Hard, Kill Bill vol1/2, The Green Mile, Matrix.

    That's it for now, you might get more later.
  • SourceForge IDfalconhedgehog
  • Wiki ID: falconhedgehog
  • IRC Nickname: Falc
  • Main OS: Windows 8

Posted 10 February 2006 - 06:49 PM

Pehaps a third party program was interfering.

Port 80 isn't a rare port, so it could be that.
A few times with unbranded USB sticks I have used. I get what I call "Bad mounts" where I will insert a USB stick and it will mount and appear to work. However, nothing can be done with it, not even read, it just appears too. I haven't had this problem with "branded" USB drives such as crucial or PNY, so it might be the sticks.

I haven't tried much with USB sticks with Linux, so I haven't had the problem with it. But I do get it on Windows XP and 2000.

Known Languages:
adv-XHTML, int-PHP, int-SQL, int-CSS, beg-Python

Currently reading: Take off in Japanese, How to play popular piano in 10 easy lessons, The Magicians' Guild
Currently learning: Python, Piano, Japanese
Current project: Relaxing
Currently playing: FalcHedgehog.gif


#13 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 13 February 2006 - 09:07 AM

For MrOnline: that onely happens when you login as Guest or with a limited account.

For Falc: I don't think something was blocking the port. If it was, the server won't start, talk less save on it.

#14 Falc

Falc

    Support Team Member

  • Support Team
  • Pip
  • 19 posts
  • Gender:Male
  • Location:England, UK
  • Interests:I like to play a lot of video games especially Sonic The Hedgehog and lots of games made by SEGA.

    I learn programming in my free time for no more of a reason then a hobby.

    I spend lots of my money on games or computers - usually one or the other.

    My favourite music is VGM and Rock - I like Mew, Manic Street Preachers and Feeder to name a few.

    I also like a lot of actions films, though I don't like horror. Some of my favourite movies include The Shawshank Redemption, Die Hard, Kill Bill vol1/2, The Green Mile, Matrix.

    That's it for now, you might get more later.
  • SourceForge IDfalconhedgehog
  • Wiki ID: falconhedgehog
  • IRC Nickname: Falc
  • Main OS: Windows 8

Posted 16 February 2006 - 01:49 PM

I did some research today using a Windows 98 machine and a USB memory device.

On this machine for some bizzare reason plugging the USB stick (with Uniform Server "installed") Uniform Server won't run.

Unplugging it and plugging it back in makes it work.

I'm gonna look into it again later, I don't know why it does this.

Known Languages:
adv-XHTML, int-PHP, int-SQL, int-CSS, beg-Python

Currently reading: Take off in Japanese, How to play popular piano in 10 easy lessons, The Magicians' Guild
Currently learning: Python, Piano, Japanese
Current project: Relaxing
Currently playing: FalcHedgehog.gif


#15 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 17 February 2006 - 08:40 AM

Win98 = Old & Outdated

#16 Falc

Falc

    Support Team Member

  • Support Team
  • Pip
  • 19 posts
  • Gender:Male
  • Location:England, UK
  • Interests:I like to play a lot of video games especially Sonic The Hedgehog and lots of games made by SEGA.

    I learn programming in my free time for no more of a reason then a hobby.

    I spend lots of my money on games or computers - usually one or the other.

    My favourite music is VGM and Rock - I like Mew, Manic Street Preachers and Feeder to name a few.

    I also like a lot of actions films, though I don't like horror. Some of my favourite movies include The Shawshank Redemption, Die Hard, Kill Bill vol1/2, The Green Mile, Matrix.

    That's it for now, you might get more later.
  • SourceForge IDfalconhedgehog
  • Wiki ID: falconhedgehog
  • IRC Nickname: Falc
  • Main OS: Windows 8

Posted 17 February 2006 - 10:54 AM

Hehe. I suppose so but I think I should help users who do not have Windows XP yet.... :)

Anyway, I took a look at it this morning and I installed the official USDrivers from the ASUS website (seing as the motherboard is an ASUS) and I haven't been able to reproduce the error. So I kinda found and fixed a problem now.

Known Languages:
adv-XHTML, int-PHP, int-SQL, int-CSS, beg-Python

Currently reading: Take off in Japanese, How to play popular piano in 10 easy lessons, The Magicians' Guild
Currently learning: Python, Piano, Japanese
Current project: Relaxing
Currently playing: FalcHedgehog.gif


#17 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 10

Posted 02 March 2006 - 09:18 AM

:)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users