LAST EDITED ON Apr-22-12 AT 06:42 PM (CST)
actually, you don not need this piece of code anymore:mkdir("$config{'regdir'}", 0777) unless (-d "$config{'regdir'}");
The software has created the User Registry Directory when it started a user registration for the first time. After this first process, it's not longer required to do the same routine everytime someone registers or changes his reg-content.
1.check if the directory exists
2.create a directory, if it does not exist already.
So, if you have a running auction with 1 registered user, you can either quote all the line with a '#' or even remove the line I have displayed above.
So, just try this:
if ($config{'regdir'}) {
umask(000); # UNIX file permission junk
mkdir("$config{'basepath'}$config{'newestmember'}", 0777) unless (-d "$config{'newestmember'}");
...depending, how you have directed your path:
$config{'newestmember'}
so, possibly to write a FULL path command to direct $config{'newestmember'} like by example:
config.pl Entry:
$config{'newestmember'} = '/your/server/path/cgi-bin/auction/auctiondata/newestmember/';
then use:
mkdir("$config{'newestmember'}", 0777) unless (-d "$config{'newestmember'}");
Homer
If you don't know where you're going, any road will get you there.