Ok. Now I may have done it. I moved my custom module out of the Sugar tree and tried rebuilding to get rid of it, and the following errors are comming up durring the rebuild. When I go to the home page I get SQL errors. Any suggestions on how to correct these errors? I dont want to just start bashing around. I am guessing I need to remove some references to the module in the sql db.
Warning: require_once(modules/loans_Loans/loans_Loans.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/VantageCRM/modules/Administration/repairDatabase.php on line 101
Fatal error: require_once() [function.require]: Failed opening required 'modules/loans_Loans/loans_Loans.php' (include_path='/var/www/VantageCRM/include/..:.:/usr/share/php:/usr/share/pear') in /var/www/VantageCRM/modules/Administration/repairDatabase.php on line 101
The offending code in repairDatabase.php seems to be:
Code:
for each ($beanFiles as $bean => $file) (
require_once ($file);
$focus = new $bean ();
Any suggestions as to what I need to remove so as to not call this for the module that I am removing?
Can I remove the database tables to the module without breaking other things?
Bookmarks