2011-03-22, 03:51:59
How do I manually disable/remove a plugin from the plugin page and thus the system? I accidentally deleted the plugin files and am now unable to reach the backend. I copied the stuff back, but something's messed up.
ccagle8 Wrote:Thanks for digging into this. So i assume its a bug in our system where if you delete files from a plugin without disabling it first, the system can become unusable...?Indeed. I had the situation this morning already, but was able to solve the problem by just copying back deleted files/folders.
Quote:Warning: file_get_contents(/www/htdocs/foo/data/other/user.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /www/htdocs/foo/admin/inc/basic.php on line 218
Notice: Trying to get property of non-object in /www/htdocs/w00d0ba4/2011/plugins/p01-contact_gs.php on line 69
Quote:Notice: Trying to get property of non-object in /www/htdocs/foo/plugins/p01-contact_gs.php on line 69
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00d0ba4/2011/plugins/p01-contact_gs.php:69) in /www/htdocs/foo/admin/inc/cookie_functions.php on line 30
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00d0ba4/2011/plugins/p01-contact_gs.php:69) in /www/htdocs/foo/admin/inc/login_functions.php on line 81
Error: Headers already sent in /www/htdocs/foo/plugins/p01-contact_gs.php on line 69 If your browser does not redirect you, click here
ccagle8 Wrote:Not sure what's causing it. Try renaming plugins.xml to plugins-old.xml and renaming the plugins directory to /plugins-old/No luck there. After renaming the plugin folder and plugins.xml:
Quote:Notice: Undefined variable: pluginfiles in /www/htdocs/foo/admin/inc/plugin_functions.php on line 110
Warning: Invalid argument supplied for foreach() in /www/htdocs/foo/admin/inc/plugin_functions.php on line 110
Warning: require_once(/www/htdocs/foo/plugins/i18n_navigation.php) [function.require-once]: failed to open stream: No such file or directory in /www/htdocs/foo/admin/inc/plugin_functions.php on line 43
Fatal error: require_once() [function.require]: Failed opening required '/www/htdocs/foo/plugins/i18n_navigation.php' (include_path='.:/usr/share/php:..') in /www/htdocs/foo/admin/inc/plugin_functions.php on line 43
Quote:Warning: file_get_contents(/www/htdocs/foo/data/other/user.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /www/htdocs/foo/admin/inc/basic.php on line 218
Notice: Trying to get property of non-object in /www/htdocs/foo/plugins/p01-contact_gs.php on line 69
Quote:Warning: file_get_contents(/www/htdocs/foo/data/other/user.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /www/htdocs/foo/admin/inc/basic.php on line 218
Notice: Trying to get property of non-object in /www/htdocs/foo/plugins/p01-contact_gs.php on line 69
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/foo/admin/inc/basic.php:218) in /www/htdocs/foo/admin/inc/cookie_functions.php on line 30
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/foo/admin/inc/basic.php:218) in /www/htdocs/foo/admin/inc/login_functions.php on line 81
Error: Headers already sent in /www/htdocs/foo/admin/inc/basic.php on line 218 If your browser does not redirect you, click here
yojoe Wrote:Did you try to login under other browser or at least clear cache in your current one and restart it ?Thanks for the hints, already tried that though. Same result.
I've never run into problems with deleting plugins. I just needed to reload twice the admin panel in order to get rid of all hooks left by plugin, and that was all.
yojoe Wrote:hmm...did you mess with template file or template functions ?No messing with template or template functions.
Try to overwrite them with a backup file (disable by renaming or deleting functions.php temporarily).
yojoe Wrote:Of course you got rid of all calls for contact plugin in created pages ?I had no chance to put any calls anywhere, the accidental deletion happened soon after I'd put the plugin files into the plugins folder.
yojoe Wrote:Can you rename /data/pages to something else, and create a new /pages directory ?Yes, but doesn't do anything noticeable except cause 404 errors, heh.
ccagle8 Wrote:is there anything inside /data/other/logs/errorlog.txt ? I assume you've turned on debugging...Yeah, got debugging set to ON. Here's what I've got:
n00dles101 Wrote:don't think this is a problem with the plugin system.Yeah, starting to think that as well.
Does look like its a problem with the p01-contact plugin....
n00dles101 Wrote:I've successfully installed and deleted various plugins and I'm unable to replicate the problem.Yeah, me too.
n00dles101 Wrote:I'll investigate some more....Thanks, n00dles! I'll post a link to this to the respective plugin forum.
Quote:Warning: file_get_contents(/www/htdocs/foo/data/other/user.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /www/htdocs/foo/admin/inc/basic.php on line 218
Notice: Trying to get property of non-object in /www/htdocs/foo/plugins/p01-contact_gs.php on line 69
ccagle8 Wrote:Thanks for digging into this. So i assume its a bug in our system where if you delete files from a plugin without disabling it first, the system can become unusable...?
Warning: file_get_contents(/home/christch/public_html/data/other/user.xml) [function.file-get-contents]: failed to open stream: No such file or directory in /home/christch/public_html/admin/inc/basic.php on line 218
Notice: Trying to get property of non-object in /home/christch/public_html/plugins/p01-contact_gs.php on line 69
/home/christch/public_html/theme/simpletheme/template.php on line 43