CoreBOSBB
Report Module issue - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Open (https://discussions.corebos.org/forumdisplay.php?fid=20)
+--- Forum: Open Discussions (https://discussions.corebos.org/forumdisplay.php?fid=10)
+--- Thread: Report Module issue (/showthread.php?tid=69)



Report Module issue - allsolar - 11-25-2014

Joe,

I know you helped with the 2 commits:
<!-- m --><a class="postlink" href="https://github.com/tsolucio/corebos/commit/d202c056ab7bebd2b5009eb34a156f1120f8eb7e">https://github.com/tsolucio/corebos/com ... 1120f8eb7e</a><!-- m -->
<!-- m --><a class="postlink" href="https://github.com/tsolucio/corebos/commit/4a40bf1c788f88ac881ec4cebbd6f3d4c8a7e818">https://github.com/tsolucio/corebos/com ... d4c8a7e818</a><!-- m -->

to allow null dates in advance filter as well as showing custom date fields in simple time filters

now I am experiencing this issue in the report module
screenshot
<!-- m --><a class="postlink" href="http://awesomescreenshot.com/0303wkce55">http://awesomescreenshot.com/0303wkce55</a><!-- m -->

you can see the pie chart is shadowed black and the horizontal chart is broken up


Re: Report Module issue - joebordes - 11-25-2014

Glad the previous changes helped <!-- s:-) --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->

Sadly the error you are describing is known and has no solution.

<!-- m --><a class="postlink" href="https://bugs.php.net/bug.php?id=64920">https://bugs.php.net/bug.php?id=64920</a><!-- m -->

It is due to an upgrade in the GD library.

My position on the issue is to completely change the image library used for graphics as I updated the one being used but that had no effect. So, for the moment, there isn't much we can do.


Re: Report Module issue - allsolar - 11-26-2014

So is this is an issue with the php 5.3 upgrade?

Unfortunately visual reporting plays an important part of the use for our crm. Would it be in my better interest to stay with the traditional install of vtiger 5.4 using php 5.2?


Re: Report Module issue - allsolar - 11-26-2014

Joe,

I notice your demo is Corebos 5.5 and the reports run perfect and better the vtiger 5.4

screenshot
<!-- m --><a class="postlink" href="http://awesomescreenshot.com/0d83wx3na7">http://awesomescreenshot.com/0d83wx3na7</a><!-- m -->

what do i need to fix like you have


Re: Report Module issue - joebordes - 11-26-2014

It is not a question of vtiger crm or corebos, nor an issue of PHP 5.3 or PHP 5.4
The problem is with the GD Library version:

[attachment=0]<!-- ia0 -->php_GD.png<!-- ia0 -->[/attachment]

The image library that coreBOS uses is old and it seems that it produces this behaviour on the newer version of GD.
I updated the library when I learned about this error but it still happened with the newer version so the solution is to completely change the library which will require some work. We are on it, but it is a lower priority issue at the moment.

If you can get GD version 2.0 on your PHP 5.4 it should work.


Re: Report Module issue - allsolar - 11-26-2014

I am using php PHP 5.3.29 that is the only way I could get corebos to install.

I am also using GD library 2.10

screenshot
<!-- m --><a class="postlink" href="http://awesomescreenshot.com/09f3x3vwb6">http://awesomescreenshot.com/09f3x3vwb6</a><!-- m -->

So excuse my ignorance, What do I need to do exactly to have the reports works as the do in your demo?


Re: Report Module issue - joebordes - 11-26-2014

You have to use GD 2.0

You should be able to use PHP 5.4 with no problem


Re: Report Module issue - allsolar - 11-26-2014

Unfortunately I am using a shared server so therefor I would either have to use php 5.2 to be able to have the proper GD library or obviously use php 5.4 and problems with the reports.

What would you suggest is my best idea?

1) have an instal of Vtiger 5.4 on php 5.2 and an install of corebos sharing the same database?

2) Since reports are important just use Vtiger 5.4 and I could still use the commits for Corebos?

Thank you for you help & input