SOLVED- Hello world module:Cannot find Joomla XML setup file

For Joomla! 3.x Coding related discussions, you could also use: http://groups.google.com/group/joomla-dev-general

Moderators: ooffick, General Support Moderators

Forum rules
Locked
djkhemu
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Apr 16, 2015 2:28 pm

SOLVED- Hello world module:Cannot find Joomla XML setup file

Post by djkhemu » Thu Apr 16, 2015 3:43 pm

Hi,


I am trying to work on a custom module development tutorial from

https://docs.joomla.org/J3.x:Creating_a ... sic_Module


On installation i am getting


"
Warning

JInstaller: :Install: Cannot find Joomla XML setup file

JInstaller: :Install: Cannot find Joomla XML setup file

Message

Discover install successful

"
joomla_error_module.png
I can't see my "hello world" module in module manager, but can see it in mysql's extension table - and fyi - manifest cache field is "false"

I m stuck on this thing since past two days.


Kindly help me to solve this
You do not have the required permissions to view the files attached to this post.
Last edited by djkhemu on Fri Apr 17, 2015 12:46 pm, edited 2 times in total.

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Hello world module : Cannot find Joomla XML setup file

Post by sovainfo » Thu Apr 16, 2015 6:00 pm

Does it appear when using "New" in the module manager?
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

djkhemu
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Apr 16, 2015 2:28 pm

Re: Hello world module : Cannot find Joomla XML setup file

Post by djkhemu » Thu Apr 16, 2015 6:28 pm

Sovainfo - thanks for a reply



yes it appears when using "New" in the module manager


on clicking it shows "Error" - "Error loading form file"

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Hello world module : Cannot find Joomla XML setup file

Post by sovainfo » Thu Apr 16, 2015 7:45 pm

So, upon installation it registers the module but doesn't create an instance to be used. You need to do that yourself, which is standard. Unfortunately there is something wrong with your module.

Try checking the xml files by dropping them in a browser. It shouldn't complain and provide a structured view of the content. Ignore the header about not having style, that is not complaing.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

djkhemu
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Apr 16, 2015 2:28 pm

Re: Hello world module : Cannot find Joomla XML setup file

Post by djkhemu » Fri Apr 17, 2015 12:35 pm

Hey sovainfo - you were right, the problem was indeed in xml, i copied and pasted xml code on 2nd line from "hello world module development tutorial", got the error when i opened xml on a browser as per your instructions.





Thank you so much!!!


:) :) :) :)

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: SOLVED- Hello world module:Cannot find Joomla XML setup

Post by sovainfo » Fri Apr 17, 2015 4:44 pm

Thank you for your feedback, very much appreciated.

Enjoy Joomla!
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!


Locked

Return to “Joomla! 3.x Coding”