[SOLVED] Unable to install modules

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
User avatar
pukka
Forum Members
Forum Members
Posts: 119
Joined: Thu Nov 12, 2009 6:02 pm

[SOLVED] Unable to install modules

Post by pukka »

I have completed a new install of CMSMS but i am unable to use the module manager to install modules. I have tried different CHMOD settings but so far none of them seem to work.

I know there are alternate methods of installing modules but i'd like to get to the bottom of why this isn't working. It's the first site (out of about 10) i've done where the recommended installation CHMOD settings haven't worked.

I have tried the following CHMOD settings: 777, 755, 775 & currently 707.


Below is the system information
-----------------------------------------------------------------------------
CMS Version
1.9.1

Installed Modules
CMSMailer
2.0
FileManager
1.0.3
MenuManager
1.7.2
ModuleManager
1.4
News
2.11
nuSOAP
1.0.2
Printing
1.1.1
Search
1.6.7
ThemeManager
1.1.3
TinyMCE
2.8.1

Config Information
php_memory_limit:

process_whole_template:
false
output_compression:
false
max_upload_size:
20000000
default_upload_permission:
664
url_rewriting:
none
page_extension:

query_var:
page
image_manipulation_prog:
GD
auto_alias_content:
true
locale:

default_encoding:
utf-8
admin_encoding:
utf-8
set_names:
true
debug:
false
root_url:
http://www.mysite.com
ssl_url:
https://www.mysite.com
root_path:
/home/linweb01/t/mysite.com/user/htdocs (0705)
previews_path:
/home/linweb01/t/mysite.com/user/htdocs/tmp/cache (0707)
uploads_path:
/home/linweb01/t/mysite.com/user/htdocs/uploads (0707)
uploads_url:
http://www.mysite.com/uploads
image_uploads_path:
/home/linweb01/t/mysite.com/user/htdocs/uploads/images (0707)
image_uploads_url:
http://www.mysite.com/uploads/images
ssl_uploads_url:
/uploads
use_smarty_php_tags:
false
PHP Information:
Current PHP Version (phpversion):
5.2.14
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)
Is E_STRICT disabled in error_reporting (E_STRICT):

PHP Effective Memory Limit (memory_limit):
20M
Maximum Execution Time (max_execution_time):
30
PHP output_buffering (output_buffering):
4096
PHP Safe Mode (safe_mode):
Off (False)
File uploads (file_uploads):
On (True)
Maximum Post Size (post_max_size):
8M
Maximum Upload Size (upload_max_filesize):
20M
Session Save Path (session_save_path):
/tmp/ (1777)
Sessions are allowed to use Cookies (session_use_cookies):
On (True)
Basic XML (expat) support (xml_function):
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)
disable_functions in PHP (disable_functions):
shell_exec, exec, system, passthru, popen, set_time_limit
PHP Open Basedir (open_basedir):

Test for remote URL (test_remote_url):

fsockopen: Connection ok!  
fopen: Connection ok!
Test ini_set (check_ini_set):
On (True)
Server Information:
Server API (server_api):
cgi-fcgi
Server Database (server_db_type):
MySQL (mysql)
Server Database Version (server_db_version):
5.0.77
Server Software (server_software):
Apache
Server Operating System (server_os):
Linux 2.6.18-194.17.1.el5 On x86_64

Permission Information
tmp:
/home/linweb01/t/mysite.com/user/htdocs/tmp (0707)
templates_c:
/home/linweb01/t/mysite.com/user/htdocs/tmp/templates_c (0707)
modules:
/home/linweb01/t/mysite.com/user/htdocs/modules (0707)
File Creation Mask (umask):
/home/linweb01/t/mysite.com/user/htdocs/tmp/cache (0707)
config_file:
0644
config.php writable. It is more safe if you change permission to read-only

-----------------------------------------------------------------------------


Thanks.
Last edited by pukka on Sat Dec 11, 2010 10:53 am, edited 1 time in total.
Peace & Love

--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}

web design london
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Unable to install modules

