News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[solved] 2.0.3 I Custom fields type: plug-ins do not work any more

Started by kg, April 04, 2012, 17:22:54 PM

Previous topic - Next topic

kg

Custom fields of type plug-ins do not work any more. Don't know when it stopped working, but in subrelease H and I it does not work.

Tried both upgrading a site where the custom fields works fine in 2.0.2 and a new fresh install where I added a new custom field.
It did not work in any of them. Not in 2.0.3H and not in 2.0.3I

The custom field type I tested was plug-ins -  VM Custom - customer text input

On the products detail page, only the title is shown, no input field.
Other Custom fields works fine, it is just the type:plug-ins that do not work any more.

Edit: Forgot some info: Joomla 2.5.4,  Vm 2.0.3 I, PHP 5.3.10


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Bruce Morgan

Where can I find the fix?  Will there be a version J?

Studio 42

Was a little HTML/JS error.
YOu must install svn to download, or get it form github at https://github.com/VirtueMart/virtuemart
YOu must then decompress all in the joomla root directory(NO Guaranty for it to work but must if you do it corectly)
THe offical release come next days ...

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

kg

Unfortunately this still do not work in 2.0.3 J

The output is now

cust plugin title
Price: No additional charge
cart attr custom plugin

on the products details page.

No input text field where the custom can input the data.


Milbo

For which plugin? Do you really use the latest version? sometimes it happened also to us that we accidently used an old prior installed one.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

kg

The plugin used is VM Custom - customer text input

Yes, I use the latest version. It is upgraded from 2.0.3 i to 2.0.3 J

Will make a fresh install later and test (if you think that it is a problem when having upgraded from 2.0.3 i)

Milbo

The reason is that I just fixed it for j version and tested it, so I am surprised, yes.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

kg

This is the error I get in the log with the 2.0.3J upgraded from 2.0.3i:

[06-Apr-2012 14:16:37 UTC] PHP Warning:  include(/xxxxxxx/plugins/vmcustom/textinput/textinput/tmpl/default.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /xxxxxxx/administrator/components/com_virtuemart/plugins/vmplugin.php on line 441

[06-Apr-2012 14:16:37 UTC] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Failed opening '/xxxxxxx/plugins/vmcustom/textinput/textinput/tmpl/default.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /xxxxxxx/administrator/components/com_virtuemart/plugins/vmplugin.php on line 441

edited to includ both error lines



kg

As you can see, the include is trying to get the file /plugins/vmcustom/textinput/textinput/tmpl/default.php
There is one /textinput/ to many

Will now make a new fresh install again and see what happends

kg

I have now made a fresh install of J2.5.4 and VM 2.0.3 J
Added the custom field and a new product using the custom field

It still do not work. It works fine in 2.0.2 but not in 2.0.3 J

The missing part is the input field. The input title is there but not the text input field

And the error-log shows the same error:
[06-Apr-2012 14:43:52 UTC] PHP Warning:  include(/home/vmtest/public_html/vmdemo/plugins/vmcustom/textinput/textinput/tmpl/default.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/vmtest/public_html/vmdemo/administrator/components/com_virtuemart/plugins/vmplugin.php on line 441
[06-Apr-2012 14:43:52 UTC] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Failed opening '/home/vmtest/public_html/vmdemo/plugins/vmcustom/textinput/textinput/tmpl/default.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vmtest/public_html/vmdemo/administrator/components/com_virtuemart/plugins/vmplugin.php on line 441

As you can see, it is looking for the dir: /textinput/textinput/ instead of only one /textinput/


nickson

Yes it is the double textinput/textinput. Ive changed it in components/com_virtuemart/plugins/vmplugin.php and it seems to work now.

I would like to add that when the custom text is added tot the cart, the title isnt displayed in both the cart and the order confirmation.

Milbo

The path is correct, comes from the new feature of overriding plugins. We are just testing the next release. The error was a wrong packaging of the aio.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

nickson

The path is fixed now in 2.0.4 stable. Thanks!

But still the title of the custom text input isnt showing in both cart and order confirmation.
For 1 custom text it isnt a big problem. The only thing is when I add severall custom text inputs, the user (and me) might get confused by all the different inputs.

Any chance you guys add this feature in one of the next releases.?