Gossamer Forum
Home : Products : DBMan : Customization :

Problems with Records.cgi

Quote Reply
Problems with Records.cgi
Hi!

I am trying to use the Records.cgi script but keep getting "[an error occurred while processing this directive]" at the shtml page I'm using it on...

If I have the default.cfg file in the same directory, can I then write like this?:

require "default.cfg";

$cat_name is supposed to be the name of one of the categories I use in my DB right?

Thanx!
Quote Reply
Re: Problems with Records.cgi In reply to
As stated in the records.cgi file, you may need to use the COMPLETE ABSOLUTE path to the default.cfg file, like the following:

Code:
require "/path/to/default.cfg";

OR

Code:
require "./default.cfg";

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------









Quote Reply
Re: Problems with Records.cgi In reply to
BTW: This is probably the last Mod that I am releasing for Gossamer Threads scripts. Due to the inability of users to debug the most simpliest codes in the Mods, my frustration levels have exceeded to the point of no return. I will not be publicly releasing anymore Mods I am sorry to report.

I may send mods to proficient and able Perl programmers...but a very exclusive list to say the least.

Wink

So, enjoy the Mods while they last.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. Smile
----------------------











[This message has been edited by Eliot (edited February 12, 2000).]
Quote Reply
Re: Problems with Records.cgi In reply to
The error message indicates that it is NOT a problem with records.cgi, but with your SSI call. Records.cgi has been re-written and edited many times in the past few months and it is STABLE! Check your SSI call codes!

Also, if you are on NT, you will have to do some re-working of your server to allow this file to be called as a SSI file...use asp if you are on NT.

Good luck.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------









Quote Reply
Re: Problems with Records.cgi In reply to
OK. No, Im using Unix. In my .shtml page I use the code:

<!--#exec cgi="http://www ... /cgi-bin/db/records.cgi"-->

Is this wrong? What else could be?

Thanx!
Quote Reply
Re: Problems with Records.cgi In reply to
VERY WRONG!

As is stated in the records.cgi file, you need to use the absolute path FROM your ROOT directory to the records.cgi.

LEARN some SSI coding, eh!

Code:
<!--#exec cgi="/cgi-bin/db/records.cgi"-->

Wink

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------









Quote Reply
Re: Problems with Records.cgi In reply to
 Smile yeah, I know ... but Im getting better! OK, so now we dont have that sad error message anymore, instead ... nothing happens.

What about the default.cfg question I had (above), is this wrong?

Thanx!
Quote Reply
Re: Problems with Records.cgi In reply to
Records.cgi works fine. Great. The only problem the most of us have with the scripts is the path to the own server. (true path, ... maybe give an example in your scripts ...)

I hope you make a lot of Mods for those scripts and I hope we can learn something.



------------------
--- Luc
Quote Reply
Re: Problems with Records.cgi In reply to
AND I DO GIVE AN EXAMPLE!!


/path/to/cgi-bin/

should be a good enough example for ABSOLUTE PATHS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Quote:
I hope you make a lot of Mods for those scripts and I hope we can learn something.

Don't count on it...I am finished!

I will hang around to answer questions and provide suggestions...but as the Soup Naxi says in the Seinfeld episode..."NO MODS FOR YOU!"

LOL...not really though...I am quite serious about this.

Regards,


------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------









Quote Reply
Re: Problems with Records.cgi In reply to
 Frown Frown Frown Frown Frown Frown

------------------
--- Luc
Quote Reply
Re: Problems with Records.cgi In reply to
Eric,

Have you fixed your problem now ?



------------------
--- Luc
Quote Reply
Re: Problems with Records.cgi In reply to
I'm sorry for making you upset Eliot, but I understand that you get a LOT of "stupid" questions.

Anyways, thanx to the help from you and Luc the mod is now working perfectly. It is a superb mod, just what I needed. Thanx for making it Eliot!

What I had to do was to add a $db_script_path = ".";


Smile Smile Smile Smile Smile
Quote Reply
Re: Problems with Records.cgi In reply to
Glad you fixed it...and glad you liked it.

BTW: That variable is already in the records.txt file that I posted at my site:

http://www.anthrotech.com/...man/mods/records.txt

But makes no difference in terms of my feelings about writing Mods....No more.

Sorry.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. Smile
----------------------











[This message has been edited by Eliot (edited February 15, 2000).]