I have been attempting to install and run JPDeni's Relational Mod Demo
http://www.jpdeni.com/cgi-bin/relation/db.cgi?db=user
and have not been very successful.
Carol indicates that the files used in the demo are the same files available in the download zip link, however, after installing, the scripts are not performing the same.
A comparison can be made by visiting:
JPD's http://www.jpdeni.com/cgi-bin/relation/db.cgi?db=user
Downloaded scripts
http://today.az1net.com/cgi-bin/relational/db.cgi?db=user
and selecting the link in this line 'If you would just like to see the database in action, you can go here.'
Then, select List All Items and following thru by selecting any one of the resulting product links displayed ('Owen' appears in both JPD's demo and the downloaded files)
It can be seen, when the product record is displayed, the
Offered by: & From: field results are displayed in JPD's example whereas these two fields do not display a result when running the scripts from the download.
With debugging activated, there are no errors reported in the scripts however, my server error logs are indicating:
Operator or semicolon missing before &switch_to_user at ./item_html.pl line 166.
Ambiguous use of & resolved as operator & at ./item_html.pl line 166.
my (%rec) = @_; # Load any defaults to put in the VALUE field.
$rec{'UserID'} =~ s/<\/?B>//g;
&switch_to_user;
%rec2 = &get_record($rec{'UserID'}); <<< this is line 166 in item_html.pl
&switch_to_item;
I have uploaded text copies of the files at http://today.az1net.com/relational/
and would appreciate feedback and instruction on correcting the problem. - - - Quite honestly, I have gone cross-eyed looking, trying, replacing, researching and failing! <grin> Thanks!
Karen
PS - I've installed and been trying to identify the problem in the files in order to help other DBMan users.
http://www.jpdeni.com/cgi-bin/relation/db.cgi?db=user
and have not been very successful.
Carol indicates that the files used in the demo are the same files available in the download zip link, however, after installing, the scripts are not performing the same.
A comparison can be made by visiting:
JPD's http://www.jpdeni.com/cgi-bin/relation/db.cgi?db=user
Downloaded scripts
http://today.az1net.com/cgi-bin/relational/db.cgi?db=user
and selecting the link in this line 'If you would just like to see the database in action, you can go here.'
Then, select List All Items and following thru by selecting any one of the resulting product links displayed ('Owen' appears in both JPD's demo and the downloaded files)
It can be seen, when the product record is displayed, the
Offered by: & From: field results are displayed in JPD's example whereas these two fields do not display a result when running the scripts from the download.
With debugging activated, there are no errors reported in the scripts however, my server error logs are indicating:
Operator or semicolon missing before &switch_to_user at ./item_html.pl line 166.
Ambiguous use of & resolved as operator & at ./item_html.pl line 166.
my (%rec) = @_; # Load any defaults to put in the VALUE field.
$rec{'UserID'} =~ s/<\/?B>//g;
&switch_to_user;
%rec2 = &get_record($rec{'UserID'}); <<< this is line 166 in item_html.pl
&switch_to_item;
I have uploaded text copies of the files at http://today.az1net.com/relational/
and would appreciate feedback and instruction on correcting the problem. - - - Quite honestly, I have gone cross-eyed looking, trying, replacing, researching and failing! <grin> Thanks!
Karen
PS - I've installed and been trying to identify the problem in the files in order to help other DBMan users.