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

[SOLVED] Error template!

Started by robertosalemi, November 03, 2012, 11:24:53 AM

Previous topic - Next topic

robertosalemi

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!
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 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

jenkinhill

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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

robertosalemi

#2
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.

bytelord

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
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

jenkinhill

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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

robertosalemi

It seems that little by little we ... :)

It remains only mistake in the header do not know how to solve! : (

robertosalemi

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?

bytelord

Hello,

This one have been fixed in 2.0.12

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

robertosalemi

But I have installed the version 2.0.12f!

bytelord

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

robertosalemi

No! : (

Now it's gone!

Thank you!

bytelord

Try to install AIO with the tar.gz files, not zip

regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

robertosalemi

Yes, with the update always so good!

robertosalemi

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.

bytelord

Sorry,

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

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!