#36 – REQ Text - select list

Posted in ‘ReqText VirtueMart Plugin’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Monday, 15 August 2016 12:11 CEST
Hi we have experienced a strange problem on our website recently - everything has worked fine for many months though.
The dropdown box (selectlist) stopped working properly, but only on a limited number of products.

Example of problem:
http://www.....

Example of a working product:
http://www....

I have found that:
If I create a new custom field with the same settings - I get the problem.
If I edit or change anything in the ones that are working ok - I get the problem

I think:
That the problem happened after I manually deleted one of 6 drop down options on about 10 products - actually at the product custom fields page. I did this because we ran out of stock of this option. I have done this in the past and its been fine - but it does seem to be linked, as it is only these products affected. So I deleted the item line, and the price line.
http://www......
This was one of the items in the "add a treat for mum" list.

But I am confused why the other dropdowns would be affected - colour and size ?
I have tried putting this option back in also - but its still the same.

We have Joomla 3.6
VM 3.0.16

Any help appreciated - its quite urgent as I have unpublished some products until I resolve, and would prefer nott to have to build all the custom fields again.

Best regards
Clive
Custom Fields
ReqText Plugin version 1.53
clive
Tuesday, 16 August 2016 10:38 CEST
Hello Clive,

Well, that's indeed a strange thing you've described. I tried the links you've sent me but the troubled products are disabled on your site so I cannot view them ;-)

And because of the summer holiday I do not have the oppertunity right now to create a bug fix at once, sadly enough. This thursday I'm can try to write a bugfix but is it possible you can give me access to the backend of your website in the meanwhile?
That way I can find some time to analyse the troubled products in advance.

No worries - we'll fix it.

UWiX

Bug? That's not a bug, that's a feature. :-)

uwix
Tuesday, 16 August 2016 10:59 CEST
Hi Nikolai thanks for your reply.:)

I have enabled these links for you to see the problem.
http://www.....
http://www.....

I setup a super user access
username = ....
password = ....

Please let me know if I need to do any backups before files are changed - hopefully not, but I get nervous :)

Many thanks
Clive
clive
Tuesday, 16 August 2016 11:22 CEST
No worries, Clive. I will not change any source files in your online environment. If I do need to change a setting I'll advice you to do so.
You must be in control of your website.

I need the access to see how you've configured the troubled products so I can replicate it in a test environment.

When I'm done with checking your websites backend I'll let you know so you can disabled the admin account right away.

Bug? That's not a bug, that's a feature. :-)

uwix
Tuesday, 16 August 2016 11:36 CEST
Did you change the values of the dropdown list of the trouble product? And did you use only the [ENTER] key or did you use [SHIFT][ENTER}?

Seems like a "hard return" isn't found so the lines do not cut correctly as a seperate option. But it can also be you've found a bug..... is it possible you can re-enter the options for the troubled product? Just to test if something went wrong on that 'spot'?

I've also noticed you're running Joomla! version 3.6.0. I think you've already scheduled to update it but I want to recommend you to update it to version 3.6.2 very soon - it will fix some safery issues (sorry to meddle)....

No changes are made by me in the backend of your website ;-)

Bug? That's not a bug, that's a feature. :-)

uwix
Tuesday, 16 August 2016 11:40 CEST
eh.. before chaning anything.... please update to the latest ReqText version (currently 1.53). Could be it solves your 'problems' already.

Bug? That's not a bug, that's a feature. :-)

uwix
Tuesday, 16 August 2016 12:34 CEST
Hi Thanks (sorry been away from PC)

I did think I had 1.53 installed - if not i will update.
Yes plans to update Joomla very soon (might do it later)

I did try creating a brand new custom field, using selectlist and had the same problem.

When I made the change - I only deleted a line in the options for add a treat, and a line in the price section.
So "pretty little bath bomb" in the description, and 3.99 in the price.

But the other custom fields also broke - so the colour and size.
Yet I didnt edit these??

I'll go and look at updating to 1.53

Best regards
Clive
clive
Tuesday, 16 August 2016 12:45 CEST
Hi, see screenshot attached it looks like I have 1.53

Just about to update Joomla

Best regards
Clive
clive
Tuesday, 16 August 2016 13:42 CEST
Just noticed there wasnt an attachment to the email, sorry - but I think I have latest one installed?

regards
Clive
clive
Tuesday, 16 August 2016 15:12 CEST
I just created 2 new custom fields with ABC options,
One with just enter, and one with shift-enter
http://www.......

They both are the same, and still have the problem :(
Joomla is updated

regards
clive
clive
Tuesday, 16 August 2016 22:05 CEST
Thank you for the extra input. I can work with that. Sadly enough for you I am only able to fix this on thursday.
Tomorrow I'm driving from your home country back home (to the Netherlands) so I can not give you any support than.

The good news for you - you do not have to reenter all the options. Seems to be a glitch in the plugin which is fixable. So keep up your hope ;-)

