I'm not sure if it's a good title for my question, because my component actually updates - at least that's what Joomla tells me.
So, the problem is that I developed a component and now I need to update it but it doesn't seem to be updating.
I created a folder called
component-update in my root folder. Inside that folder I have:
update.htmlfile containing information about the update.
My zipped component called
updates.xmlfile containing instructions for the update.
updates.xml file I have:
<updates> <update> <name>Gallery Update</name> <description>Gallery Component Update</description> <element>com_gallery</element> <type>component</type> <version>1.9.1</version> <infourl>http://localhost/component-update/update.html</infourl> <downloads> <downloadurl type="full" format="zip">http://localhost/component-update/com_gallery-update-1.9.1.zip</downloadurl> </downloads> <tags> <tag>stable</tag> </tags> <targetplatform name="joomla" version="3." /> <php_minimum>5.3</php_minimum> <supported_databases mysql="5.6.19"></supported_databases> </update> </updates>
In the component's mainfest file I have:
<updateservers> <server type="extension" name="Gallery Updates">http://localhost/component-update/updates.xml</server> </updateservers>
On the "Update sites" page, in Joomla Administrator Panel, I have:
My component appears on the update list and I'm able to update it; Joomla gives me this:
Updating component was successful
But the component does not change the version and when I click on "Find Updates" I can see my component update again on the list, which means the component wasn't really updated.
I can't tell you what's wrong because it doesn't give me any error message.
I have tried:
Changing XML files
Trying update type
Clearing the cache
Rebuilding update sites
None of those worked. If someone has experienced this before, please help me.
I'm following along with this tutorial: https://docs.joomla.org/J3.x:Developing_an_MVC_Component/Adding_an_update_server