Post by Nullig »

What errors are you getting with Module manager?

Nullig
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Unable to install modules

Post by Dr.CSS »

I have the same problem on one server that I work on, only solution I have is to get the module in another setup, on my comp./XAMPP, and FTP the modules folder to site...

I get no errors in ModMan, just a blank ModMan page after trying to use it to install with...
User avatar
pukka
Forum Members
Forum Members
Posts: 119
Joined: Thu Nov 12, 2009 6:02 pm

Re: Unable to install modules

Post by pukka »

Nullig wrote: What errors are you getting with Module manager?

Nullig

Same as Dr CSS. No errors just a blank module manager page.
Peace & Love

--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}

web design london
milehigh

Re: Unable to install modules

Post by milehigh »

PHP Effective Memory Limit (memory_limit)
20M

I think this is your problem. I find that some modules (form builder, gallery for example) require much more ram in order to install and use them. I set mine at 96 as a minimum.
mics
New Member
New Member
Posts: 6
Joined: Wed Mar 10, 2010 9:41 pm

Re: Unable to install modules

Post by mics »

Had the same problem. And increasing the memory limit to 100MB did the trick. Thanks!
User avatar
pukka
Forum Members
Forum Members
Posts: 119
Joined: Thu Nov 12, 2009 6:02 pm

Re: Unable to install modules

Post by pukka »

Anything else i can do if the hosting company refuse to increase the limit to 100M. ???
Peace & Love

--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}

web design london
ajprogramming
Forum Members
Forum Members
Posts: 24
Joined: Sat Jan 09, 2010 4:38 pm

Re: Unable to install modules

Post by ajprogramming »

Dr.CSS wrote: I have the same problem on one server that I work on, only solution I have is to get the module in another setup, on my comp./XAMPP, and FTP the modules folder to site...
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Unable to install modules

Post by calguy1000 »

There are numerous methods for installing modules, each with their own benefits and costs.

A: Automatic via Module Manager (Click on a module and it installs all the dependencies)
 - Pros:  
   : Nice and convenient, one click installs)
 - Cons:
    : Requires sometimes dramatically greater resources (memory, script execution time)
    : Files are owned by the httpd process owner, depending on your environment this may not be     what you want

B: Semi-Automatic (Click on one module at a time, and install the modules resolving the dependencies manually)
   - Pros:  
     : Somewhat convenient.
   - Cons:
     : Resource requirements are high, but not as high as method A
     : You have to find all the dependencies yourself.  Though they can be viewed through the
        help link in ModuleManager
     : It's a little click intensive
    : Files are owned by the httpd process owner, depending on your environment this may not be     what you want

C: Manual XML Method (Download the .xml files directly from the forge... and install them manually
    via Extensions >> Modules)
   - Pros:
     : Can be convenient if you already have a set of xml files that you use
     : You can use the XML files you generated from another site
   - Cons
     : It can be a slow process to find and download all the xml files from the forge
     : Resource requirements are more than normal, but typically less than A and B
    : Files are owned by the httpd process owner, depending on your environment this may not be     what you want
   
D: Manual FTP Method (download the .zip or .tar.gz files from the forge, expand them locally, upload to modules directory on your site).  Then click install link in "Extensions >> Modules"
   - Pros:
     : Very memory efficient (doesn't use any php memory)
     : Files are owned by the FTP account owner / or the user that uploaded the files    
   - Cons
     : It can be a slow process to find and download all the .tar.gz files or .zip files from the forge
     : FTP is slow, and unreliable (easy to upload corrupted files), and generally sucks
     : Very easy to overwrite existing files which you may not want to do
           
Does that summarize things for you?
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.
User avatar
pukka
Forum Members
Forum Members
Posts: 119
Joined: Thu Nov 12, 2009 6:02 pm

Re: Unable to install modules

Post by pukka »

Thanks for the breakdown Calguy.

In the past i have installed 1 or 2 modules via XML or FTP. It's just a tad annoying that i'll have to install them all manually via XML/FTP.

On the other hand it's quite a good thing to have so many different methods of installing them.


Thanks everyone.
Peace & Love

--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}

