Page 1 of 1

Can't update CGSharedContent

Posted: Sun Oct 01, 2017 6:44 am
by urheat
Can't update CGSharedContent. Upgrade link is not visible in Module Manager and there is a message in next to CGSharedContent:

Code: Select all

This module cannot be loaded. Possibly due to dependencies
Depends on: CGExtensions
I've updated the CGExtensions. And cleared the cache.



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

Cms Version: 2.2.3.1

Installed Modules:

AdminSearch: 1.0.4
CGExtensions: 1.57
CGSharedContent: 1.0.1
CMSContentManager: 1.1.6
CMSMailer: 6.2.14
Captcha: 0.5.5
CmsJobManager: 0.1.1
DesignManager: 1.1.3
FileManager: 1.6.4
FilePicker: 1.0.1
FormBuilder: 0.8.1.6
Gallery: 2.3.2
MenuManager: 1.50.3
MicroTiny: 2.2.1
ModuleManager: 2.1.2
Navigator: 1.0.8
News: 2.51.3
Search: 1.51.2
Showtime2: 3.5.4


Config Information:

php_memory_limit:
max_upload_size: 2000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/Helsinki
permissive_smarty: false


Php Information:

phpversion: 5.4.45
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 32767
E_STRICT: 2048
E_DEPRECATED: 8192
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 30
register_globals: Off (False)
output_buffering: 4096
disable_functions: show_source, system, shell_exec, passthru, exec, popen, proc_open, escapeshellarg, escapeshellcmd, symlink
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 2M
session_save_path: /tmp (0700)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On


Performance Information:

allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)

Server Information:

Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 2.6.32-673.26.1.lve1.4.25.el6.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.54
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable


Permission Information:

tmp: /home/ravinto1/public_html/tmp (0755)
tmp_cache: /home/ravinto1/public_html/tmp/cache (0755)
templates_c: /home/ravinto1/public_html/tmp/templates_c (0755)
modules: /home/ravinto1/public_html/modules (0755)
uploads: /home/ravinto1/public_html/uploads (0755)
File Creation Mask (umask): /home/ravinto1/public_html/tmp/cache (0755)
config_file: 0444

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

Re: Can't update CGSharedContent

Posted: Sun Oct 01, 2017 7:41 am
by Rolf
Go to the module folder at the server. There will be a file named module.ini, delete that. Afterward go back to Module Manager and upgrade should be possible

Re: Can't update CGSharedContent

Posted: Sun Oct 01, 2017 10:52 am
by urheat
Thanks Rolf,

in module folder there are no files. In every module's own folder there is moduleinfo.ini, but I think that you didn't refer to that. Or did you? If you did, did you mean I should delete moduleinfo.ini from the CGSharedContent or CGExtensions folder.

Also... my CGSharedContent is 1.0.1 and the ModuleManager says that there is update available. In forge the latest is 1.0.1.

Re: Can't update CGSharedContent

Posted: Sun Oct 01, 2017 2:16 pm
by Rolf
urheat wrote:If you did, did you mean I should delete moduleinfo.ini from the CGSharedContent or CGExtensions folder.
Yeah that is what I meant, typed the wrong name... sorry about that. Deleting that file can't hurt, it will be regenerated by Module Manager.

Re: Can't update CGSharedContent

Posted: Sun Oct 01, 2017 5:32 pm
by urheat
Ok - so I delete that from the CGSharedContent folder? And what about the fact that I have the latest version? I just ignore the message? Should I report a bug, 'cause as I see it, the message is misleading and there should not be upgrade message in the first place.

Re: Can't update CGSharedContent

Posted: Sun Oct 01, 2017 5:40 pm
by Rolf
This is probably related to a bug in a earlier core version...

Re: Can't update CGSharedContent

Posted: Thu Oct 12, 2017 10:16 am
by tristan
Got this problem as well, removing moduleinfo.ini always fixes the problem. Is it safe to remove all moduleinfo.ini files in CMS Made Simple versions 2.2.3 and upwards? Maybe this should be added to the installer?