On Sunday 18 December 2005 14:39, David Baird wrote:
> For this setup, you need to create a Module.pm file at
> /var/www/maypole-sites/module/Module.pm
> This is the 'driver' class of your application. In the Maypole docs,
> the equivalent example is the BeerDB.pm file. So read up on the beer
> example and modify it for your situation.
Oh, yes! I forgot!
[EMAIL PROTECTED]:~$ cat /var/www/maypole-sites/ishop/IShop.pm
package IShop;
use base 'Apache::MVC';
use Class::DBI::Loader::Relationship;
IShop->setup("dbi:mysql:ishop","root","someverylongpassword");
IShop->config->{uri_base} = "http://localhost/IShop";
IShop->config->{rows_per_page} = 10;
IShop->config->{loader}->relationship($_) for
("a manufacturer has products", "a category has products",
"a subcategory has products", "a category has subcategories");
1;
I think this is apache 2 problem and really had nothing with Maypole.
>
> Maypole 2.10 should work out of the box with Apache 2, once you have
> your Module.pm driver set up.
>
> I'd recommend reading the documentation currently in svn, starting
> with Maypole.pm itself. The wiki has the details of how to check this
> out - http://maypole.perl.org/?Download
Thanks! I will try.
>
> If you don't have subversion installed, just point your browser at the
> repository URL.
>
> d.
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&op=Click
> _______________________________________________
> Maypole-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/maypole-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Maypole-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-users