web design london
User avatar
pukka
Forum Members
Forum Members
Posts: 119
Joined: Thu Nov 12, 2009 6:02 pm

Re: Unable to install modules

Post by pukka »

Update:

I basically wiped everything and did a clean install. I was able to install some modules via XML upload but now i cannot see my Modules page (List of installed modules) or any info regarding modules on the module manager page or even the system information page (which is why i cannot post the information here).


The error message when i click on Extensions -> Modules is:
-------------------------------------------------------------------
Remote server or file not found

You tried to access the address http://www.mywebsite.com/admin/listmodu ... _=7b4ba190, which is currently unavailable. Please make sure that the web address (URL) is correctly spelled and punctuated, then try reloading the page.
-------------------------------------------------------------------


The system information page just comes up blank.


Is there a conflict between some modules and the new CMSMS 1.9.1?

Thanks
Last edited by pukka on Thu Dec 09, 2010 12:53 am, edited 1 time in total.
Peace & Love

--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}

web design london
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Unable to install modules

Post by Dr.CSS »

That sounds like some kind of conflict message which most times happens when a module doesn't install correctly, what modules are you trying to install and what was the last one, you may have to get in the root of the server, FTP or cPanel file manager, and delete the last modules folder from modules/...
User avatar
pukka
Forum Members
Forum Members
Posts: 119
Joined: Thu Nov 12, 2009 6:02 pm

Re: Unable to install modules

Post by pukka »

So i took your advice and deleted some modules.

Sitemapmadesimple seems to be the reason why the system information page disappeared.

SelfRegistration seems to be the reason why the modules page disappeared.

Edit: It seems NMS also makes the system information page disappear


Is there a way around this as Self Registration is a module i really need on this site. Sitemapmadesimple i can live without (although it'd be nice to have).

Is it a case of these modules not being fully compatible with the new CMSMS 1.9.1?
Last edited by pukka on Thu Dec 09, 2010 10:58 am, edited 1 time in total.
Peace & Love

--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}

web design london
User avatar
pukka
Forum Members
Forum Members
Posts: 119
Joined: Thu Nov 12, 2009 6:02 pm

Re: Unable to install modules

Post by pukka »

Ok so i donwgraded to 1.8.2 and tried again.

Below is my system information:

------------------------------------------------------
CMS Version

1.8.2

Installed Modules

CMSMailer

2.0

FileManager

1.0.2

MenuManager

1.6.5

ModuleManager

1.4

News

2.10.6

nuSOAP

1.0.2

Printing

1.1.0

Search

1.6.5

ThemeManager

1.1.1

TinyMCE

2.7.2

avplayer

1.3

CGExtensions

1.20

CGEcommerceBase

1.2.2

CGSimpleSmarty

1.4.5

CGPaymentGatewayBase

1.0.9

CGFeedback

1.2.1

Captcha

0.4.3

CTLModuleMaker

1.8.9.3

DLM

0.7.7

NMS

2.3.2

PaypalGateway

2.2

Products

2.8.7

FrontEndUsers

1.12.3

Showtime

1.0.5

FEmessages

1.1

SiteMapMadeSimple

1.2.1

CustomContent

1.7.3

Cart

1.7.2

Config Information

php_memory_limit:

 

process_whole_template:

false

output_compression:

false

max_upload_size:

20000000

default_upload_permission:

664

url_rewriting:

none

page_extension:

 

query_var:

page

use_hierarchy:

true

image_manipulation_prog:

GD

auto_alias_content:

true

locale:

 

default_encoding:

utf-8

admin_encoding:

utf-8

set_names:

true

debug:

false

root_url:

http://www.mywebsite.com

ssl_url:

https://www.mywebsite.com

root_path:

/home/linweb01/t/mywebsite.com/user/htdocs (0705)  

previews_path:

/home/linweb01/t/mywebsite.com/user/htdocs/tmp/cache (0777)  

uploads_path:

