News:

Looking for documentation? Take a look on our wiki

Main Menu

404 on frontend (localhost inst) when upgrade from VM2 to VM3

Started by betterlead, March 19, 2015, 00:03:55 AM

Previous topic - Next topic

betterlead

I have made a clone site of my live site with Akeeba backup
J2.5.28 & VM2.6.14

I published it on my localhost (My iMac)(MAMP) and it fully worked.

I updated all extensions, disabled some, added -bak to custom.css and then went to upgrading to VM3.0.62.

All now looked fine in the backend, but when I tried to view the fronted, I was faces with 404.

I understand there can be many different issues, but I am hoping I could find some good tips from you VM Gurus on what to start checking.

My next step is, of course an upgrade of this site, to Joomla 3.
What should I then be prepared on?

My live site: www.tingshop.com

Edit/Update: Of course I didn't change to another template, like Beez2 or 5. Now done. But still there is trouble, "#404 - can't find component". There is a link to the "startpage" and when I click it, I am transfered to my live site.

Cheers
/Betterlead
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

Studio 42

Seems it's a joomla 3.4 bug with the extentions ID on upgrade.
i found this tread http://forum.joomla.org/viewtopic.php?f=710&t=874637. speaking from this bug and a french user has same problem.
If you have not updated to joomla 3.4. it's not this bug.

betterlead

Hi. Well no, this is without the Joomla upgrade.

When I upgraded to J3, i got "500" at the frontend and JHtml: :jquery is not supported. The file doesn't exist.

I wonder, isn't it possible to first install a package with J3 and VM3, then import the database of the live shop?
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

PRO

Quote from: betterlead on March 19, 2015, 11:10:08 AM
Hi. Well no, this is without the Joomla upgrade.

When I upgraded to J3, i got "500" at the frontend and JHtml: :jquery is not supported. The file doesn't exist.

I wonder, isn't it possible to first install a package with J3 and VM3, then import the database of the live shop?

try a default joomla template

GJC Web Design

re the 404 - check in the configuration.php that no $livesite is set - it should be blank

also check gzip is off (=0)
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

betterlead

Quote from: GJC Web Design on March 19, 2015, 15:12:04 PM
re the 404 - check in the configuration.php that no $livesite is set - it should be blank

also check gzip is off (=0)

Thanks.
Yes, gzip is set to off.
There is no such as "$livesite" in the configuration.php. Not in the config file that's in the root. Should I look somewhere else? (I understand your thoughts, some link must be there, since it leads to the live site.)
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

betterlead

Quote from: PRO on March 19, 2015, 14:35:04 PM
try a default joomla template

Hi, If you mean Atomic, Beez_20 or Beez5 - yes, these are the ones I have tested with. Or do you mean any else. I was thinking, there must be a VM-template. But I am probably wrong about that. (..?)
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

GJC Web Design

yes - he meant the std. protostar etc

re live site - unusual u don't at least have an empty entry as it is written from the configuration.php-dist  on install

public $live_site = '';                   // Optional, full url to Joomla install.

but if not there can't be that..
checked or disabled the .htaccess if there?
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

betterlead

Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

PRO


betterlead

Hi, sorry, missed the public $live_site = '';

I's on board. (and empty)

@PRO, how and where do I "rebuild menu items"? Sorry for my ignorance, still learnig...
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

betterlead

Quote from: betterlead on March 20, 2015, 15:52:07 PM
Hi, sorry, missed the public $live_site = '';
I's on board. (and empty)


@PRO, how and where do I "rebuild menu items"? Sorry for my ignorance, still learnig...

Edit: Ah! Found rebuild menu items.
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

Patriboom

Hello

I have the same problem:
- Installed Joomla 3.4.1 - french
- Installed VirtueMart 3
- Created Menu item reaching for VirtueMart category
- Click on frontend menu item and get error 404  (yes, after clean cache)

- Created Menu item reaching for VirtueMart item
- Click on frontend menu item and get error 404

- Created Menu item reaching for VirtueMart HomePage
- Good result

Thanks for your help.