Any successful install on Win 98 what about Win NT

Jayeth33

Joined: 2002-08-17
Posts: 7
Posted: Sat, 2002-08-17 19:45

Has anyone ever done a successfull install on win98? I currently have it as my OS and have Apachee and PHP installed. It loads ok, but when i go to log in, i get the error

Error: Could not acquire lock (C:/Program Files/PHP Home Edition 2/www/gallery/albums/.users/userdb.dat.lock)!

I know that it has to do with the permissions for the file that it is trying to lock, but i can figure out how to change any sort of file permissions to fix it as i am not on Unix based system.

Also, I have a copy of WinNT 4.0 workstation that i could install on this box, but dont really wnat to go through that process if i can stay on Win 98

Jaye Howell
<!-- BBCode Start --><A HREF="http://www.tophotos.com" TARGET="_blank">Time-Out Photos</A><!-- BBCode End -->

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2002-08-17 20:57

Hi!

Since it's not supported (Win98 that is), I guess you're a bit on your own there... But, there is NO may so set permissions for file access in Windows 98, thats a FAT filesystem and does not have ANY security whatsoever....

I don't think your problems relate to file access restrictions, basically since there is none. In NT/2000/XP you can set file specific permission, for user og service access though.

Your problem is probably something else, somewhere along the lines of Gallery not beeing able to access the file at all. I se in your error message, that your first slash in the path is pointing the wrong wai, ie "/" and not "". That MIGHT be your problem, though I'm not sure. I have no experience with setting this up on a Win98 system.

:razz:

 
Jayeth33

Joined: 2002-08-17
Posts: 7
Posted: Mon, 2002-08-19 14:49

Thanks for your help. i followed the correct path and the file is there. I think that you may be correct that it is a slash in the wrong direction,

Thisis happening in the login process. any ideas how to fix the probelm ofthe backwords sslash in gallery. I went back through the stuff and did not see any location that says whre the users are located.

jaye

 
CarpetBagger
CarpetBagger's picture

Joined: 2002-08-09
Posts: 49
Posted: Tue, 2002-08-20 05:20

You might also be experiencing a problem with the way MS does filename translation between Long Filenames and 8.3 names. Try keeping your directory names short (8 or less characters) and see if that resolves the problem.

I've gotten Gallery to work on WinNT and Win2000 machines using the FoxServ from http://www.FoxServ.net (I use it as a module in PostNuke)

 
dmpinto
dmpinto's picture

Joined: 2002-09-02
Posts: 3
Posted: Sun, 2002-09-08 16:14

Jayeth33... you could also turn of FLOCK() in the first page of Gallery setup... this will fix that problem... as FLOCK is an "advanced" feature of gallery... and I am currently in the same situation as you with Win98... hope this helps

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Sun, 2002-09-08 19:52

you can also try changing cmd.exe to command.com in fs_win32.php I believe.
This seemed to work for someone else as I recall.

 
r0b

Joined: 2003-08-02
Posts: 1
Posted: Sat, 2003-08-02 01:34

hello, since Gallery isn't supported on win98 ( first i tried a whole afternoon trying to get past the login before I came to the forum and found out its not really supported)

can anyone recommend an free open source similarly php/mysql based alternative to Gallery? (that will run on Apache on Win98 of course) :lol:

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Sat, 2003-08-02 06:59