PhocaGallery V 2.2.4 Installation Problems

Phoca Gallery - image gallery extension
royg
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 08 Jun 2009, 01:01
Location: Australia

PhocaGallery V 2.2.4 Installation Problems

Post by royg »

Greetings. I recently downloaded "com_phocagallery_v2.2.4.zip", and unfortunately I've run into some fundamental installation problems. First of all, I did a standard install using Joomla (V 1.5.1) Extension Manager to upload the package file. I encountered the following error:

Error! Could not find a Joomla! XML setup file in the package

Warning: file_get_contents(/var/www/tmp/install_4a2c4d3f3f116/config.xml) [function.file-get-contents]: failed to open stream: Permission denied in /var/www/libraries/domit/xml_domit_lite_parser.php on line 1082

Warning: file_get_contents(/var/www/tmp/install_4a2c4d3f3f116/phocagallery.xml) [function.file-get-contents]: failed to open stream: Permission denied in /var/www/libraries/domit/xml_domit_lite_parser.php on line 1082


At that point I followed the "File" section of the Installation Problem Solving page on the Phoca Gallery doco. All went well until I downloaded and tried to install "com_phocagallery_ftp_install.zip". When I use Extension Manager to upload the ftp install package file, I again got an error "Error! Could not find a Joomla! XML setup file in the package".

Since then I have redone the installation of the LAMP stack a few times trying different versions of PHP, both Ubuntu supplied packages and a package from the PHP web site (all versions of PHP were v5.#. Nothing seems to change the error. So now I have reinstalled the LAMP stack and vsftp from scratch using the recommended versions from Ubuntu, and still no joy. I thought initially it might have been an FTP user permissions problem, but manually using FTP to send files to teh web directories worked ok with the ftp user that I setup.

So now, after reading heaps of Phoca Forum entries, Joomla Formum entries, and other sites returned by a google search, I am no closer to solving this problem. I'm getting a bit frustrated. posting.php?mode=post&f=1# :x Can you help please?

I'm hoping that the following information will provide you with enough info to help diagnose what is causing this problem.

System Information
Setting Value

PHP Built on: Linux royg-laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686
Database Version: 5.0.75-0ubuntu10.2
Database Collation: utf8_general_ci
PHP Version: 5.2.6-3ubuntu4.1
Web Server: Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.1 with Suhosin-Patch
Web Server to PHP interface: apache2handler
Joomla! Version: Joomla! 1.5.11 Production/Stable [ Vea ] 03-June-2009 03:30 GMT
User Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10

Some of the forum posts (here and Joomla) mention PHP Safe Mode being OFF as a cure for this type of error. But as you can see from the following PHP Core Settings, Safe Mode appears to be OFF:

safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value

General information re the server - is that this test server is running on a local host under Ubuntu 9.04 desktop edition. I am using the server's console so have direct file system access to the Web Server's directories. While I'm waiting for a reply from you, I'll try an install Joomla and Phoca Gallery on a spare Centos 6 development system to see if the same error occurs there.

Also, nearly forgot to tell you - when I check the "Information, Directory Settings" page in Joomla Administration, all directories are presently showing as "Writable" (until I can get this install working when I'd like to lack it back down again).

I can't think of any other information that might be of use to you to enable you to provide some advice. If you need any more information, just say so, and I'll extract it for you. I hope we can get this working as I am really impressed with the demo of your product and am looking forward to using it for my next web site.

Regards,

Roy Gilby
roy@gilbys.id.au
roygilby@onthenet.com.au
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: PhocaGallery V 2.2.4 Installation Problems

Post by caro84g »

Hi,

Latest Joomla is 1.5.11, I recommend you to update first. PhocaGallery 2.2.4 isn't tested on Joomla 1.5.1

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)
royg
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 08 Jun 2009, 01:01
Location: Australia

Re: PhocaGallery V 2.2.4 Installation Problems

Post by royg »

Thanks for that - I'll try taht tonight. Also for your information, I tried an installation on a Centos 5.2 dev site last night and it worked correctly, so if it is not the version of Joomla, then it must be the Ubuntu 9.04 implementation of the LAMP stack. I'll provide more info as I progress through the resolution of this problem.

Regards,

Roy
royg
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 08 Jun 2009, 01:01
Location: Australia

Re: PhocaGallery V 2.2.4 Installation Problems

Post by royg »

Re your suggestion that "Latest Joomla is 1.5.11, I recommend you to update first. PhocaGallery 2.2.4 isn't tested on Joomla 1.5.1".

If you refer to my first email you'll see that I'm already using Joomla 1.5.11. Can you please review your advice re what action I should take.

Regards,

Roy Gilby
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: PhocaGallery V 2.2.4 Installation Problems

Post by caro84g »

royg wrote:First of all, I did a standard install using Joomla (V 1.5.1) Extension Manager to upload the package file.
Then you made a typo

could you make sure all the folder permissions in Joomla! are ok? (check via help > info > directory permissions)?

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