VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: etna on December 22, 2012, 09:21:41 AM

Title: List Orders goes to blank page when both SEO are enabled
Post by: etna on December 22, 2012, 09:21:41 AM
Hello
I found out that the link "List Order" in Order Details page goes blank when both Joomla SEO and VM SEO are enabled.
I think that the code below is producing the URL (/components/com_virtuemart/views/orders/tmpl/details.php)
<a href="<?php echo $this->order_list_link ?>"><?php echo JText::_('COM_VIRTUEMART_ORDERS_VIEW_DEFAULT_TITLE'); ?></a>

How can this work with both SEO enabled?
As I looked in to the new 2.0.16 the code is the same.

Thank you

Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.10
Title: Re: List Orders goes to blank page when both SEO are enabled
Post by: bytelord on December 22, 2012, 13:00:55 PM
Hello,

Could you please take a look under your joomla error log? Seems like 500 error to me.
Title: Re: List Orders goes to blank page when both SEO are enabled
Post by: etna on December 22, 2012, 15:06:03 PM
The text appeared in screen and log file (turned on the Error Reporting)
PHP Fatal error:  Cannot access protected property JException::$code in /home/.../public_html/templates/.../error.php on line 14
OK
I found out that it was a menu item pointing to List Orders and had an alias URL generating the problem.
I deleted it and done.

Thank you (eyxaristv) anyway.
Title: Re: List Orders goes to blank page when both SEO are enabled
Post by: bytelord on December 22, 2012, 16:34:18 PM
Nice :)

You are welcome (parakalo). I was thinking that related to this, but you found it and fixed it :)

Regards