Page 1 of 1

installation Error

Posted: 02 Jul 2008, 16:53
by anguyen
Hi,
When i tried to install the photo gallery i got the following error, please advice.

=========================================

* Component Install: DB function failed with error number 2006
MySQL server has gone away SQL=INSERT INTO jos_components VALUES( "", '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( "", '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 )

* It was not possible to copy the selected file.
* JInstaller::install: Failed to copy file: /mnt/w0300/d30/s44/b02d7c62/www/cadoanphaolo/tmp/install_486b9374c5f41/phocagallery.xml to /mnt/w0300/d30/s44/b02d7c62/www/cadoanphaolo/administrator/components/com_phocagallery/phocagallery.xml
* Component Install: Could not copy setup file

=========================================

Re: installation Error

Posted: 04 Jul 2008, 15:15
by Jan
Hi, you cannot write into the database, so you must add the sql queries manually, you find the sql queries in install.bak file and you can add them e.g. vie phpmyadmin into the database...

second: files permissions, you should change the permissions or enable the ftp layer because installation proccess cannot write files on the disc...

Jan

Re: installation Error

Posted: 09 Jul 2008, 21:07
by anguyen
Hi,
I tried both of the steps that you specify. I add in the two table jos_phocagallery and jos_phocagallery_categories into the database.

I also enable in the joomla administration the FTP layer. It still provide me the same error.

However, there is some good news. Instead of using the option of Upload Package file, i unzip the phocagallery and upload that directory on my server. Then i use the install from Directory, option. I don't know why or how it happen. IT WORK. So yes, thank you for all your help.

Cheers

Re: installation Error

Posted: 09 Jul 2008, 23:04
by Jan
Great to hear it, maybe you have problems with some unzipping method on your server...

Jan