I finally got the image upload script to work. I figured that i should do that first and then change the inputs to my liking. But now when i try to upload I get a unknown action error. why is this? I almost certian i didnt mess up any of the configurations for the image upload... sigh
Jun 17, 1999, 5:12 AM
Novice (7 posts)
Jun 17, 1999, 5:12 AM
Post #3 of 11
Views: 3053
Well it worked before i tried to change some of the stuff around... So it was uploading files correctly for a while. But then it stopped after i updated either the html.pl file or the default.cfg file. I was pretty sure i didnt change any of the stuff that would mess it up, but i guess not.
Jun 17, 1999, 6:56 AM
Novice (7 posts)
Jun 17, 1999, 6:56 AM
Post #7 of 11
Views: 3051
The only thing i think i could have done wrong is this. in the file-upload files that tell us what to change:
###### File --- db.cgi
### sub main ###
### add
elsif ($in{'upload_success'}) { &html_upload_success; }
I wasn't sure where exactly to add that, i put it somewhere and the upload script worked for a while... hmm.
###### File --- db.cgi
### sub main ###
### add
elsif ($in{'upload_success'}) { &html_upload_success; }
I wasn't sure where exactly to add that, i put it somewhere and the upload script worked for a while... hmm.
Jun 17, 1999, 8:50 AM
Veteran / Moderator (8669 posts)
Jun 17, 1999, 8:50 AM
Post #9 of 11
Views: 3050
It probably won't work if autogenerate is turned on, no.
It's a little odd that your URL is http://billingstruckcenter.com/cgi-bin/cgiwrap/billingstruckcenter//db.cgi
Two /s together?
Regarding my earlier question, in your browser, there should be a little window that gives you the URL you're currently looking at, where you can also type in URLs. (I guess you can hide it in IE, though, so maybe you don't see it.)
I'm afraid I'm sorta strapped for time right now, but I'll see what I can do later.
------------------
JPD
It's a little odd that your URL is http://billingstruckcenter.com/cgi-bin/cgiwrap/billingstruckcenter//db.cgi
Two /s together?
Regarding my earlier question, in your browser, there should be a little window that gives you the URL you're currently looking at, where you can also type in URLs. (I guess you can hide it in IE, though, so maybe you don't see it.)
I'm afraid I'm sorta strapped for time right now, but I'll see what I can do later.
------------------
JPD
Jun 17, 1999, 10:24 AM
Novice (7 posts)
Jun 17, 1999, 10:24 AM
Post #10 of 11
Views: 3066
no big rush. Ill play around with it a bit and see if i can get it to work. In the address thingy it didn't say anything about upload success, but it DOES upload the image before it gets the error. Also i think its strange that there are two // but also one / works. Two is the way we are supposed to do it though, at least their website says to. heh.