Forum archive, Components

Component Install: Another Component is already using direct

Started by rob on 3 June 2009. This topic is archived: replies are closed.

Posted by rob · 3 June 2009

I had previously had a portfolio component installed, but I didn't like the way it worked.

Now I'm trying to install Portfolio Design and getting the following error...

Component Install: Another Component is already using directory: "/home/content/I/V/M/IVMROB/html/IVMWEBSOLUTIONS/components/com_portfolio"

I've deleted the table entry in the database for the portfolio, but still no luck.

Suggestions?

Reply from rob · 3 June 2009

I'm attempting to extract the Portfolio Design files using FileZilla to put the component files in the right directory.

We'll see it that works.

Reply from rob · 3 June 2009

My previous attempt did not work so I deleted the com_portfolio folder from the components directory. Then I tried to install through Joomla and I got this message:

* JInstaller::install: SQL Error. DB function failed with error number 1050 Table 'jos_portfolio_categories' already exists SQL=CREATE TABLE `jos_portfolio_categories` ( `id` int(11) NOT NULL auto_increment, `title` varchar(255) NOT NULL, `header` mediumtext NOT NULL, `intro` mediumtext NOT NULL, `description` mediumtext NOT NULL, `footer` mediumtext NOT NULL, `published` tinyint(1) NOT NULL default '0', `ordering` int(11) NOT NULL, `display_num` int(5) NOT NULL, `autoresize` int(1) NOT NULL default '0', `skins` varchar(255) NOT NULL default '0', `listingWidth` varchar(255) NOT NULL default '0', `largeWidth` varchar(255) NOT NULL default '0', `addSmallWidth` varchar(255) NOT NULL default '0', `addLargeWidth` varchar(255) NOT NULL default '0', `s_cat_col` int(5) NOT NULL default '0', `s_cat_title` int(1) NOT NULL default '0', `s_cat_image` int(1) NOT NULL default '0', `s_cat_description` int(1) NOT NULL default '0', `s_cat_header` int(1) NOT NULL default '0', `s_cat_footer` int(1) NOT NULL default '0', `s_cat_total` int(1) NOT NULL default '0', `s_cat_pagenav` int(1) NOT NULL default '0', `s_cat_item_image_click_go` int(1) NOT NULL default '-1', `s_cat_item_title` int(1) NOT NULL default '0', `s_cat_item_title_linkable` int(1) NOT NULL default '0', `s_cat_item_additional_images` int(1) NOT NULL default '0', `s_cat_item_time` int(1) NOT NULL default '0', `s_cat_item_description_title` int(1) NOT NULL default '0', `s_cat_item_description` int(1) NOT NULL default '0', `s_cat_item_technology_title` int(1) NOT NULL default '0', `s_cat_item_technology` int(1) NOT NULL default '0', `s_cat_item_client_title` int(1) NOT NULL default '0', `s_cat_item_client` int(1) NOT NULL default '0', `s_cat_item_status_title` int(1) NOT NULL default '0', `s_cat_item_status` int(1) NOT NULL default '0', `s_cat_item_web_title` int(1) NOT NULL default '0', `s_cat_item_web` int(1) NOT NULL default '0', `s_cat_item_client_testimonial_title` int(1) NOT NULL default '0', `s_cat_item_testimonial` int(1) NOT NULL default '0', `s_cat_item_detail_link` int(1) NOT NULL default '0', PRIMARY KEY (`id`) ) ; SQL =

