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

Virtuemart 1.2 on Joomla 2.5 redirects to old 1.1.5 version on Joomla 1.5

Started by romax100, July 10, 2014, 03:38:45 AM

Previous topic - Next topic

romax100

Hello everyone,

I have the following issue:

Recently I used Jupgrade to migrate our company webpage from Joomla 1.5 to Joomla 2.5. Virtuemart extension got automatically upgraded to the version 1.2.0b from the old version 1.1.5. When I go to mywebpage.com/jupgrade/administrator and try to click on any Virtuemart control panel to see the product list or just settings, I get redirected to the old joomla page at mywebpage.com/administrator. So pretty much it jumps from Jupgrade folder to the root folder of the live webpage.

When I go to the front end of the new Joomla 2.5 installation and check the online store, I see the images and the Virtuemart page that looks exactly like the Joomla 1.5 version except all of the links to the categories or products listed have broken links and when you click on them the page simply stays the same (they all are linked to the online store homepage). I have attached two images of the links from the same store item.

Joomla 2.5 website is inside Jupgrade folder as by default.

Help!

We have almost 200 products and it will be a waist of time to relink everything manually. Is there a different method to migrate to Virtuemart 1.2, or how can I change file locations using FTP to fix everything. It is unbelivable that all of the products are there, but the links are broken.

[attachment cleanup by admin]

GJC Web Design

It really is hard to know what your talking about .. there is no such thing as VM1.2.0b

also an upgrade to J2.5 wouldn't upgrade anything to do with VM

I assume you have now a broken 1.1.5 VM in your J2.5

the reason your redirected to the old site is that you haven't changed the urls in mywebpage.com/jupgrade/administrator/components/com_virtuemart/virtuemart.cfg.php which will still be

define( 'URL', 'http://www.mywebpage.com' );
define( 'SECUREURL', 'http://www.mywebpage.com' );

as VM1.1 doesn't run on J2.5 you will have to upgrade to VM2.6.6 anyway...
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

VM1.2 was an unofficial release, it was the old VM1.1.9 hacked to work with Joomla2.5 as a temporary measure. It was supported elsewhere: http://forum.virtuemart.net/index.php?topic=102139.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

GJC Web Design

QuoteVM1.2 was an unofficial release, it was the old VM1.1.9 hacked to work with Joomla2.5 as a temporary measure

the things you learn (although it now rings a bell and lo and behold I actually have a copy on my disk from 2012)   :)

wonder how the auto magical update works ..  ;)

so - in theory change those urls and it might work...  :)
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

Might work............. but I have no idea if there is an upgrade path from 1.2 to current versions.

It would be much better (& possibly safer) to migrate the old site properly to VM2.6.6
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

romax100

Thank you very much for all your replies.

I saw the tutorial on how to migrate Virtuemart, although I wold settle for anything that will work right now with minimum headache . In the tutorial it showed how to upgrade live website and simply upgrade the Virtuemart. In my case I am not touching the live version, but dealing with the Jupgrade folder.

Question:  Can I follow the same steps as in the Tutorial? Should I simply install Virtuemart 2.6 and move the images to a different location and simply run the migration tool on the Jupgrade version? If you can confirm that I can simply update Virtumart and migrate data from the old version without clean joomla reinstall I will do that right away.

Also, I did not find file: mywebpage.com/jupgrade/administrator/components/com_virtuemart/virtuemart.cfg.php. I do have a file named virtuemart.php though. I am not sure if the difference even matters or not.


GJC Web Design

theorectically yes - just install vm2.6.6 and try the migrate etc - follow the tut carefully!- as you have a test site there's nothing to loose

re administrator/components/com_virtuemart/virtuemart.cfg.php - has to be there

checked that copy of vm1.2 I had hamstered away and in the install is a administrator/components/com_virtuemart/virtuemart.cfg-dist.php which gets re written as the config file - that is where all the settings for VM1 are
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

romax100

Thank you, i did find the cfg file and I redirected to the test site URL which gave me the ability to use the control panel in my Joomla 2.5 installation. I have one last question, before I give up totally and upgrade to latest virtuemart version.

While the problem with redirecting to the 1.5 virtuemart control panel was resolved, the problem with broken links, or should I say problem with all products linking back to the store homepage still persists. In the images from my original post it shows the issue. I was wondering, if there is a file, or a line of code that is responsible for link creation? I tried googling the location of such file or how virtuemart even creates the links but I didn't find much.

I just know that normal URL have the index.php code that corresponds to ItemId and number and that Jroute is somehow involved in the process.

Is there a place where the specific command responsible for correct linking of products exists? Or can you suggest any other ideas why the links were not fixed automatically?

Thank you.

GJC Web Design

Honestly - who knows - you have a dead end hack of an old software to try and make it work on new software - the whole vm1.2 project seems dead..

have you tried switching off SEF urls?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

romax100

OMG, the SEF did it. I turned it of and it now clicks. Thank you.