Page 1 of 1

[solved] CGEcommerceBase module could not be found & Orders

Posted: Wed Sep 27, 2017 4:01 pm
by paulbaker
Inherited a site which was 1.10.3. Had loads of unused modules where people had obviously had a stab at setting something up and then given up. I uninstalled and removed those modules via Module Manager - examples Favourites manager, Ecommerce base, Cart, Orders, BWTwitter....

Managed to upgrade through to 2.2.3.1 and the front end is working, back end working mostly too including page editing which was crashing originally.

However, when I go to Site Admin > Module Manager I see a white page:
ERROR: The CGEcommerceBase module could not be found.

Fatal error: Class 'Orders' not found in /home2/xxx/public_html/lib/classes/class.moduleoperations.inc.php on line 634
See screenshot:
red.png
Visiting that page generates nothing in the admin log and nothing in the php error log.

Here is the list of modules in the modules directory:
modules.jpg
Note FrontEndUsersTEMP and youtubeplayerTEMP were me renaming modules so they would not cause errors. Neither are required on the site. Was unable to remove FEU normally and forgot to remove youtubeplayer (incompatible with V2) before upgrade to V2.

How do I get Module Manager back up and working again?

Grateful for any ideas!

----------------------------------------------
Cms Version: 2.2.3.1
Installed Modules:
AdminSearch: 1.0.4
CGCalendar: 1.16.1
CGExtensions: 1.53.19
CGFeedMaker: 1.0.13
CGSimpleSmarty: 1.10
CGSmartImage: 1.21.9
CMSContentManager: 1.1.6
CMSMailer: 6.2.14
CmsJobManager: 0.1.1
DesignManager: 1.1.3
FileManager: 1.6.4
FilePicker: 1.0.1
FormBuilder: 0.8.1.6
FrontEndUsers: 1.17
Gallery: 2.3.2
MenuManager: 1.50.3
MicroTiny: 2.2.1
ModuleManager: 2.1.2
Navigator: 1.0.8
News: 2.51.3
Printing: 1.1.2
Search: 1.51.2
Showtime: 2.0.5
ThemeManager: 1.1.8
TinyMCE: 2.9.6
nuSOAP: 1.0.2
youtubeplayer: 1.3.1

Config Information:
php_memory_limit:
max_upload_size: 64000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: America/Chicago
permissive_smarty: false

Php Information:
phpversion: 5.6.30
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 32759
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: 256M
max_execution_time: 30
register_globals: Off (False)
output_buffering: On
disable_functions: dl
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 64M
upload_max_filesize: 64M
session_save_path: /tmp (1777)
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: Off (False)
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 3.10.0-614.10.2.lve1.4.50.el6h.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.6.32
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:
tmp: /home/xxx/public_html/tmp (0755)
tmp_cache: /home/xxx/public_html/tmp/cache (0755)
templates_c: /home/xxx/public_html/tmp/templates_c (0755)
modules: /home/xxx/public_html/modules (0755)
uploads: /home/xxx/public_html/uploads (0755)
File Creation Mask (umask): /home/xxx/public_html/tmp/cache (0755)
config_file: 0444
----------------------------------------------

Re: CGEcommerceBase module could not be found, Orders too

Posted: Wed Sep 27, 2017 4:12 pm
by calguy1000
CGEcommerceBase is an explicit dependency of the Orders module. so you will have to restore it.

Also, "rm modules/*/moduleinfo.ini" and clear cache.

You can also get rid of nuSOAP and probably Printing as it's no longer distributed, and may not work.

Re: CGEcommerceBase module could not be found, Orders too

Posted: Wed Sep 27, 2017 4:42 pm
by paulbaker
calguy1000 wrote:CGEcommerceBase is an explicit dependency of the Orders module. so you will have to restore it.
Thanks Calguy. I have backups at various points through the upgrade. When you say restore it what exactly do you mean? Do you mean re-enable/re-install CGEcommerceBase? Is there a way of doing that without using Module Manager or going back to a previous backup point

And when I uninstalled CGEcommerceBase and Orders I did them "properly" using Module Manager - not by hiding the directory, so isn't this just going to happen again?

Cheers

Re: CGEcommerceBase module could not be found, Orders too

Posted: Wed Sep 27, 2017 6:07 pm
by calguy1000
If you cleanly uninstalled Orders, then Uninstalled CGEcommerceBase, then removed the CGEcommerceBase module, to get rid of the errors I would now remove the Orders module.

You should then be able to install Orders and CGEcommerceBase directly through the ModuleManager. Again, if you uninstalled them cleanly.

Re: CGEcommerceBase module could not be found, Orders too

Posted: Wed Oct 04, 2017 2:30 pm
by paulbaker
Thanks again Calguy. I got Module Manager back to life by hiding directories modules/Orders and then modules/PaypalGateway.