
leeshields
User
Aug 21, 2003, 5:10 AM
Post #8 of 50
(30401 views)
Shortcut
|
You're enjoying the bit I spent ages with I think the problem is that RM creates a filelock to prevent database corruption or something like that Favourites also uses one with the same name, i think it conflicts I opened up the favourites.cgi file, and changed the filelock names, as here:- my %FavListingDB = ( "datafile" => "fav-listing.dat", "filelock" => "filelockfav.lock", "fields" => [qw(num usernum type id name url listdata1 listdata2 listdata3 listdata4 listdata5)], "backup" => "disabled", "cgiext" => ".cgi" ); my %FavUserDB = ( "datafile" => "fav-users.dat", "filelock" => "filelockfav.lock", "fields" => [qw(num cookie_id created accessed expires userdata1 userdata2 userdata3 userdata4 userdata5)], "backup" => "disabled", "cgiext" => ".cgi" ); If you aren't using the form you shouldn't need to alter anything else, if you do but chage it, you need to remove the sendmail field check part in the cgi Also remember to target the window name in your html, or you will get windows all over, you also might want to put some java 'bring window to front' code, so as they add a favourite it pops to the front. Have fun Lee __ Lee Shields [url "http://www.apogeetechnology.com"]Apogee Technology[/url] [url "http://www.johnrhornsby.co.uk"]John R Hornsby[/url] [url "http://www.adelanteproperties.com"]Adelante Properties[/url] [url "http://www.villassist.com"]Villassist[/url] [url "http://www.paulswithey.co.uk"]Paul Withey Estate Agents[/url] [/blue]
|