Gossamer Forum
Home : Products : Links 2.0 : Customization :

Sub &main in Review-It mod

Quote Reply
Sub &main in Review-It mod
Error including libraries: Undefined I'm trying to make the Review-It mod work for Links version 2.0, and get the following error:

(begin error message)
subroutine &main::get_date called at /usr/var/www/docs/commercial/dperry/public_html/cgi-bin/links/admin/site_html.pl line 34.

Make sure they exist, permissions are set properly, and paths are set correctly.
(end error message)

The sub &main is found in review.cgi.

Can someone give me some direction on what I may need to change?

Greatly appreciated!
Quote Reply
Re: Sub &main in Review-It mod In reply to
Does review.cgi require db_utils.pl? That is where sub get_date is located.
Quote Reply
Re: Sub &main in Review-It mod In reply to
Will the review being stored in the links.db or do you have a seperate file for the reviews?

This because Im alsow typing to make one BASED on a seperate file. Aotherwise the links.sb will be to big.

Just a tip!
Quote Reply
Re: Sub &main in Review-It mod In reply to
The way the Review-It mod is written for version 1.x, the reviews are all stored in the links.db. I agree, this would make the file way too large.

A much better way would be to store the reviews in a separate file.

Unfortunately, my cgi is too limited to get into this project too deep. Anyone with the "know-how" want to take a shot at this?

------------------