From: Andrew H. <hu...@ll...> - 2003-02-25 17:53:50
|
Hello all, Forgive me if this is a non-bug, I've just been toying with OI for a few days now and getting the hang of it. I changed a few templates and think I've noticed a caching problem. I added the event plugin, and added it to the admin_tools_box template by adding the line: [%- PROCESS event::event_tools_box -%] to the bottom of it. Now when I reload the main page, the "Search Events" and the "New Event" options show up in the admin tools box. But, sometimes when I reload, or I access it with another browser, those links don't show up. It seems like some Apache children have the updated template, and some don't. Is there any way to force all children to reload the template(s) other than restarting the server? That might be a handy thing for me to work on adding to get used to the system, a 'clear template cache' button or similar if needed. In other news, I couldn't get the tips_quotes_cw package to install. I installed it to my OI base directory, then applied it to the sites, but I couldn't get the install_sql command to work: ahurst@sdcsi3 src$ sudo oi_manage apply_package --package=tips_quotes_cw --website_dir=/usr/local/OpenInteract/sites/main Running apply_package... ========================= Status of the packages you requested to be applied: tips_quotes_cw (0.08) OK ========================= Finished applying package! ahurst@sdcsi3 src$ sudo oi_manage install_sql --package=tips_quotes_cw --website_dir=/usr/local/OpenInteract/sites/main Running install_sql... ========================= Cannot include installer (OpenInteract::SQLInstall::TipsQuotesCw) to system. Error: Can't locate OpenInteract/SQLInstall/TipsQuotesCw.pm in @INC (@INC contains: /usr/local/OpenInteract/sites/main/tmplib /usr/local/lib/perl5/site_perl/5.8.0/mach /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach /usr/local/lib/perl5/5.8.0 .) at (eval 33) line 3. ahurst@sdcsi3 src$ When I try to start the server without running install_sql, starts but I can't access the site with a failure about not being able to access the Stash. "Cannot find configuration object from stash class (Main::Stash). Cannot continue! at /usr/local/lib/perl5/site_perl/5.8.0/OpenInteract.pm line 91, line 1." I get that in the browser, when I try to access the site. Thanks for all the help, I look forward to adding features to OI, soon as I can get a valid reason here to work on it :) -Andrew |