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

Phoca PDF - creating PDF documents in Joomla! CMS
meeks
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 Oct 2009, 22:13

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
meeks
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 Oct 2009, 22:13

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

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply