Installing gallery 3.0.0 rc4 gives 'error creating menus'

Phoca Gallery - image gallery extension
fribse
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 06 Mar 2011, 16:16

Installing gallery 3.0.0 rc4 gives 'error creating menus'

Post by fribse »

Hi Phoca guys

Thankyou so much for your answers so far, I've tried downloading it now to have a look.

When installing I get an error:
"Error building Admin Menus"
When uninstalling it complains again, that it cannot remove admin menu items.
Without the menu items, it's kinda hard to administrate it :-)

I have of course tried to redownload it, just to be sure.

This is on Joomla 1.6.0, and gallery 3.0.0 rc4.

I've run the SQL query:
UPDATE `jos_menu`
SET `published` = '1',
`component_id` = ( SELECT extension_id
FROM `jos_extensions`
WHERE element = 'com_phocagallery' )
WHERE `title` LIKE '%phocagallery%';

And that gave me "12 row(s) affected."
And the menu's, very odd??
fribse
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 06 Mar 2011, 16:16

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Post by fribse »

I just tried uninstalling it again, and that worked without issues.
After uninstalling, it installed without errors again, and created the menu?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48714
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Post by Jan »

Hi, this seems like some but in Joomla! 1.6 (maybe, as this occurs only on some specific installations). Which Joomla! version you are using and is this package from joomlacode.org?
If you find Phoca extensions useful, please support the project
fribse
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 06 Mar 2011, 16:16

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Post by fribse »

It's 1.6.0 downloaded from joomla.org
Szymon_zy
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 26 Jan 2011, 12:11

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Post by Szymon_zy »

In my case it didn't worked. Uninstall and reinstall always fail with this error message so .... as i said in other thread i used ftp install file. Phoca Gallery is only component with this troubles in my installation.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48714
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Post by Jan »

Hi, there is no ftp install file for 3, so yes if you have used version for 1.5 in 1.6 then you allways get an error.

See:
https://www.phoca.cz/documents/16-joomla ... -joomla-16

Jan
If you find Phoca extensions useful, please support the project
tcoibion
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 14 Mar 2011, 22:54

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Post by tcoibion »

fribse wrote:Hi Phoca guys

Thankyou so much for your answers so far, I've tried downloading it now to have a look.

When installing I get an error:
"Error building Admin Menus"
When uninstalling it complains again, that it cannot remove admin menu items.
Without the menu items, it's kinda hard to administrate it :-)

I have of course tried to redownload it, just to be sure.

This is on Joomla 1.6.0, and gallery 3.0.0 rc4.

I've run the SQL query:
UPDATE `jos_menu`
SET `published` = '1',
`component_id` = ( SELECT extension_id
FROM `jos_extensions`
WHERE element = 'com_phocagallery' )
WHERE `title` LIKE '%phocagallery%';

And that gave me "12 row(s) affected."
And the menu's, very odd??
I also tried this but I had no rows affected... no record about phoca gallery in the jos_extension table (see my other post)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48714
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Post by Jan »

Hmmm, really no idea, this is a question on forum.joomla.org as Joomla! installs the component :-( :-(

Jan
If you find Phoca extensions useful, please support the project
samueljl22
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 27 Mar 2011, 20:32

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Post by samueljl22 »

Hi, I have the same problem

I installed joomla from the control panel of my hosting company and Phoca gallery from the control panel of joomla. I have joomla 1.6 and the latest version of Phoca Gallery.
The installation without problems, but I get notice, you can not put on the menu.
When installing I kept the link to handle Phoca

thanks
* If no menu items will be created in administration for the Phoca Gallery after installation, try to run this SQL query in your database (e.g. in phpMyAdmin):

UPDATE `jos_menu`
SET `published` = '1',
`component_id` = ( SELECT extension_id
FROM `jos_extensions`
WHERE element = 'com_phocagallery' )
WHERE `title` LIKE '%phocagallery%';


The prefix is set to jos_ (change it to your own if needed).
can you tell me how this is done step by step please
tcoibion
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 14 Mar 2011, 22:54

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Post by tcoibion »

samueljl22 wrote:Hi, I have the same problem

I installed joomla from the control panel of my hosting company and Phoca gallery from the control panel of joomla. I have joomla 1.6 and the latest version of Phoca Gallery.
The installation without problems, but I get notice, you can not put on the menu.
When installing I kept the link to handle Phoca

thanks
* If no menu items will be created in administration for the Phoca Gallery after installation, try to run this SQL query in your database (e.g. in phpMyAdmin):

UPDATE `jos_menu`
SET `published` = '1',
`component_id` = ( SELECT extension_id
FROM `jos_extensions`
WHERE element = 'com_phocagallery' )
WHERE `title` LIKE '%phocagallery%';


The prefix is set to jos_ (change it to your own if needed).
can you tell me how this is done step by step please
it's hard for me to understand than a phoca Joomla specialist can not solve this trouble giving the right SQl request to create admin menu... :(
Post Reply