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

router.php on line 84

Started by mabeall32, December 06, 2011, 02:05:06 AM

Previous topic - Next topic

mabeall32

When I installed rc3_pre_e I get an error of
Notice: Undefined index: p.product_name in C:\.........\com_virtuemart\router.php on line 84
help? ??? ?
Notice: Undefined property: VirtuemartViewCategory::$pagination in C:\www\matlinmfg\components\com_virtuemart\views\category\tmpl\nonstock.php on line 181
Fatal error: Call to a member function getResultsCounter() on a non-object in C:\www\matlinmfg\components\com_virtuemart\views\category\tmpl\nonstock.php on line 181

Milbo

This are two errors. One error is in the router. I think it is an old sef link, which is not longer valid (clean your cached urls).

The other error is the changed pagination. So you must update your layout to use vmPagination and not pagination.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

zzsser

Hi !

I have the same errors:

Notice: Undefined index: p.product_name in /homez.398/stickerv/www/components/com_virtuemart/router.php on line 84

Notice: Undefined property: VirtuemartViewCategory::$pagination in /homez.398/stickerv/www/components/com_virtuemart/views/category/tmpl/default-stickerv3.php on line 180

Fatal error: Call to a member function getResultsCounter() on a non-object in /homez.398/stickerv/www/components/com_virtuemart/views/category/tmpl/default-stickerv3.php on line 180


Quote from: Milbo on December 06, 2011, 10:01:40 AM
This are two errors. One error is in the router. I think it is an old sef link, which is not longer valid (clean your cached urls).
--> I did it but this error remains  :-[


Quote from: Milbo on December 06, 2011, 10:01:40 AM
The other error is the changed pagination. So you must update your layout to use vmPagination and not pagination.
--> Super, it works by changing all "$this->pagination" in "$this->vmPagination"  ;)

mabeall32

#3
Same with me.  I cleared the vmPagination up but the router.php on line 84 is still given me problems.  I have cleared my cache, on all my browsers and all do the same.
Undefined index: p.product_name in C:\www\matlinmfg\components\com_virtuemart\router.php on line 84

joomlaforever

same error with F RC3 version too...

Milbo

Try to go in your virtuemart configuration, where you can store all the order by and search fields.... Choose them again and store the config,.. disable the caching for this operation, then it should work.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Studio 42

HI all,

We missed to update the language key for Order BY and of course was not found.

In SVN this are fixed now.

AFTER UPDATE :
Go to virtuemart config and save you choices, to have the new right settings.

zzsser

Hi Milbo and Electricity !

Thank you for your replies but I don't understand  :-\.

Milbo, which tab do you mean in the configuration of virtuemart (shop, frontend,...) ?

Electricity, what is SVN ? Is this : http://dev.virtuemart.net/projects/virtuemart/files ? The latest version is Pre f, the one I already installed.


zzsser

I finaly found which tab: the 6th one ("Tri des produits" in french) but I don't know how to disable caching for this.

I choose some filters and now I have 2 erros (the same ones):

Notice: Undefined index: product_name in /homez.398/stickerv/www/components/com_virtuemart/router.php on line 84

Notice: Undefined index: product_price in /homez.398/stickerv/www/components/com_virtuemart/router.php on line 84

PRO

Quote from: zzsser on December 07, 2011, 17:15:20 PM
Hi Milbo and Electricity !

Milbo, which tab do you mean in the configuration of virtuemart (shop, frontend,...) ?

"Product Order Settings" TAB

and SVN  is the latest version files that are NOT released in a package yet. So they release a package, and the bugs that are found are all fixed in the SVN first, and then finally released in a package.

You need software to download the full package from SVN. SEE (http://dev.virtuemart.net/projects/1/wiki/Setting_up_a_Development_Environment)

BUT, if you need an exact file and dont have the software, you can go here, and download it.

https://dev.virtuemart.net/svn/virtuemart/trunk/virtuemart/

zzsser

#10
Thank you BanquetTables.pro for this explanation!

I replaced the router.php file and it's ok now !

Tks again !