[solved] CGEcommerceBase module could not be found & Orders

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

[solved] CGEcommerceBase module could not be found & Orders

Post 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
----------------------------------------------
Last edited by paulbaker on Thu Oct 05, 2017 1:56 pm, edited 2 times in total.
Reason: Removed (slightly) identifying info
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: CGEcommerceBase module could not be found, Orders too

Post 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.
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
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: CGEcommerceBase module could not be found, Orders too

Post 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
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: CGEcommerceBase module could not be found, Orders too

Post 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.
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
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

Re: CGEcommerceBase module could not be found, Orders too

Post by paulbaker »

Thanks again Calguy. I got Module Manager back to life by hiding directories modules/Orders and then modules/PaypalGateway.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Post Reply

Return to “CMSMS Core”