OK, that got me a little further into the process. Now I'm getting an
error that the std_main.0.tmpl file cannot be found.

William,

I regret the delay in my reply.

Here are the settings in flexmart_sys.ini for the template paths:

sys_html_tmpl_root={flexmart.sys_root_dir}/pgman/tmpl
host_html_tmpl_root={flexmart.host_root_dir}/tmpl

std_main.0.tmpl should be found under sys_html_tmpl_root; in your case, this would be:

/home/flexmart/local/flexmart-0.1/flexmart/pgman/tmpl

Please double check you directory settings, the directory structure, and the permissions and let me know how it turns out.

-Bill

----
On Mon, Dec 20, 2004 at 01:59:01PM -0800, Bill Catlan wrote:
 Please find attached a tar file
 (flexmart-0.1-quickfix.tar.gz) with the below
 "quick fixes" to 0.1 release of FlexMart (only
 modified files included).  This fix supercedes an
earlier modification to FlexMart/Session.pm which did
not remedy the problem.

OK, that got me a little further into the process. Now I'm getting an error that the std_main.0.tmpl file cannot be found. I have my paths setup in the two configuration files as follows:

 sys_root_dir=/home/flexmart/local/flexmart-0.1/flexmart
 host_root_dir=/home/flexmart/local/flexmart-0.1/fmdemo

I've appended the complete error message below. Any ideas?


Thanks, William


The following error has occurred:

HTML::Template->new() : Cannot open included file std_main.0.tmpl : file not found. at /usr/local/share/perl/5.8.2/HTML/Template.pm line 1580 HTML::Template::_init_template('HTML::Template=HASH(0x83e005c)') called at /usr/local/share/perl/5.8.2/HTML/Template.pm line 1177 HTML::Template::_init('HTML::Template=HASH(0x83e005c)') called at /usr/local/share/perl/5.8.2/HTML/Template.pm line 1071 HTML::Template::new('HTML::Template', 'filename', 'std_main.0.tmpl', 'path', 'ARRAY(0x86ef818)') called at /usr/local/share/perl/5.8.2/HTML/Template.pm line 1121 HTML::Template::new_file('HTML::Template', 'std_main.0.tmpl', 'path', 'ARRAY(0x86ef818)') called at /usr/local/share/perl/5.8.2/CGI/Application.pm line 415 CGI::Application::load_tmpl('FlexMartDemo::MainNav=HASH(0x825d670)', 'std_main.0.tmpl') called at /home/flexmart/local/flexmart-0.1/flexmart/lib/FlexMart/PageManager/HTMLTemplate.pm line 74 FlexMart::PageManager::HTMLTemplate::build_page('FlexMart::PageManager::HTMLTemplate=HASH(0x865597c)', 'ARRAY(0x86f20e8)') called at /home/flexmart/local/flexmart-0.1/fmdemo/lib/cgiapp/FlexMartDemo/MainNav.pm line 52 FlexMartDemo::MainNav::home('FlexMartDemo::MainNav=HASH(0x825d670)') called at /usr/local/share/perl/5.8.2/CGI/Application.pm line 154 CGI::Application::run('FlexMartDemo::MainNav=HASH(0x825d670)') called at /home/flexmart/local/flexmart-0.1/fmdemo/webroot/index.cgi line 10 eval 'package Apache::ROOTflexmart::index_2ecgi;use Apache qw(exit); #line 1 /home/flexmart/local/flexmart-0.1/fmdemo/webroot/index.cgi #!/usr/bin/perl use strict; use warnings; use lib ( $ENV{\'FLEXMART_SYS_LIB\'}, $ENV{\'FLEXMART_HOST_LIB\'} ); use FlexMartDemo::MainNav; my $app = FlexMartDemo::MainNav->new; $app->run(); ;' called at /usr/local/lib/perl/5.8.3/Apache/PerlRun.pm line 123 Apache::PerlRun::compile('Apache::PerlRun=HASH(0x825fe2c)', 'SCALAR(0x82511bc)') called at /usr/local/lib/perl/5.8.3/Apache/PerlRun.pm line 305 Apache::PerlRun::handler('Apache::PerlRun', 'Apache=SCALAR(0x825fe08)') called at /home/flexmart/local/flexmart-0.1/fmdemo/webroot/index.cgi line 0 eval {...} called at /home/flexmart/local/flexmart-0.1/fmdemo/webroot/index.cgi line 0

The erroneous input:

Not available.

Suggested help:

The previous request generated a fatal error. The error has been logged and a system administrator has been notified. We apologize for any inconvenience.

--
Knowmad Services Inc.
http://www.knowmad.com



--------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to