Page 1 of 1

Phoca PDF - uninstallation gave blank website - what to do?

Posted: 07 Oct 2009, 22:30
by meeks
Hi.

I just installed the Phoca PDF component v1.0.2, content plugin v1.0.3 and a freeserif font. Installation went fint. After testing it a bit, I decided to uninstall everything. I went to install/uninstall in the Joomla menu and uninstalled the Phoca PDF component. Next thing that happens is that my website just goes blank. No pages work, there's no way to login either. I have FTP access, that's all.

Now the question is: how do I get my website back online? I have a backup of the site as well as a database dump (a few weeks old but that will do) but is that really my only solution?

What could Phoca PDF have tampered with since it can make my site unavaliable? How should I proceed to fix it?

Hope someone can help me out here. Thanks in advance.

Meeks

Re: Phoca PDF - uninstallation gave blank website - what to do?

Posted: 08 Oct 2009, 13:46
by Jan
Hi, I see it now. There was include_once to continue displaying administration in case the plugin is enabled and the component doesn't exists anymore, but there was added new class for handling IE7 bug.

So it means, the system plugin displays fatal error and will not render the administration again (in case the component were uninstalled before the plugin).

Do the following:

1) Download new fixed plugin (version 1.0.4) here:
https://www.phoca.cz/download/category/3 ... ent-plugin

2) Unzip the installation ZIP file and copy this file "phocapdfcontent.php"
FROM: root of this ZIP file
TO: (your server's folder) plugins/system/

Now the phocapdfcontent.php (version 1.0.3) will be overwritten by phocapdfcontent.php (version 1.0.4) and in this version this error handling is fixed. So it means, if the component is uninstalled and there is still active the system plugin (Phoca PDF Content Plugin) it will display an error message:
Phoca PDF component is not installed on your system but Phoca PDF Content Plugin is enabled. Install Phoca PDF component or disable Phoca PDF Content Plugin in Plugin Manager.
The error message is displayed but it lets you display the administration so you can disable the Plugin in Plugin Manager (or uinstall the plugin). After disabling the plugin, the message will be hidden and the administration will be displayed normally.

Please let me know, if everything is OK after doing these changes.

Jan

Re: Phoca PDF - uninstallation gave blank website - what to do?

Posted: 08 Oct 2009, 21:28
by meeks
Hi Jan.

Thanks for getting back and thanks for providing a solution. I haven't tried what you suggest, as I made my website available shortly after my post by deleting the two plugin files by ftp access. Then I deleted the plugin entry from the database. Everything was back to normal and I could wipe the sweat off my forehead.

I will give the updated version a try soon again.

Regards,

Meek.

Re: Phoca PDF - uninstallation gave blank website - what to do?

Posted: 08 Oct 2009, 22:03
by Jan
Ok