Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Error:com_virtuemart.php on line 97
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 3 (Joomla 1.5 compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Error:com_virtuemart.php on line 97

Error:com_virtuemart.php on line 97 14 years, 7 months ago #12252

Hi sorry for my bad english first.
Notice: Undefined variable: task in /data/web/virtuals/_domain_/www/components/com_sef/sef_ext/com_virtuemart.php on line 97

I got this error on every new created url but only once! if i refresh the page all is alright- even for another users on anothers pc's.
Problem is that i have eshop with 8k products in 4 languages. and every page shows this note. (his is realy too much pages :( )

i don't know if is the problem of Virtuemart sef extension for Artio or Artio him sefl.
ty for any help.

in that php line is:
// Handle nonSef variables
$nonSefVars = array();
if (isset($limit)) $nonSefVars['limit'] = $limit;
if (isset($limitstart)) $nonSefVars['limitstart'] = $limitstart;
if (isset($dir)) $nonSefVars['dir'] = $dir;
if (isset($order)) $nonSefVars['order'] = $order;

$newUri = JoomSEF::_sefGetLocation($uri, $title, $task, @$limit, @$limitstart, @$lang, $nonSefVars);

return $newUri;
}
}
}
?>
_____________________________

$newUri = JoomSEF::_sefGetLocation($uri, $title, $task, @$limit, @$limitstart, @$lang, $nonSefVars);
Last Edit: 14 years, 7 months ago by xxsuna.
The topic has been locked.

Re:Error:com_virtuemart.php on line 97 14 years, 7 months ago #12297

  • dajo
  • OFFLINE
  • Posts: 5069
Hello,

Try adding the @ character in front of the $task, so the line would look like this:

$newUri = JoomSEF::_sefGetLocation($uri, $title, @$task, @$limit, @$limitstart, @$lang, $nonSefVars);


Best regards,
ARTIO Support Team
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
User Login Empty