[Cartoweb-users] print to Rtf problem
Oliver Christen
oliver.christen at camptocamp.com
Mon Jul 14 10:25:23 EDT 2008
Hi
Sorry, my question was not really relevant.
Could you try to add
require_once CARTOWEB_HOME . 'client/ExportPlugin.php';
at the begining of your ClientExportRtf.php ?
If im not wrong, the exportRft was simply never tested in a project without exportPdf also loaded, so the ExportPlugin.php was always loaded via the exportPdf plugin and that problems never occured.
Let me know if this work.
Regards
Oliver
----- Original Message -----
From: Kurt Menke
To: 'Oliver Christen' ; cartoweb-users at lists.maptools.org
Sent: Monday, July 14, 2008 4:05 PM
Subject: RE: [Cartoweb-users] print to Rtf problem
Hi,
Not sure exactly what you mean. Is there a url that has to be set somewhere? I'm attempting to use the basic exportRtf plugin.
The original install command I used was:
php cw3setup.php --install --base-url http://69.59.158.10/cartoweb3/htdocs/
The url of the site is now www.publiclands.net
Kurt
**************************
Kurt Menke, GISP
Bird's Eye View
www.BirdsEyeViewGIS.com
Cell: 505-362-1776
Work: 505-265-0243
------------------------------------------------------------------------------
From: Oliver Christen [mailto:oliver.christen at camptocamp.com]
Sent: Monday, July 14, 2008 1:05 AM
To: Kurt Menke; cartoweb-users at lists.maptools.org
Subject: Re: [Cartoweb-users] print to Rtf problem
Hi
how are you calling for the rft export (url used) ?
regards
Oliver
----- Original Message -----
From: Kurt Menke
To: cartoweb-users at lists.maptools.org
Sent: Saturday, July 12, 2008 1:13 AM
Subject: [Cartoweb-users] print to Rtf problem
Hello,
I am attempting to enable the ExportRtf plugin.
It works in the demoPlugins and test_main sites on my server.
What I've done:
a.. Added the exportRtf.ini to my projects client_conf directory
a.. Added exportRtf to my loadPlugins list in my client.ini file
a.. Customized the Rtf template and placed it in my projects directory /plugins/exportRtf/templates
My site will not load. Apache throws the following error:
PHP Fatal error: Class 'ExportPlugin' not found in /var/www/htdocs/cartoweb3/plugins/exportRtf/client/ClientExportRtf.php on line 26
The ExportPlugin class does exist in ExportPlugin.php. It extends ClientPlugin which extends PluginBase.
I can't see any reason this should work for the demo sites and not mine. I've tried using the rft template that came with cartoweb and it changes nothing.
Any ideas on what may be going wrong or how to further troubleshoot this would be greatly appreciated.
Kurt
**************************
Kurt Menke, GISP
Bird's Eye View
www.BirdsEyeViewGIS.com
Cell: 505-362-1776
Work: 505-265-0243
----------------------------------------------------------------------------
_______________________________________________
Cartoweb-users mailing list
Cartoweb-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080714/d5f525fd/attachment-0001.html
More information about the Cartoweb-users
mailing list