CREATE TABLE `jos_portfolio_categories` ( `id` int(11) NOT NULL auto_increment, `title` varchar(255) NOT NULL, `header` mediumtext NOT NULL, `intro` mediumtext NOT NULL, `description` mediumtext NOT NULL, `footer` mediumtext NOT NULL, `published` tinyint(1) NOT NULL default '0', `ordering` int(11) NOT NULL, `display_num` int(5) NOT NULL, `autoresize` int(1) NOT NULL default '0', `skins` varchar(255) NOT NULL default '0', `listingWidth` varchar(255) NOT NULL default '0', `largeWidth` varchar(255) NOT NULL default '0', `addSmallWidth` varchar(255) NOT NULL default '0', `addLargeWidth` varchar(255) NOT NULL default '0', `s_cat_col` int(5) NOT NULL default '0', `s_cat_title` int(1) NOT NULL default '0', `s_cat_image` int(1) NOT NULL default '0', `s_cat_description` int(1) NOT NULL default '0', `s_cat_header` int(1) NOT NULL default '0', `s_cat_footer` int(1) NOT NULL default '0', `s_cat_total` int(1) NOT NULL default '0', `s_cat_pagenav` int(1) NOT NULL default '0', `s_cat_item_image_click_go` int(1) NOT NULL default '-1', `s_cat_item_title` int(1) NOT NULL default '0', `s_cat_item_title_linkable` int(1) NOT NULL default '0', `s_cat_item_additional_images` int(1) NOT NULL default '0', `s_cat_item_time` int(1) NOT NULL default '0', `s_cat_item_description_title` int(1) NOT NULL default '0', `s_cat_item_description` int(1) NOT NULL default '0', `s_cat_item_technology_title` int(1) NOT NULL default '0', `s_cat_item_technology` int(1) NOT NULL default '0', `s_cat_item_client_title` int(1) NOT NULL default '0', `s_cat_item_client` int(1) NOT NULL default '0', `s_cat_item_status_title` int(1) NOT NULL default '0', `s_cat_item_status` int(1) NOT NULL default '0', `s_cat_item_web_title` int(1) NOT NULL default '0', `s_cat_item_web` int(1) NOT NULL default '0', `s_cat_item_client_testimonial_title` int(1) NOT NULL default '0', `s_cat_item_testimonial` int(1) NOT NULL default '0', `s_cat_item_detail_link` int(1) NOT NULL default '0', PRIMARY KEY (`id`) ) ;

* Component Install: SQL error or missing or unreadable SQL file. DB function failed with error number 1050 Table 'jos_portfolio_categories' already exists SQL=CREATE TABLE `jos_portfolio_categories` ( `id` int(11) NOT NULL auto_increment, `title` varchar(255) NOT NULL, `header` mediumtext NOT NULL, `intro` mediumtext NOT NULL, `description` mediumtext NOT NULL, `footer` mediumtext NOT NULL, `published` tinyint(1) NOT NULL default '0', `ordering` int(11) NOT NULL, `display_num` int(5) NOT NULL, `autoresize` int(1) NOT NULL default '0', `skins` varchar(255) NOT NULL default '0', `listingWidth` varchar(255) NOT NULL default '0', `largeWidth` varchar(255) NOT NULL default '0', `addSmallWidth` varchar(255) NOT NULL default '0', `addLargeWidth` varchar(255) NOT NULL default '0', `s_cat_col` int(5) NOT NULL default '0', `s_cat_title` int(1) NOT NULL default '0', `s_cat_image` int(1) NOT NULL default '0', `s_cat_description` int(1) NOT NULL default '0', `s_cat_header` int(1) NOT NULL default '0', `s_cat_footer` int(1) NOT NULL default '0', `s_cat_total` int(1) NOT NULL default '0', `s_cat_pagenav` int(1) NOT NULL default '0', `s_cat_item_image_click_go` int(1) NOT NULL default '-1', `s_cat_item_title` int(1) NOT NULL default '0', `s_cat_item_title_linkable` int(1) NOT NULL default '0', `s_cat_item_additional_images` int(1) NOT NULL default '0', `s_cat_item_time` int(1) NOT NULL default '0', `s_cat_item_description_title` int(1) NOT NULL default '0', `s_cat_item_description` int(1) NOT NULL default '0', `s_cat_item_technology_title` int(1) NOT NULL default '0', `s_cat_item_technology` int(1) NOT NULL default '0', `s_cat_item_client_title` int(1) NOT NULL default '0', `s_cat_item_client` int(1) NOT NULL default '0', `s_cat_item_status_title` int(1) NOT NULL default '0', `s_cat_item_status` int(1) NOT NULL default '0', `s_cat_item_web_title` int(1) NOT NULL default '0', `s_cat_item_web` int(1) NOT NULL default '0', `s_cat_item_client_testimonial_title` int(1) NOT NULL default '0', `s_cat_item_testimonial` int(1) NOT NULL default '0', `s_cat_item_detail_link` int(1) NOT NULL default '0', PRIMARY KEY (`id`) ) ; SQL =

