I am trying to get jpgraph working with my installation of Mantis. I have Mantis 1.1.1 and jpGraph 1.22.1. I have ammeded my config_inc.php to have:
$g_use_jpgraph = ON;
$g_jpgraph_path = 'C:\\wamp\\www\\mantis\\jpgraph\\';
I have then ammended jpgraph.php to have:
DEFINE('DIR_BASE','C:\\wamp\\www\\mantis\\jpgraph\\');
When I click on a graph though I get an error like this:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 393216 bytes) in C:\wamp\www\mantis\jpgraph\jpgraph.php on line 1752
I have seen people mention the upping the memory limit in my php settings, but i'm not sure how to go about doing this. I have inherited this Mantis system, and its all new to me. Any help would be a godsend.
Thanks
Steve
JPGRAPH Memory Issue
Moderators: Developer, Contributor
Re: JPGRAPH Memory Issue
You need to edit the php.ini file in the apache bin e.g. C:\wamp\Apache2\bin
edit memory_limit value to the memory required
e.g.
memory_limit = 16M
See the FAQ's on the wampserver pages
http://www.wampserver.com/en/faq.php
edit memory_limit value to the memory required
e.g.
memory_limit = 16M
See the FAQ's on the wampserver pages
http://www.wampserver.com/en/faq.php