Greetings!
I'm trying to install a module. It doesn't seem to matter which (I've repro'd the error on several), but as an example I am trying to install DLSupport.
The error I get is thus:
string(349528) "
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 358401 bytes) in /var/www/cmsms/modules/nuSOAP/classes/nusoap.php on line 814
I searched for that error, found one reference:
http://forum.cmsmadesimple.org/index.ph ... .msg153269
And edited my config.php to read:
$config['php_memory_limit'] = '32M';
I saved the config file, cleared the cache in CMSMS admin, and still getting the same error.
I have all permissions set to 777 for modules, tmp, uploads, and plugns - recursive.
Using latest versions of stuff - here's the info. Hope you can help!
CMS Version
1.6.7
Installed Modules
CMSMailer
1.73.14
FileManager
1.0.2
MenuManager
1.6.2
ModuleManager
1.3.2
News
2.10.4
nuSOAP
1.0.1
Printing
1.0.4
Search
1.6.1
ThemeManager
1.1.1
TinyMCE
2.6.2
Config Information
php_memory_limit:
32M
process_whole_template:
false
max_upload_size:
2000000
default_upload_permission:
664
assume_mod_rewrite:
false
page_extension:
internal_pretty_urls:
false
use_hierarchy:
true
debug:
false
output_compression:
false
root_url:
http://74.180.131.2/cmsms
root_path:
/var/www/cmsms (0755)
previews_path:
/var/www/cmsms/tmp/cache (0777)
uploads_path:
/var/www/cmsms/uploads (0777)
uploads_url:
http://74.180.131.2/cmsms/uploads
image_uploads_path:
/var/www/cmsms/uploads/images (0777)
image_uploads_url:
http://74.180.131.2/cmsms/uploads/images
use_smarty_php_tags:
false
locale:
default_encoding:
utf-8
admin_encoding:
utf-8
PHP Information:
Current PHP Version (phpversion):
5.2.10-2ubuntu6.4
md5 function (md5_function):
On (True)
GD version (gd_version):
2
tempnam function (tempnam_function):
On (True)
Magic quotes in runtime (magic_quotes_runtime):
Off (False)
PHP Effective Memory Limit (memory_limit):
16M
Maximum Execution Time (max_execution_time):
30
PHP Safe Mode (safe_mode):
Off (False)
Session Save Path (session_save_path):
/var/lib/php5 (1733)
Sessions are allowed to use Cookies (session_use_cookies):
On (True)
Checking if the httpd process can create a file inside of a directory it created (create_dir_and_file):
PHP register_globals (register_globals):
Off (False)
PHP output_buffering (output_buffering):
On
disable_functions in PHP (disable_functions):
PHP Open Basedir (open_basedir):
Test for remote URL (test_remote_url):
fsockopen: Connection ok!
fopen: Connection ok!
File uploads (file_uploads):
On (True)
Maximum Post Size (post_max_size):
8M
Maximum Upload Size (upload_max_filesize):
2M
Basic XML (expat) support (xml_function):
On (True)
Test file_get_contents (file_get_contents):
On (True)
Test ini_set (check_ini_set):
On (True)
Server Information:
Server API (server_api):
apache2handler
Server Database (server_db_type):
MySQL (mysql)
Server Database Version (server_db_version):
5.1.37
Server Software (server_software):
Apache/2.2.12 (Ubuntu)
Server Operating System (server_os):
Linux 2.6.31-19-generic On x86_64
Permission Information
tmp:
/var/www/cmsms/tmp (0777)
templates_c:
/var/www/cmsms/tmp/templates_c (0777)
modules:
/var/www/cmsms/modules (0777)
File Creation Mask (umask):
/var/www/cmsms/tmp/cache (0777)
config_file:
0666
config.php writable. It is more safe if you change permission to read-only
//Mod: Solved
Strange Error on Module install attempt [solved]
-
- New Member
- Posts: 2
- Joined: Mon Mar 15, 2010 12:20 pm
Strange Error on Module install attempt [solved]
Last edited by Rolf on Sat Apr 10, 2010 7:32 pm, edited 1 time in total.
Re: Strange Error on Module install attempt
Welcome james000222,
Try to increase the PHP_Memory_limit some more: 120M f.i.
See what happens then
Rolf
Try to increase the PHP_Memory_limit some more: 120M f.i.
See what happens then

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Strange Error on Module install attempt
I don't know why people DO NOT point this out, but very often going to the forge, getting the xml file, and installing the module in the module manager from that xml file does not display those out of memory problems.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Strange Error on Module install attempt
but did you see this?And edited my config.php to read:
$config['php_memory_limit'] = '32M';
Code: Select all
# If you are experiencing propblems with php memory limit errors, then you may
# want to try enabling and/or adjusting this setting.
# Note: Your server may not allow the application to override memory limits.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
- New Member
- Posts: 2
- Joined: Mon Mar 15, 2010 12:20 pm
Re: Strange Error on Module install attempt
> # Note: Your server may not allow the application to override memory limits.
YEP. That was it. Thank you gentlemen, for the assistance.
Solved.
YEP. That was it. Thank you gentlemen, for the assistance.
Solved.