Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Testing Latest Version (error)
#14
I had a look at the code and see no reason why that would be happening. Searching on the internet doesn't turn up anything either, so I am a bit at loss here.


You can try this patch:

Code:
diff --git a/Smarty_setup.php b/Smarty_setup.php
index 7a13bb0..8cbb0f1 100755
--- a/Smarty_setup.php
+++ b/Smarty_setup.php
@@ -33,7 +33,7 @@ class vtigerCRM_Smarty extends Smarty{
               $this->setConfigDir('Smarty/configs');
               $this->setCacheDir('Smarty/cache');
               $this->setPluginsDir('Smarty/libs/plugins');
-
+var_dump($this->getPluginsDir());
               //$this->caching = true;
               $CALENDAR_DISPLAY = GlobalVariable::getVariable('Application_Display_Mini_Calendar',1,$currentModule);
               $CALENDAR_DISPLAY = empty($CALENDAR_DISPLAY) ? 'false' : 'true';

that will output the plugins directory to the browser screen just to make sure it is looking in the right place for this plugin.

Ultimately you can comment out this plugin:

Code:
diff --git a/Smarty_setup.php b/Smarty_setup.php
index 7a13bb0..34f0965 100755
--- a/Smarty_setup.php
+++ b/Smarty_setup.php
@@ -52,7 +52,7 @@ class vtigerCRM_Smarty extends Smarty{
                       //Added to provide User based Tagcloud
                       $this->assign('TAG_CLOUD_DISPLAY', self::lookupTagCloudView($current_user->id) );
               }
-               $this->loadFilter('output', 'trimwhitespace');
+               //$this->loadFilter('output', 'trimwhitespace');
               $this->registerPlugin('function', 'process_widget', 'smarty_function_process_widget');
       }
}

that will generate more spaces and make it go a little slower but it shouldn't have any other impact

Let me know what the output on screen is for the plugin dir and how the application performs without the whitespace filter
Joe
TSolucio
Reply


Messages In This Thread
Testing Latest Version (error) - mweaver - 02-11-2017, 01:58 PM
RE: Testing Latest Version (error) - joebordes - 02-25-2017, 10:01 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)