Topic-icon Problem Re-Installing JFB

Active Subscriptions:

None
13 years 3 months ago #30984 by kevamo
Hi guys,

Yesterday I decided to remove all my website data from the ftp server and to upload an older version (I created this version without using JFB) of my website to the server. Now I`m trying to upload the JFB components to my website. Unfortunaetly Joomla won`t let me do this. This is the error I`m getting from Joomla:

Component Install: DB function reports no errors
Error installing component

I already discovered that there still were some jfb files left on my server and on my database. I deleted all database tables that started with jfb or with open graph from the server. In Joomla there are still some names of JFB plugins left, but I don`t know how to get rid of them. However when I click on them I get error 404.

Can you tell me what to do? My goal is to re-install jfb.

Thanks,
Kevin

I'm using Joomla 2.5
The topic has been locked.
Support Specialist
13 years 3 months ago #31002 by alzander
Replied by alzander on topic Problem Re-Installing JFB
I'm not sure what would be causing the problems your having. Generally, using the uninstaller in Joomla will remove your files correctly. It's true our database tables do not remove automatically. That's intentional to make sure user-connections, settings, and all the other data isn't removed when a user uninstalls. Generally, uninstallation is followed by another installation, and having to re-configure or (even worse) make you're users re-authenticate is a no-go.

I'm a bit confused on what you actually did though. Simply removing the files for plugins or modules isn't going to remove a lot of the information that Joomla stores in your database about those files. So the database will think (for instance) the jfbcsystem plugin is still installed yet there's no files there to 'run'. That's bad if that's the case.

Our component installer is smart enough to upgrade the database whenever installed to make sure your database tables are up-to-date with any changes and shouldn't have any problems with re-installing. The message "Component Install: DB function reports no errors" shows that that probably worked properly. However, it may be the installation of our plugins that is causing Joomla issues. Since it still thinks the plugins are installed, it will try to delete the directories first and then copy over the files. If those directories don't exist, Joomla may be throwing an error during the deletion before copy stage.

What I'd recommend is unzipping the component zip package you're trying to install.
* Go to the /admin/install/packages directory.
* You should see about 4 more zip files (the sclogin module, and jfbcauthenticate, jfbccontent, jfbcsystem, jfbcuser plugins).
* Try installing each of those manually and see what happens.
* If you get each of them to install, try the main component zip installer again.
* If any of those separate files fails, let us know if there's a different error message (or anything) we can work with. If not, you may need to unzip each of those file contents into the right folders in your Joomla structure so that Joomla properly sees the files there for the extensions it still thinks are installed.

Hope that all makes sense. Let us know how it goes,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 3 months ago #31045 by kevamo
Replied by kevamo on topic Problem Re-Installing JFB
Hi Alex,

Thanks again for your quick reply.

I uploaded the following components (the sclogin module, and jfbcauthenticate, jfbccontent, jfbcsystem, jfbcuser plugins) to my website and it worked fine. But when I tried to upload the main component zip I got the same error as before (Error installing component). In your post you wrote "If not, you may need to unzip each of those file contents into the right folders in your Joomla structure so that Joomla properly sees the files there for the extensions it still thinks are installed." Can you please tell me where to put which component.

THX
Kevin
The topic has been locked.
Active Subscriptions:

