[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Auto Setup Script Problems



> 
> Don't have a clue as to what script you're talking about, but anyway...
;-)
> 
> > Warning: fopen("/tmp/setup/userdata","a") - No such file or directory in
> > /home/sites/site2/web/order.php on line 761
> >
> > Error opening File!
> > Order could not be processed!

The automated signup scripts use a flat text file which contain the data to
create the acounts (i would prefer a database for this, but that's an other
story). In your order.php script you try to open this file for writing
(probably to be able to create the acount with the createacount.pl script).
Either the file you want to open does not exists at all or not for the user
--> no rights to access. Remember a solutions would be to place that file in
the webroot, but you do not want to put files like the userdata files in
your webroot because it will be accessible through your webserver, so you
have to work out the permissions issue.

Regards,
Andre Jochems