Pb installing Phoca 2.1RC on Joomla 1.5.8

Phoca Gallery - image gallery extension
kadelfang
Phoca Member
Phoca Member
Posts: 11
Joined: 23 Apr 2008, 23:54
Location: France

Pb installing Phoca 2.1RC on Joomla 1.5.8

Post by kadelfang »

Hello. I use Joomla 1.5.8
When I install Phoca 2.1RC I have the following error message :
Can you help me ???
Thanks a lot !
Kouba


Composant Installation: DB function failed with error number 2006
MySQL server has gone away SQL=INSERT INTO jos_components VALUES( 0, 'Phoca Gallery', 'option=com_phocagallery', 0, 0, 'option=com_phocagallery', 'Phoca Gallery', 'com_phocagallery', 0, 'components/com_phocagallery/assets/images/icon-16-menu.png', 0, '', 1 )
SQL =
INSERT INTO jos_components VALUES( 0, 'Phoca Gallery', 'option=com_phocagallery', 0, 0, 'option=com_phocagallery', 'Phoca Gallery', 'com_phocagallery', 0, 'components/com_phocagallery/assets/images/icon-16-menu.png', 0, '', 1 )Error Loading ModulesMySQL server has gone away SQL=SELECT id, title, module, position, content, showtitle, control, params FROM jos_modules AS m LEFT JOIN jos_modules_menu AS mm ON mm.moduleid = m.id WHERE m.published = 1 AND m.access <= 2 AND m.client_id = 1 ORDER BY position, ordering
kadelfang
Phoca Member
Phoca Member
Posts: 11
Joined: 23 Apr 2008, 23:54
Location: France

Re: Pb installing Phoca 2.1RC on Joomla 1.5.8

Post by kadelfang »

For your information, I had no pb installing Phoca 1.8.6 beta
I have the error messages for versions 2.x
Any idea ?

Should I stay withPhoca 1.8.6B ?
Thanks !!!
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Pb installing Phoca 2.1RC on Joomla 1.5.8

Post by caro84g »

Hi, have you read the documentation about installing and upgrading?

Installing see: https://www.phoca.cz/documentation/index ... to_install

Upgrading see: https://www.phoca.cz/documentation/index ... ry-via-ftp

I noticed now that some information is missing in the article of 'normal' upgrading. I will change that tonight or tomorrow.

Regards,

Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
kadelfang
Phoca Member
Phoca Member
Posts: 11
Joined: 23 Apr 2008, 23:54
Location: France

Re: Pb installing Phoca 2.1RC on Joomla 1.5.8

Post by kadelfang »

Thanks Caro !
1/ I copied all the content of ZIP file 2.1RC excepted "front", "language" and "other"
2/ I changes #_ by jos in the install.bak PHP file
3/ I don't care about keeping the first 2 tables so I run this SQL querie but I have error messages :

requête SQL:
DROP TABLE IF EXISTS `jos_phocagallery`;
MySQL a répondu:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'D' at line 1

What should I do ?
Thanks again !!!
kadelfang
Phoca Member
Phoca Member
Posts: 11
Joined: 23 Apr 2008, 23:54
Location: France

Re: Pb installing Phoca 2.1RC on Joomla 1.5.8

Post by kadelfang »

Hello. Me again...
I try again the SQL request.
I copied one by one the requests and today it's working !
YES !!! :o)
I have now my 6 Phoca tables.

But...
I copied with FTP all the file you're talking about in your FTP notice.
I checked. I have all the files in the good place but in my Joomla admin, when I click on "Gallery" I have the folloing error. Any idea ??
Thanks !


Warning: main(/home/www/ba3cf831b6b6912f0a874ec45646aa80/web/administrator/components/com_phocagallery/helpers/phocagallerycp.php) [function.main]: failed to open stream: No such file or directory in /home/www/ba3cf831b6b6912f0a874ec45646aa80/web/administrator/components/com_phocagallery/admin.phocagallery.php on line 16

Fatal error: main() [function.require]: Failed opening required '/home/www/ba3cf831b6b6912f0a874ec45646aa80/web/administrator/components/com_phocagallery/helpers/phocagallerycp.php' (include_path='.:/opt/php/lib/php') in /home/www/ba3cf831b6b6912f0a874ec45646aa80/web/administrator/components/com_phocagallery/admin.phocagallery.php on line 16
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Pb installing Phoca 2.1RC on Joomla 1.5.8

Post by caro84g »

Hi,

you're supposed not to have a 'gallery' anymore. You should have a control panel with an 'Images' tab.

I guess something went wrong with copying.

Now that you've overwritten your existing gallery tables, you lost all your images. So it's like a new install. I suggest to try to uninstall Phoca Gallery and reinstall again. And then I hope Phoca Gallery creates everything as it should be.

with kind regards,

Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Post Reply