Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 6:31 am (All times are UTC )

 


Forum rules

Please submit all new Tips and Tricks to: http://docs.joomla.org/Category:Tips_and_tricks

This forum section will be closed and removed eventually.



Post new topic Reply to topic  [ 1 post ] 
Author Message
Posted: Wed Apr 05, 2006 2:07 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Wed Apr 05, 2006 1:36 pm
Posts: 1
Hi - I'm new to Joomla, like the look of it very much, but hit a problem which I couldn't find in the existing FAQs.

To start, thought I'd take a walk through the tutorial at help.joomla.org/content/view/775/125 and try uploading the hello_world module. Copied the files off screen, zipped them up and bang! got the above error.

Search on Google only suggests checking the file has not been zipped twice, but that wasn't the problem.

Dug into the source until I got to components/com_installer/installer.class.php, and note that function
isPackageFile( $p_file ) returns false if the file isn't available, or if there is any problem parsing it!!!

Sorry I'm not a xml expert, and eventually noted that the tag won't match a closing tag
(on linux at any rate). In fact the opening tag on the example has been capitalised by the help balloon (as the author in fact points out on a previous page).

So if you get this error, check your .xml file extremely carefully.

Would also like to suggest that the error message says "could not find or parse a Joomla! XML setup file".
It might save other newcomers several hours of digging.

Looking forward to exploring joomla more.


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group