[Cartoweb-users] First steps in getting Cartoweb php 5.2.x ready

Oliver Christen oliver.christen at camptocamp.com
Thu Sep 13 02:38:21 EDT 2007


3DSiteHi

thank you for your feedback, it is appreciated

may I ask you which version of CW do you use?
because I think some of these modifications have already been implemented in cvs and 3.4rc1

regards
Oliver
  ----- Original Message ----- 
  From: Milo van der Linden 
  To: cartoweb-users at lists.maptools.org 
  Sent: Wednesday, September 12, 2007 11:15 PM
  Subject: [Cartoweb-users] First steps in getting Cartoweb php 5.2.x ready


  Hello list!

  I am taking the first steps into getting cartoweb3 php 5.2.x ready. This are my findings so far and I now have a working map interface allready!

  in  \cartoweb3\client\FormRenderer.php   
  ClientPlugin::ENABLE_LEVEL_FULL,
                       $plugin->getName(),
                       'Ajaxable',
                       'ajaxGetPluginResponse',
                       &$ajaxPluginResponse,
                       $ajaxAction);

  remove the & in front of $ajaxPluginResponse.

  In cartoweb3\common\Accounting.php change: 
  private function __construct() { 
  to
  protected function __construct() {

  In cartoweb3\server\ServerPluginHelper.php change:
          $this->log->debug("plugin result: $resultName = $result");

  to 
  if (is_object($result)) {
          //$this->log->debug("plugin result: $resultName = var_dump($result)");
          } else {
          $this->log->debug("plugin result: $resultName = $result");
          }

  Maybe the development team can profit from these findings!

  I will go test a bit further through the application and see what else needs to be changed.

  Good luck!


  -- 


       Milo van der Linden 
        skype: milovanderlinden
        mlinden at zeelandnet.nl
        milovanderlinden at gmail.com
        milo at 3dsite.nl
        http://www.3dsite.nl

         De informatie in dit bericht reflecteert mijn persoonlijke mening en niet die van een bedrijf of instantie. Aan de informatie kunnen geen rechten worden ontleend. Indien dit bericht onderdeel is van een forum, mailing-list of community dan gelden automatisch de bij het betreffende medium behorende voorwaarden. The information in this message reflects my personal opinion and not that of a company or public body. All rights reserved.If this message is contained in a mailing-list or community, the rights on the medium are automatically adapted.
       



------------------------------------------------------------------------------


  _______________________________________________
  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/20070913/1e453322/attachment-0001.html


More information about the Cartoweb-users mailing list