VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: mehdi09 on July 17, 2013, 17:17:33 PM

Title: 500 - Layout "default" not found - when I want to view the cart
Post by: mehdi09 on July 17, 2013, 17:17:33 PM
Hello everybody,

I'm sorry for my english, I'm a french newbie.
I have a very disturbing problem on my website: http://www.parapharma-en-ligne.com/
I can't view the cart. Actually, there is an error 500
500 - Layout "default" not found

You can see it alive: http://www.parapharma-en-ligne.com/index.php?option=com_virtuemart&view=cart&Itemid=159

My site details are:

Joomla 1.5.26
Virtuemart 2.0.22a

I disabled SEO configuration on VM configuration and on Joomla.

I made many searches on the forum, I tried to copy and renamed the files edit.php to default.php in components/com_virtuemart/views/user/tmpl

I still get this error.

Could you help me please ?

In other part, do you know if the Virtuemart cart module is update on the same time with the virtuemart upgrade.

Thanks a lot for your help.


Title: Re: 500 - Layout "default" not found - when I want to view the cart
Post by: jenkinhill on July 17, 2013, 17:38:52 PM
Maybe this?  http://forum.virtuemart.net/index.php?topic=116947.msg394613#msg394613
Title: Re: 500 - Layout "default" not found - when I want to view the cart
Post by: mehdi09 on July 17, 2013, 19:21:27 PM
Si i really need to migrate to joomla 2.5 usine jupgrade. Do all the data from vm will be migrated too? Thanks a lot
Title: Re: 500 - Layout "default" not found - when I want to view the cart
Post by: jenkinhill on July 17, 2013, 20:39:09 PM
No, you have to copy the VM database tables and images across manually using phpMyAdmin and ftp. You would also need to use a different Joomla template, one designed for use with Joomla 2.5

Editing files without knowing what you are doing is not a good idea! Your Joomla template seems to include overrides for VirtueMart, so it is possible that the error lies there.
Title: Re: 500 - Layout "default" not found - when I want to view the cart
Post by: Maxim Pishnyak on July 17, 2013, 20:45:39 PM
Quote from: mehdi09 on July 17, 2013, 19:21:27 PM
Si i really need to migrate to joomla 2.5 usine jupgrade. Do all the data from vm will be migrated too? Thanks a lot
Check "Installation, Migration & Upgrade VM 2" forum section - additionally images, reviews, custom fields and related products could be transferred.
Title: Re: 500 - Layout "default" not found - when I want to view the cart
Post by: mehdi09 on July 18, 2013, 17:56:41 PM
I just upgraded to Joomla 2.5 using Jupgrade component.
But, I have a lot of problem to migrate the VM datas.
Export and reimport the database, changing the prefix...
Do you suggest a tool to do it ?

http://parapharma-en-ligne.com/refonte/

http://parapharma-en-ligne.com/

Else, please don't you have any solution for the Joomla 1.5 ?
Because, moreover, I have problem with the new template on 2.5


Thanks a lot
Title: Re: 500 - Layout "default" not found - when I want to view the cart
Post by: Maxim Pishnyak on July 18, 2013, 18:51:29 PM
Support for J1.5 has been ended.

It's very doable to reimport VM1 data to VM2.

With what instructions in mentioned by me part of forum you have troubles? Links, qoutes?
Title: Re: 500 - Layout "default" not found - when I want to view the cart [SOLVED]
Post by: Fernando Soares on July 29, 2013, 05:00:04 AM
Hi,

The error:
                 " 500 - Layout "default" not found " on try access to cart, after migration from VirtueMart 1.1.9 to VirtueMart 2.

The solution:

1- Create a folder structure "com_virtuemart/cart" into the folder "html" of your template;
2- Copy the files "default.php", "default_pricelist.php" and "default_coupon.php" (generally files named with "default...")
   ->from: "/components/com_virtuemart/views/cart/tmpl"
   ->to:     "/templates/your_template_name/html/com_virtuemart/cart"

Is quite simple and I tested  today with Joomla! 1.5.26 and VirtueMart 2.0.22a (migrated from VirtueMart 1.1.9)

Think this should work to another problems like this one.

Thanks!
Title: Re: 500 - Layout "default" not found - when I want to view the cart
Post by: quickndeal on November 01, 2013, 13:30:00 PM
Thanks to dear Fernando Soares,

I had same issue, Solved Now. :)

Sonia
(For http://www.mesotek.com)