CREATE TABLE `jos_portfolio_categories` ( `id` int(11) NOT NULL auto_increment, `title` varchar(255) NOT NULL, `header` mediumtext NOT NULL, `intro` mediumtext NOT NULL, `description` mediumtext NOT NULL, `footer` mediumtext NOT NULL, `published` tinyint(1) NOT NULL default '0', `ordering` int(11) NOT NULL, `display_num` int(5) NOT NULL, `autoresize` int(1) NOT NULL default '0', `skins` varchar(255) NOT NULL default '0', `listingWidth` varchar(255) NOT NULL default '0', `largeWidth` varchar(255) NOT NULL default '0', `addSmallWidth` varchar(255) NOT NULL default '0', `addLargeWidth` varchar(255) NOT NULL default '0', `s_cat_col` int(5) NOT NULL default '0', `s_cat_title` int(1) NOT NULL default '0', `s_cat_image` int(1) NOT NULL default '0', `s_cat_description` int(1) NOT NULL default '0', `s_cat_header` int(1) NOT NULL default '0', `s_cat_footer` int(1) NOT NULL default '0', `s_cat_total` int(1) NOT NULL default '0', `s_cat_pagenav` int(1) NOT NULL default '0', `s_cat_item_image_click_go` int(1) NOT NULL default '-1', `s_cat_item_title` int(1) NOT NULL default '0', `s_cat_item_title_linkable` int(1) NOT NULL default '0', `s_cat_item_additional_images` int(1) NOT NULL default '0', `s_cat_item_time` int(1) NOT NULL default '0', `s_cat_item_description_title` int(1) NOT NULL default '0', `s_cat_item_description` int(1) NOT NULL default '0', `s_cat_item_technology_title` int(1) NOT NULL default '0', `s_cat_item_technology` int(1) NOT NULL default '0', `s_cat_item_client_title` int(1) NOT NULL default '0', `s_cat_item_client` int(1) NOT NULL default '0', `s_cat_item_status_title` int(1) NOT NULL default '0', `s_cat_item_status` int(1) NOT NULL default '0', `s_cat_item_web_title` int(1) NOT NULL default '0', `s_cat_item_web` int(1) NOT NULL default '0', `s_cat_item_client_testimonial_title` int(1) NOT NULL default '0', `s_cat_item_testimonial` int(1) NOT NULL default '0', `s_cat_item_detail_link` int(1) NOT NULL default '0', PRIMARY KEY (`id`) ) ;

What now? :(

Reply from joomtorial · 3 June 2009

Hi Rob,

The older portfolio component left files in the directories:

/components/com_portfolio/

and most likely

/administrator/components/com_portfolio/

Be sure those 2 are all deleted before installing another portfolio component.

Also be VERY careful deleting database entries. In all the years I have been working with Joomla, maybe once a year I have to go into the database itself to fix something. Stay out of the database when you can!

Also your attempts of FileZilla extracting are not the proper way.

Be sure the old component is de-installed properly and then you should be able to install the new portfolio component through the regular Joomla installation.

Reply from joomtorial · 3 June 2009

Hi Rob,

Seems that old Portfolio component is being a real drag. It left quite a few traces in the database.

Not often do 2 components use the same foldernames and database tables. In your case you are unfortunate they do.

Database needs cleanup of tables that the portfolio component made.

If you can PM me the login for your cPanel, I will be happy to help you out. Not a problem. Also be sure every little trace of portfolio folders are deleted.

Reply from rob · 3 June 2009

SUCCESS!

I went into the database and deleted ALL the tables that had anything to do with "portfolio" and then installed the component piece first, mod second, plugin last.

Everything installed successfully.

Trial and error is a great learning tool. :)

Reply from joomtorial · 3 June 2009

Although it looks like only 1 table needs to be removed:

Table 'jos_portfolio_categories'

P.S. Saw you are the first "Junior Joomlateer" :D Now with 2 stars. Hehehe silly, but the system offered it, so I thought it would be nice to make up some funny names

Reply from joomtorial · 3 June 2009

Trial and error. Yup. Although I would like to promote my video as being the best tool for learning Joomla, I have to admit, trial and error is what I have been doing 5 years myself :)

Back to the forum archive