If you want you can disable the created administrator account for uwix.

Bug? That's not a bug, that's a feature. :-)

uwix
Tuesday, 16 August 2016 22:11 CEST
Thanks Nikolai,

I will keep my fingers crossed!

Best regards
Clive
clive
Thursday, 18 August 2016 11:31 CEST
Could you give me admin access one more time? I want to copy the exact input from your site for the selectlist to determine what character(s) are messing up the optino filtering in the plugin.

Bug? That's not a bug, that's a feature. :-)

uwix
Thursday, 18 August 2016 11:39 CEST
Hi, yes I have enabled access for you

regards
Clive
clive
Thursday, 18 August 2016 11:47 CEST
Hmmm, you're not using the latest ReqText plugin - atleast it doesn't seem to have updated correctly.
When viewing the customfields for the snuggles-product I'm missing the custom prices field for each selection.

When you check the plugin in the backend settings (Extensions - plugin) you can open up a tab called "ReqText Version" which states "1.5". That should be "1.53".

So If you did update to the latest version something must have gone wrong. Because the latest version has fix for the incorrect "breaking" of lines into correct select options (does that make sence?).

I will not update it for you because I do not wnat to mess up anything on your site. If the normal installation of the latest ReqText does not work you can always try to replace the files manually in the plugin/vmcustom/reqtext folder - but than you'll have to know what you're doing. ;-)

I'll send you the latest package by e-mail - that should be the correct ReqText version - version 1.53.

Could you let me know if that fixes the issues? Oh, and don't forget to backup! (AkeebaBackup).

Bug? That's not a bug, that's a feature. :-)

uwix
Thursday, 18 August 2016 11:53 CEST
Thanks - will do this and report back a bit later,
clive
Thursday, 18 August 2016 12:25 CEST
clive
Thursday, 18 August 2016 12:49 CEST
ok - tried to install using Joomla Installer, but after clicking install, browser goes to:
http://www....../administrator/index.php?option=com_installer&view=install

But the screen stays blank - tried refreshing - tried chrome and IE - same results.
And it still shows V1.5

Its not related to PHP is it?
We updated PHP recently to 7 (I think)

Maybe I need to uninstall and reinstall?

regards
Clive
clive
Thursday, 18 August 2016 14:17 CEST
Could you turn on error reporting in your joomla environment. Please set it to maximum and try uploading the plugin again (using extension manager) and report the error you're receiving (should be there instead of the blanc page).

After this you can set the error-reporting back to none.

Bug? That's not a bug, that's a feature. :-)

uwix
Thursday, 18 August 2016 15:42 CEST
Hi see screenshots attached.
First is how it looked before upload - second after.

I can see one line extra at the end

Fatal error: 'continue' not in the 'loop' or 'switch' context in /home/..../.../..../..../tmp/install_57b5b9f74cda7/script.reqtext.php on line 174

Thanks for your help :)
clive
Thursday, 18 August 2016 17:35 CEST
well, it seems an php 7 error we'll have to fix forthat. but...
You can extract the zip file and look for 2 other zip files in the extracted folders. One is the ReqText plugin and one the ReqText updater plugin.
Could you try to install them seperatly? There shouldn't be any php 7 errors in them.

Bug? That's not a bug, that's a feature. :-)

uwix
Thursday, 18 August 2016 17:36 CEST
Oh, not your fault the attachments didn't upload. Fixing that in a few days, sorry....

Bug? That's not a bug, that's a feature. :-)

uwix
Thursday, 18 August 2016 18:10 CEST
Thanks thats worked!
Only thing is I only found 1 zip file, the REQText plugin. Not the updater?

http://www...../....-product

Many thanks - I will reinstate the products now.

Best regards
Clive
clive
Thursday, 18 August 2016 18:19 CEST
Darn,you're right-only one zip file for the plugin. The other plugin is installed manually by the script.
No worries - I'll fix the php 7 error and you can use the full package again for updating. That will also include the updater plugin ;-)

But the main question remains - did this updated version solve your problems with the selectlist?

Bug? That's not a bug, that's a feature. :-)

uwix
Thursday, 18 August 2016 18:45 CEST
yes thank you - my problem is fixed :)
and the screen shows 1.5 now.
You can see here
http://www....../....-product

will you let me know when the full package can be used please.

Many thanks for your support

Best regards
Clive
clive
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.
Support Availability

Working days: Monday to Friday. The is available 24 hours a day, 7 days a week but will only be answered during workings days according CET.
Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 48 hours. When we expect longer delays we will notify you when you file a ticket or reply.