/home/linweb01/t/mywebsite.com/user/htdocs/uploads (0777)  

uploads_url:

http://www.mywebsite.com/uploads

image_uploads_path:

/home/linweb01/t/mywebsite.com/user/htdocs/uploads/images (0777)  

image_uploads_url:

http://www.mywebsite.com/uploads/images

ssl_uploads_url:

/uploads

use_smarty_php_tags:

false
PHP Information:

Current PHP Version (phpversion):

5.2.14  

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)  

Is E_STRICT disabled in error_reporting (E_STRICT):



PHP Effective Memory Limit (memory_limit):

20M  

Maximum Execution Time (max_execution_time):

30  

PHP output_buffering (output_buffering):

4096  

PHP Safe Mode (safe_mode):

Off (False)  

File uploads (file_uploads):

On (True)  

Maximum Post Size (post_max_size):

8M  

Maximum Upload Size (upload_max_filesize):

20M  

Session Save Path (session_save_path):

/tmp/ (1777)  

Sessions are allowed to use Cookies (session_use_cookies):

On (True)  

Basic XML (expat) support (xml_function):

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)  

disable_functions in PHP (disable_functions):

shell_exec, exec, system, passthru, popen, set_time_limit  

PHP Open Basedir (open_basedir):

 

Test for remote URL (test_remote_url):


fsockopen: Connection ok!  
fopen: Connection ok!  

Test ini_set (check_ini_set):

On (True)  
Server Information:

Server API (server_api):

cgi-fcgi  

Server Database (server_db_type):

MySQL (mysql)  

Server Database Version (server_db_version):

5.0.77  

Server Software (server_software):

Apache  

Server Operating System (server_os):

Linux 2.6.18-194.17.1.el5 On x86_64  

Permission Information

tmp:

/home/linweb01/t/mywebsite.com/user/htdocs/tmp (0777)  

templates_c:

/home/linweb01/t/mywebsite.com/user/htdocs/tmp/templates_c (0777)  

modules:

/home/linweb01/t/mywebsite.com/user/htdocs/modules (0777)  

File Creation Mask (umask):

/home/linweb01/t/mywebsite.com/user/htdocs/tmp/cache (0777)  

config_file:

0644  
config.php writable. It is more safe if you change permission to read-only
------------------------------------------------------


I basically had to write down what happened with the installation of each module.

The installation of FEU makes the module manager page go blank. If you uninstall it, the module manager page comes back

The installation of Products makes the module manager page go blank. If you uninstall it, the module manager page comes back.

Installing TreeManager makes the system information page disappear and prevents you from installing SelfRegistration module (module page goes blank). I have uninstalled TreeManager and consequently i'm now able to install the SelfRegistration module.

Installing SelfRegistration makes the system information page & module manager page go blank (the info above was obtained after i uninstalled TreeManager & before i installed SelfRegistration).


I am now unable to install the TreeManager module & consequently the Forum module (as forum module requires TreeManager module).


Any ideas how i go about installing TreeManager + Forum as i really need them for the site i'm working on.

Also any ideas how to fix the blank system information page + module manager page.


Edit: Installing SelfRegistration basically killed all other modules on the site  ???. When you go into the module page all the tabs are inactive and there is no information. Even core modules like News etc are not working. If I delete the SelfRegistration folder (it won't uninstall via the module page) via FTP the other modules start working again.


Help.
Last edited by pukka on Fri Dec 10, 2010 3:47 am, edited 1 time in total.
Peace & Love

--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}

web design london
User avatar
pukka
Forum Members
Forum Members
Posts: 119
Joined: Thu Nov 12, 2009 6:02 pm

Re: Unable to install modules

Post by pukka »

Turns out it was a memory issue.

I fixed it by adjusting config.php from

$config['php_memory_limit'] = '';

to $config['php_memory_limit'] = '64M';
Peace & Love

--------------------------------------------------------------------------
Useful stuff: {$entry->fields|@print_r}

web design london
Locked

Return to “[locked] Installation, Setup and Upgrade”