Gossamer Forum
Home : Products : DBMan : Installation :

Hypermart gives me this error, help me!

Quote Reply
Hypermart gives me this error, help me!
Hello, well hypermart gives me this error, i have done everthing the right way eg: fil attributes, and dir url changing, but this is the error i get.

ERROR 500
Premature end of script headers: /data1/hypermart.net/chris0011//cgi-bin/dbman/db.cgi

So whats the problem?

thanks, oh my db is pointed to the right perl dir.
heress the addy for my db.

http://server41.hypermart.net/chris0011/cgi-bin/dbman/db.cgi

Quote Reply
Re: Hypermart gives me this error, help me! In reply to
It looks like you might not be using the ABSOLUTE path to your files in the appropriate location in the scripts OR you are NOT using the correct ABSOLUTE path.

Regards,

Eliot Lee
Quote Reply
Re: Hypermart gives me this error, help me! In reply to
How would i go about fixing this problem, im pretty sure i got the paths set to the correct spot.

this is the full path i use:
http://server41.hypermart.net/chris0011/cgi-bin/dbman/db.cgi?db=default

please help me, thanks dude.
chris

Quote Reply
Re: Hypermart gives me this error, help me! In reply to
That is the full relative path...

You need to use the CORRECT ABSOLUTE PATH in the $db_script_path. If you run into problems, search this forum for Hypermart and you will find other Threads where porblems have been posted.

Regards,

Eliot Lee
Quote Reply
Re: Hypermart gives me this error, help me! In reply to
Hi Chris, it looks like you may have an extra slash in the path definition somewhere.

/data1/hypermart.net/chris0011//cgi-bin/dbman/db.cgi

Double check all of your path entries.


Quote Reply
Re: Hypermart gives me this error, help me! In reply to
i actually didnt, that is confusing to me, cause hypermart comes up with the extra slash.
it aint there.

Quote Reply
Re: Hypermart gives me this error, help me! In reply to
Chris, save your default.cfg file as a text file (default.cfg.txt) and upload it to your server space. Provide the url where the file can be viewed.

Quote Reply
Re: Hypermart gives me this error, help me! In reply to
I may be able to help you with your problem. I'm using hypermart as well. I think the problem is that in your db.cgi file. There's a line at the beginning of the file that reads:

$db_script_path = ".";

Leave it as what I typed above. You don't have to specify the actual path as stated by hypermart. I did that and it worked.

Julian
Quote Reply
Re: Hypermart gives me this error, help me! In reply to
I think what your problem may be is, like Karen said you are getting an extra / in your path:

/data1/hypermart.net/chris0011//cgi-bin/dbman/db.cgi

In your .cfg file when you enter the path it says:

# URL of the directory dbman resides in. No Trailing Slash Please.

$db_dir_url = "http://<username>.hypermart.net/cgi-bin";

you are trying to use the absolute path rather than the url to your cgi-bin directory. And most likely have added a trailing slash behind cgi-bin.

Since it is including the / when it lists the files, you do NOT want to include it in the $db_dir_url = or you will get a double.

There should not be a reason to specify a path within your .cgi file!!!!!!!

Hope this helps

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/