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
=========================================
installation Error
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: installation Error
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
second: files permissions, you should change the permissions or enable the ftp layer because installation proccess cannot write files on the disc...
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 02 Jul 2008, 16:49
Re: installation Error
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: installation Error
Great to hear it, maybe you have problems with some unzipping method on your server...
Jan
Jan
If you find Phoca extensions useful, please support the project