Fatal error when certain modules are uninstalled

Hello,

For example when the module Blog, Ads or others are uninstalled and I go to the url: http://localhost/Dolphin7.0.6/ads 

it displays this error:

 

Warning: require_once(/var/www/Dolphin7.0.6/modules/classes/Config.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/Dolphin7.0.6/inc/classes/BxDolModule.php on line 77

 

Fatal error: require_once() [function.require]: Failed opening required '/var/www/Dolphin7.0.6/modules/classes/Config.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/Dolphin7.0.6/inc/classes/BxDolModule.php on line 77

 

This is a bug because it is present on all versions of Dolphin unless the parameters of the modules are deleted in the file .htaccess

Free Dating Site on: http://coolonweb.com
Quote · 7 Jun 2011

Why would you go in a page of a module that you have just uninstalled?

Every php file that is inside your site is visible by using its URL(if not specified in the .hatccess).

To completely uninstall a module you should also delete all the files inside your server related to that module.

Now you see that error, but you could also see a database query error. It is normal, when the module has been uninstalled necessary functions and database tables are no more in place and the file will show an error.

This is not a bug.

You are simply not supposed to visit a page of an uninstalled module.

IF you want your site to be errors free (even for uninstalled modules) you should then delete all the files that are related to that uninstalled module.

And if you delete the string in the .hatccess you will not solve the issue as you think. You are just deleting the URL mask, that file will be visible anyway, with the same error by going to the normal URL.

Regards

Yobi

Web Development, Multimedia Design and Social Media.
Quote · 7 Jun 2011

re: "IF you want your site to be errors free (even for uninstalled modules) you should then delete all the files that are related to that uninstalled module."

That is not always easy.


Quote · 8 Jun 2011

Individual .htaccess entries for modules should be removed by Dolphin 8, according to the most recent version of the .htaccess file (from the repo).

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 8 Jun 2011

i have the same problem, But i unistalled most the modules by mistake ( i thought i was working on a different site silly me!) now i have the same error,

INSERT INTO `sys_menu_admin` (`id`, `parent_id`, `name`, `title`, `url`, `description`, `icon`, `icon_large`
, `check`, `order`) VALUES(NULL, @iExtCat, 'Quotes', '_bx_Quotes', '{siteUrl}modules/?r=quotes/administratio
n/', 'Quotes administration', 'mmi_host_tools.gif', '', '', @iExtOrd+1);

i have re-installed most of the mods  but am left with

ads

blogs

custom rss

qoutes

open social

can anyone tell me how to (idiot guide please) re install the mods.

mart  can email me at mc@mart-cash.com

Quote · 25 Oct 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.