VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: robertosalemi on November 03, 2012, 11:24:53 AM

Title: [SOLVED] Error template!
Post by: robertosalemi on November 03, 2012, 11:24:53 AM
Hi all,
I need your support to find a solution from which I'm not coming out.

I installed:
- Joomla 2.5.7
- Virtuemart 2.0.10

All right!

Then I bought this template (http://www.websitetemplates.bz/virtuemart-templates/handbags-store-virtuemart-template_1240.html)!
Only after I realized that the template is for Joomla 1.5, VirtueMart 1.1.9

Now I have 2 options:
- Joomla 1.5 and Virtuemart 1.1.9
- Trying to adapt the template to the new versions, but as you can see from this  link  (http://www.singerhouse.it/) I have some error, the code in question is this:


<?php 
$tmp = new JConfig();
$c1 mysql_connect($tmp->host,$tmp->user,$tmp->password);
mysql_select_db($tmp->db,$c1);
$q=mysql_query ("select product_id, product_thumb_image, product_name from ".$tmp->dbprefix."vm_product order by product_id DESC" );
$product = array ();
while ($product []=mysql_fetch_assoc ($q));
?>



Thank you
Title: Re: Error template!
Post by: jenkinhill on November 03, 2012, 13:33:30 PM
Don't install the old, no longer supported versions!   http://forum.virtuemart.net/index.php?topic=106865.0

You can convert the template if you wish for use with J2.5:

http://magazine.joomla.org/issues/issue-may-2012/item/740-How-to-convert-Joomla-15-template-to-Joomla-25
http://docs.joomla.org/Upgrading_a_Joomla_1.5_template_to_Joomla_2.5

The template will have overrides for use with VM1.1.9 which you will not need, but it is relatively easy to make new overrides for use with VM2
Title: Re: Error template!
Post by: robertosalemi on November 03, 2012, 14:41:20 PM
Thanks for the guide and the conversion from Joomla 1.5 to Joomla 2.5.

I followed all the guide, but the result does not change, it gives me error in the same line.

If I use Virtuemart 1.9?

Thank you.
Title: Re: Error template!
Post by: bytelord on November 03, 2012, 14:56:00 PM
Hello,

As jenkinhill already say vm1 is no lognder supported, either joomla 1.5  ... http://forum.virtuemart.net/index.php?topic=106865.0
Also keep in mind that is no longer on development also (both vm1 and j15) .. so if there are bug will never get resolved and don't forget the security vulnerabilities that will took place ...
Best is to go with joomla 2.5.x and vm2, if you are not able to follow jenkinhill suggestions how to upgrade that template then will be better to try another template or build one...

Regards
Title: Re: Error template!
Post by: jenkinhill on November 03, 2012, 16:03:41 PM
That code has nothing to do with VM2. So if it is in your template, try removing it.  http://forum.virtuemart.net/index.php?topic=108212.0
Title: Re: Error template!
Post by: robertosalemi on November 03, 2012, 16:05:19 PM
It seems that little by little we ... :)

It remains only mistake in the header do not know how to solve! : (
Title: Re: Error template!
Post by: robertosalemi on November 04, 2012, 02:21:44 AM
Perfect, I removed the code and now everything is ok.
Next to the search box I have a '0 ', what is it? How can I delete it?
Title: Re: Error template!
Post by: bytelord on November 04, 2012, 03:09:06 AM
Hello,

This one have been fixed in 2.0.12

Regards
Title: Re: Error template!
Post by: robertosalemi on November 04, 2012, 22:28:52 PM
But I have installed the version 2.0.12f!
Title: Re: Error template!
Post by: bytelord on November 05, 2012, 02:32:51 AM
Have you update AIO also?
Title: Re: Error template!
Post by: robertosalemi on November 05, 2012, 10:37:33 AM
No! : (

Now it's gone!

Thank you!
Title: Re: Error template!
Post by: bytelord on November 05, 2012, 16:41:52 PM
Try to install AIO with the tar.gz files, not zip

regards
Title: Re: Error template!
Post by: robertosalemi on November 06, 2012, 17:16:16 PM
Yes, with the update always so good!
Title: Re: Error template!
Post by: robertosalemi on November 07, 2012, 23:00:28 PM
Hello!
I ask another for help, as you can see here
http://www.singerhouse.it/component/virtuemart/1/aghi-per-macchina-per-cucire.html
not respect the layout of the template.

Is there any guide that allows me to convert the file in the file default.php plypage.tpl.php?

Thank you.
Title: Re: Error template!
Post by: bytelord on November 08, 2012, 00:39:41 AM
Sorry,

I couldn't understand you correctly, could you please be more specific?

Regards
Title: Re: Error template!
Post by: robertosalemi on November 08, 2012, 12:00:55 PM
In Joomla 1.5 template for the display of products is:
(https://dl.dropbox.com/u/50056863/vm_layout_product.jpg)

(https://dl.dropbox.com/u/50056863/vm_layout_product_details.jpg)

While after conversion for Joomla 2.5 and VirtueMart 20. I see this as follows:
http://www.singerhouse.it/component/virtuemart/1/aghi-per-macchina-per-cucire.html#

How can I fix?

Thank you.
Title: Re: Error template!
Post by: bytelord on November 08, 2012, 14:56:08 PM
As i told before you have to ask your template provider to send you the new template ... i don't know how to help you with that.
Title: Re: Error template!
Post by: robertosalemi on November 08, 2012, 16:14:12 PM
It is not so simple.
I bought this model, only after the purchase I saw that for Joomla 1.5, I asked them to send me the new model, they told me that I only send the payment, for $ 100.
Given that thanks to you I was able to modify the template, is there any guidance or some of your advice so that I can change the display of virtuemart?
If you want I can post the template file.

Thank you.
Title: Re: Error template!
Post by: bytelord on November 08, 2012, 16:19:10 PM
Hello,

Please DO NOT post the template because is a commercial product.
Sorry, but the template needs a lot of work to be vm2 compatible, same result.
You should be more careful when you purchase it ... i cannot help you with that and i believe cannot others on the forum also.

Regards
Title: Re: Error template!
Post by: robertosalemi on November 08, 2012, 17:23:36 PM
 :(

But I am not able to find free templates for virtuemart 2.0!