Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


PHP memory limit

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
raz



Joined: 18 Jun 2008
Posts: 22

PostPosted: Tue Aug 12, 2008 9:38 am    Post subject: PHP memory limit Reply with quote

Hi,

I am getting this error when I do a "technical support" report from system utilities page.

"
Notice: Uninitialized string offset: -1 in /usr/local/src/cacti-0.8.7/utilities.php on line 172

It is highly suggested that you alter you php.ini memory_limit to 16M or higher. This suggested memory value is calculated based on the number of data source present and is only to be used as a suggestion, actual values may vary system to system based on requirements."

In php.ini file I have increased the limit to 64 and restarted apache. But this error still comes up. complaining about offset:-1.

Any ideas what this can be?

Thanks
Back to top
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 647
Location: Psychic Amish Network Administrator

PostPosted: Tue Aug 12, 2008 10:39 am    Post subject: Reply with quote

Which version of PHP are you running?
Back to top
raz



Joined: 18 Jun 2008
Posts: 22

PostPosted: Tue Aug 12, 2008 10:41 am    Post subject: Reply with quote

I am running:

PHP Information
PHP Version 5.1.4
PHP OS Linux
PHP uname Linux skiff 2.6.22.5 #1 Fri Aug 24 16:58:58 BST 2007 i686
PHP SNMP Not Installed
max_execution_time 30

Regards
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group