None
13 years 3 months ago #31096 by kevamo
Replied by kevamo on topic Problem Re-Installing JFB
Maybe this helps a little. There are still a lot of components listed in my extension manager that actually do not exist anymore as I have removed my entire website that contained the jfb files by an older version of the website I produced without using jfb. When I`m now trying to delete those ghost components I get the following error message:


JFolder: :files: Path is not a folder. Path: /kunden/291353_81375/webseiten/QuotenQuizSite/modules/mod_jfbccomments
JInstaller: :Install: Cannot find XML setup file
JFolder: :files: Path is not a folder. Path: /kunden/291353_81375/webseiten/QuotenQuizSite/modules/mod_jfbccomments
JInstaller: :Install: Cannot find XML setup file
JFolder: :files: Path is not a folder. Path: /kunden/291353_81375/webseiten/QuotenQuizSite/modules/mod_jfbccomments
JInstaller: :Install: Cannot find XML setup file
JFolder: :delete: Path is not a folder. Path: /kunden/291353_81375/webseiten/QuotenQuizSite/modules/mod_jfbccomments
Module Uninstall: Manifest file invalid or not found.
I believe this is because joomla then realizes the the files he is trying to uninstall are no longer there. The problem is that I can`t reinstall the jfb files because joomla won`t let me to. I really don`t understand why all these ghost files keep appearing.
The topic has been locked.
Support Specialist
13 years 3 months ago #31104 by alzander
Replied by alzander on topic Problem Re-Installing JFB
There are no 'ghost' files. The issue is that since you removed the files without using the Joomla uninstaller, the Joomla database still thinks those files are there. It has no way of knowing that they are gone. When you do an uninstall, Joomla looks at the xml install file in the modules directory to see what files were originally installed and then tries to delete them. Since that directory, and the XML file itself don't exist, you're getting that error.

Here's what I would recommend:
Main JFBConnect component
* Unzip the com_jfbconnect...zip file on your computer
* Upload the contents of the /admin folder to /administrator/components/com_jfbconnect
* Upload the contents of the /component folder to /components/com_jfbconnect/
* Then try to re-install

Modules
* Pretty much do the same.. unzip each mod_jfbcxyz.zip file to the /modules/mod_jfbcxyz directory.
* Then, re-install the files

Let us know how that goes. Hopefully, that's all there is too it. As you can tell, Joomla doesn't handle changes very well if you don't follow the normal routine. In the future, it's definitely best to use the uninstaller to remove files. Or, if you 'roll back' to an older version of your site, make sure you use the old database as well.

Good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 3 months ago #31279 by kevamo
Replied by kevamo on topic Problem Re-Installing JFB
Hi Alex,

Thanks for your reply.
I did as you told me. After uploading the components to my server I tried to reinstall and received this error:

JInstaller: :Install: Cannot find XML setup file
JInstaller: :Install: Cannot find XML setup file
Library Uninstall: Manifest file invalid or not found.

Further down it tells me that Installing the component was successfull and

JFBConnect Authentication Plugin successfully installed.
JFBConnect User Plugin successfully installed.
JFBConnect System Plugin successfully installed.
JFBConnect Content Plugin successfully installed.
SCLogin / JFBConnect Login successfully installed.
SourceCoast Social Library successfully installed.

Is that bad? Do I need to do anything or can I ignore the error message?

Many thanks in advance,
Kevin
The topic has been locked.
Support Specialist
13 years 3 months ago #31283 by alzander
Replied by alzander on topic Problem Re-Installing JFB
Kevin,
I'm not sure. It sounds like the sub-packages our component tries to install failed. Those are the plugins, like our authentication, user, system, or content plugins and the SCLogin module. That could be a tmp directory issue, and overwrite of previous files issue (permissions, ownership), or many other things.

Check the following:
* The JFBConnect Overview page. Do the versions there are say they are up to date?
* Go to the Joomla Extension Manager -> Updates and hit "Purge Cache" and then "Refresh". See if anything related to JFBConnect shows that it needs an update. If so, update it. If not, that's good.

If those seem ok, then all I can say is test. Obviously, something isn't perfect, but it's possible all the steps you've taken have properly got all the files on there. If you run into any issues while testing, let us know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 3 months ago #31566 by kevamo
Replied by kevamo on topic Problem Re-Installing JFB
Hi Alex,
Thanks again for your support.
I re-did the entire website and now it runs smoothly as it is supposed to.
Kevin
The topic has been locked.
Support Specialist
13 years 3 months ago #31572 by alzander
Replied by alzander on topic Problem Re-Installing JFB
Kevin,
Very glad to hear it sounds like you got things going. I hate to hear you had to 're-do' the entire website, but hopefully there were other issues or reasons for doing that than just JFBConnect.

Either way, best of luck. Should you need anything else from us, you know where to look :)

Thanks,
Alex
The topic has been locked.