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#
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

