VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: pm4698 on December 13, 2016, 16:08:20 PM

Title: Cannot select category at vm category menu item
Post by: pm4698 on December 13, 2016, 16:08:20 PM
Hello there,

I had a Joomla 2.5.28 with VM 2.x.x site and i upgraded Virtuemart to 3.0.18 and then migrated to Joomla 3.6.4. I can see my menus just fine but in front-end when i select category i see blank page. If i try to create new menu selecting Virtuemart->Category page then when i click on drop down to select category, that field is blank. I have applied Fix database from Manage settings and repaired/fixed database issues but no results.

Thank you in advance
Title: Re: Cannot select category at vm category menu item
Post by: GJC Web Design on December 13, 2016, 18:54:07 PM
Quotewhen i select category i see blank page

no doubt will prob be your template

if it really is a whitescreen the 500 error will be logged somewhere

if not the residual html might give a clue

tried with full error/debug on?
Title: Re: Cannot select category at vm category menu item
Post by: pm4698 on December 13, 2016, 19:31:09 PM
Its strange i just tried to enable debug and error reporting but it appears i cannot save at Global Configuration!

Also, the problem is when i try to create a virtuemart category menu (at backend) not front-end.

At front-end i just cannot see any products, without any 500 error
Title: Re: Cannot select category at vm category menu item
Post by: pm4698 on December 13, 2016, 19:39:38 PM
Specifically when i create new menu item and select Virtuemart Category layout then i have this warning:

Extension attribute is empty in the category field.
Title: Re: Cannot select category at vm category menu item
Post by: pm4698 on December 13, 2016, 19:58:10 PM
I cleaned browser cache and i am able to save everything, sorry!

I enabled error reporting and still i get the warning i told you about and i get this on top:

Strict Standards: Only variables should be assigned by reference in ..\plugins\system\rsform\rsform.php on line 39 Strict Standards: Only variables should be assigned by reference in ..\plugins\system\section\section.php on line 27 Strict Standards: Only variables should be assigned by reference in ..1\plugins\system\vmtracking\vmtracking.php on line 377 Strict Standards: Declaration of plgVmPaymentAwoCoupon::setCartPrices() should be compatible with that of vmPSPlugin::setCartPrices() in ..\libraries\cms\plugin\helper.php on line 230
Title: Re: Cannot select category at vm category menu item
Post by: jenkinhill on December 13, 2016, 22:36:16 PM
You can turn off strict standards reporting in php.ini

I see that none of the warnings is coming from VirtueMart itself, but from third party addons.
Title: Re: Cannot select category at vm category menu item
Post by: pm4698 on December 13, 2016, 22:47:35 PM
I deactivated plugins that caused those messages and now when i activate error reporting in Global configuration page i see those:

Warning: fopen(..\libraries\joomla\utilities\date.php): failed to open stream: No such file or directory in ..\language\el-GR\el-GR.localise.php on line 190 Warning: filesize(): stat failed for ..\libraries\joomla\utilities\date.php in ..\language\el-GR\el-GR.localise.php on line 191 Warning: fread() expects parameter 1 to be resource, boolean given in ..\language\el-GR\el-GR.localise.php on line 191 Warning: fclose() expects parameter 1 to be resource, boolean given in ..\language\el-GR\el-GR.localise.php on line 192 Notice: Undefined offset: 1 in ..\language\el-GR\el-GR.localise.php on line 200 Parse error: syntax error, unexpected T_PUBLIC in ..\language\el-GR\el-GR.localise.php(212) : eval()'d code on line 1

But this doesn't solve the issue of virtuemart correct?
Title: Re: Cannot select category at vm category menu item
Post by: urkooo on December 14, 2016, 11:45:53 AM
I solved disabling the following VM options:

1. Show featured
2. Show discontinue
3. Show latest products
4. Show Top ten products
5. Show recent

If doesn't work, try with this http://forum.virtuemart.net/index.php?topic=135628.msg474433#msg474433

Good luck
Title: Re: Cannot select category at vm category menu item
Post by: pm4698 on December 14, 2016, 13:01:19 PM
Guys i tell once again: I cannot create Virtuemart menu items on backend because i have no options at select category drop down. There is also the issue with the front-end but regarding front-end i know its a template override, but what about the backend which is exactly the issue i am asking?

Any opinions?

Thank you in advance
Title: Re: Cannot select category at vm category menu item
Post by: urkooo on December 14, 2016, 13:06:33 PM
Try this version
http://dev.virtuemart.net/attachments/download/1037/com_virtuemart.3.0.18.6_extract_first.zip
Title: Re: Cannot select category at vm category menu item
Post by: pm4698 on December 14, 2016, 13:10:03 PM
I did! And i checked the things you told me but still the same, i cannot add virtuemart category as a menu
Title: Re: Cannot select category at vm category menu item
Post by: Milbo on December 14, 2016, 18:09:22 PM
Quote from: pm4698 on December 14, 2016, 13:01:19 PM
Guys i tell once again: I cannot create Virtuemart menu items on backend because i have no options at select category drop down. There is also the issue with the front-end but regarding front-end i know its a template override, but what about the backend which is exactly the issue i am asking?

Any opinions?

Thank you in advance

Please check your js console. The category dropdown is now loaded by ajax to enhance the speed in BE. You are the first having trouble with.
Title: Re: Cannot select category at vm category menu item
Post by: pm4698 on December 15, 2016, 07:38:49 AM
In js console i get an error only regarding a woff font that cannot be loaded. I know that because i have Windows server i have to insert this type of media in Server settings to be able to be read. No other errors in js Console!

Also i noticed that i disabled template override for virtuemart and still i get no products in category view at front-end. So generally i suppose its a Virtuemart issue. Note that in backend i can see products, product categories etc but i have the menu problem and the issue also at frontend
Title: Re: Cannot select category at vm category menu item
Post by: mhuebler on March 24, 2017, 14:39:56 PM
any news ? same problem here. and i cant see any js problems.
Title: Re: Cannot select category at vm category menu item
Post by: jenkinhill on March 24, 2017, 16:07:36 PM
No problems like this with VM3.2   http://virtuemart.net/news/latest-news/479-virtuemart-3-2-cached-and-optimized
Title: Re: Cannot select category at vm category menu item
Post by: mhuebler on March 24, 2017, 16:19:54 PM
same problem vm3.2 , i guess its a migration problem
Title: Re: Cannot select category at vm category menu item
Post by: chuckI on May 16, 2017, 18:09:02 PM
Hello,
I recently migrated a website from Joomla 2.5 to 3.0. And I am having the menu category layout problem. The error says, Extension attribute is empty in the category field.

I am using Virtuemart 3.0.18 and Joomla 3.6.5

What was the final solution to correcting this issue?

Thanks!
Title: Re: Cannot select category at vm category menu item
Post by: Milbo on May 17, 2017, 18:18:28 PM
Use the most recent vm3.2.2. there are more language fallback options and also more hints to understand which language is actually used. Furthermore the ajax should not use any browser cache anylonger.
Title: Re: Cannot select category at vm category menu item
Post by: chuckI on May 23, 2017, 21:42:12 PM
Just to clarify, you seem to be talking about language fallback options. Does this this relate to the menu issue and the error "Extension attribute is empty in the category field."

Does upgrading to VM 3.2.2 fix the error "Extension attribute is empty in the category field." when creating a menu category layout?

The website now uses Virtuemart 3.0.18 and Joomla 3.6.5

Thanks again:)