in reply to Got gdbm store returned -1 error 13 when trying to write!

Check the protection on your DBM file(s). The file protection needs to be expressed in octal, not decimal.   dbmopen(%DB, "file", 666) ; should be   dbmopen(%DB, "file", 0666);

You might have been able to run this from the command line, but it'll create a file with funky protection bits. Since Apache is typicall run as a different user, they won't have access to the file.

Replies are listed 'Best First'.
Re: Re: Got gdbm store returned -1 error 13 when trying to write!
by perlkid (Novice) on Jun 27, 2002 at 16:51 UTC
    Thanks for the reply that was a good catch on my post, with

    dbmopen(%DB,"file",0666)

    that still giving me the error :(

    -perlkid