/    Sign up×
Community /Pin to ProfileBookmark

DBI error message

I’m trying to create a DBI from text information.

I am getting an error that says:

[QUOTE]

ndbm store returned -1, errno 28, key “Rodena” at DBIcreate.pl line 47.

[/QUOTE]

The key value keeps changing to other lines in the text file that I am reading when I make modifications to the perl program. The program creates what I want if I remove the lines that refer to the DBI actions.

The lines that cause the error are:

[code=php]
use AnyDBM_File;
dbmopen(%ScedDB,”DBIsced”,0666) || die(“Cannot open: DBIscedn”);

dbmclose(%ScedDB);
[/code]

I don’t get the error when I comment out the 3 lines. I can provide the code if that will help solve my problem.

Could someone direct me to a location that explains the errors using the DBI package? I don’t know where to look for an “errno 28”.

Thank you for taking the time to read this.

to post a comment

3 Comments(s)

Copy linkTweet thisAlerts:
@CyCoMar 21.2007 — My guess is it is similar to the problem in this thread. Check it out.
Copy linkTweet thisAlerts:
@JMRKERauthorMar 21.2007 — Thanks "CyCo".

At least now I have something to look for.

I'll check the length of the hash keys that are formed. I assume the length has to do with the DBI as it does not seem to effect the display if I leave the DBI stuff out (?).
Copy linkTweet thisAlerts:
@JMRKERauthorMar 22.2007 — Well "CyCo", you were right.

I thought it was my hash key that was too long, but it turns out that the value exceeded the limits. So ... back to the coding board, but thanks for the information.
×

Success!

Help @JMRKER spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...