problems installing my component in 3.65

50 views
Skip to first unread message

becyn82

unread,
Dec 30, 2016, 10:14:54 PM12/30/16
to Joomla! General Development
I read about the changes in the xml manifest file( and other 3.x changes), did my best to implement the changes,but the site does not seem to like it.
Before I go further, I have to tell you that the 3.65 test site is a subfolder of public_html under the currently live 1.5 site.
Other extensions loaded when it was at 3.6 and all seems OK except for the "php temp file not set" warning. It's OK in configuration .php, though...
I don't know why I get that warning since the folder is there and has files in it.

when I upload the component tarball, Joomla says that it can't find the xml file.

inside the tar I have:
forms.xml
site folder
admin folder

No script file in listed in the manifest, nor did I  include one in the zip. I think it's optional, right?

I basically took the example xml file to get the requirements, then modified it.
I further boiled it down to only using <filename> and <folder> fields for the respective site and admin folders with no other descriptors.

A similar format is used in the com_search component xml.

Where did I take the wrong turn?

Glenn Arkell

unread,
Dec 30, 2016, 10:23:03 PM12/30/16
to Joomla! General Development
If you are willing to send me your zip file I can have a quick look to see if I can spot anything obvious.  Nothing leeps to mind from what you have said.  Cheers.

Glenn (glenn...@gmail.com)

becyn82

unread,
Dec 31, 2016, 11:49:54 AM12/31/16
to Joomla! General Development
The problem gets stranger .
The zip is not in the temp file after the install crashed, but it did erroneously create site and admin folders instead of the proper directory system.
It did read the xml because it put up the decription fields on the extention update.
I don't know where the zip ended up though, it wasn't in the tmp
It also put the xml file in the parent directory! very strange.

There seems to be a problem like mine that others are having as well since 3.6 and 3,6.4

I guess I'll have to unpackage it and try manually ?

becyn82

unread,
Dec 31, 2016, 1:17:07 PM12/31/16
to Joomla! General Development
Believe it or not, all of these strange misleading error messages were due to a simple mistake in the xml file.
I had lt set to package instead of component.
Once that was changed and re-zipped, it installed fine.

Glenn Arkell

unread,
Dec 31, 2016, 4:02:10 PM12/31/16
to Joomla! General Development
Ahh, I'm pleased you found the answer.  Sometimes we can't see the woods for the trees and a fresh look reveals all.  Cheers.
Glenn

VVirile

unread,
Jan 17, 2017, 3:12:08 AM1/17/17
to Joomla! General Development
Hello. I was referred to this site for a plugin issue.

I'm not a developer, per se; just building my own website. I know next to absolutely nothing of JavaScript, CSS, HTML, etc., except by trial and error while building Joomla website. So, I'm learning...

I'm replying to this post because I'm having a similar problem, but I've been unable to resolve it. Following the J3 tutorials for creating a profile plugin, I created one with two additional fields. I also created a "manifest.xml" file included in the zip for installation.

Issue: The plugin installs "successful", but when I click the plugin in the plugin manager, it says: "The file <name>.xml could not be found." It's there, in discovered/name at least, but not functional. I'm pasting the code below in the hope someone can point out my error(s). I'd appreciate any assistance. Thanks.


<?xml version="1.0" encoding="utf-8"?>
<extension version="3.0" type="plugin" group="user" method="upgrade">
<name>User - VBProfile</name>
<author>VE; Open Source Matters</author>
<creationDate>Jan 2017</creationDate>
<copyright>Copyright (C) 2017 VE, 2005 - 2013 Open Source Matters. All rights reserved.</copyright>
<license>VB!; GNU version 2 or later; see LICENSE.txt</license>
<authorEmail>ad...@vb-xyz.com</authorEmail>
<authorUrl>www.vb-xyz.com</authorUrl>
<version>3.0.0</version>
<description>My Very First (Profile) Plugin!</description>
<files>
<filename plugin="vbprofile">vbprofile.php</filename>
<filename>index.html</filename>
<folder>profiles</folder>
</files>
<languages>
<language tag="en-GB">en-GB.plg_user_vbprofile.ini</language>
<language tag="en-GB">en-GB.plg_user_vbprofile.sys.ini</language>
</languages>
<config>
<fields name="vbprofile">
<fieldset name="vbprofile"
label="PLG_USER_VBPROFILE_SLIDER_LABEL">
<field name="gender"
type="radio"
default="0"
label="Please select your gender"
description="Chose either Male or Female"
class="btn-group">
<option value="0">Female</option>
<option value="1">Male</option>
</field>

<!--Special care needs to be taken with saving a checkbox from a form... -->
<input type="hidden" name="jform[newsleaf]" value="0">
<field name="newsleaf"
type="checkbox"
label="Newsleaf Newsletter"
description="Would you like to receive our periodic newletter?"
value="1"/>
</input>
</fieldset>
</fields>
</config>
</extension>
Reply all
Reply to author
Forward
0 new messages