Page 1 of 3

Installing gallery 3.0.0 rc4 gives 'error creating menus'

Posted: 06 Mar 2011, 16:22
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??

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Posted: 06 Mar 2011, 16:36
by fribse
I just tried uninstalling it again, and that worked without issues.
After uninstalling, it installed without errors again, and created the menu?

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Posted: 06 Mar 2011, 18:30
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?

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Posted: 06 Mar 2011, 19:55
by fribse
It's 1.6.0 downloaded from joomla.org

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Posted: 08 Mar 2011, 23:44
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.

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Posted: 16 Mar 2011, 23:18
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

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Posted: 17 Mar 2011, 15:29
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)

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Posted: 24 Mar 2011, 21:10
by Jan
Hmmm, really no idea, this is a question on forum.joomla.org as Joomla! installs the component :-( :-(

Jan

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Posted: 27 Mar 2011, 20:49
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

Re: Installing gallery 3.0.0 rc4 gives 'error creating menus

Posted: 27 Mar 2011, 23:42
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... :(