News:

Looking for documentation? Take a look on our wiki

Main Menu

404 error on subdomain

Started by quigley595, January 26, 2016, 08:58:41 AM

Previous topic - Next topic

quigley595

Hi folks,
I hope someone can help here...  I am going crazy.

I have a site (say 'xxx.com'), which works perfectly....  I backed this up and restored into a sub domain ('dev.xxx.com'), to use as a test/development site, using Akeeba Backup.
the 'dev.xxx.com' site works in every respect, except for VM.
I have a menu link for 'Shopping' going to the VM Front Page (Menu Item type = VirtueMart---Front Page), but I get a 404 error on this in the dev site.
Under this main menu option, I have sub-menus, each one going to a VM Category (Menu Item type = VirtueMart---Category Layout), and these ALL work fine....

*   I have changed the URL on VM Shop Vendor config tab to 'dev.xxx.com'.... no go
*   I have done the 'Fix Database'... no go.
*   I have disabled (renamed) the .htaccess file...  no go.
*   I have turned OFF SEF URLs...  no go.

I am using Joomla 3.4.4  & VM 3.0.7
the directories all seem OK

I have looked everywhere I can (except for the right place of course :-) :-) :-) ) and still can't see where this is going wrong.

Any pointers would be greatly appreciated....

thanks,
Mike

GJC Web Design

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

quigley595

Quote from: GJC Web Design on January 27, 2016, 01:12:57 AM
try remaking the menu...

Thanks for your reply GJC!...  Greatly appreciated.

Unfortunately, that didn't work for me..... 

Rebuilt the complete menu (just the Top Menu, where the issue was),  cleaned the Cache in both the sever and browser.....  but still the same issue.....
I have even tried creating a new menu option for the 'VM Front Page' menu type...  still no go...  and it all works on the production site, of which this is a backup!!

Can't understand why the top link ('Shopping, going to the VM Front Page) doesn't work, while the items below that ('Opt 1,2,3 etc, going to the VM Category Layout), DOES work.

More 'Diablo Ex Machina', than 'Deus Ex Machina' I think!  ???  ???  ???
I thought I was crazy before....  but now I'm convinced!

Mike

GJC Web Design

with SEF off what is the actual url?
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

quigley595

Thanks yet again GJC....

I have sent you a PM.

Mike

GJC Web Design

should keep it public.. this is a resource for all VM users

yes.. drop the https  as there isn't a valid cert and even if there was there appears to be some misconfig

remove the .htaccess to test and un select the use ssl in Joomla admin

ssl isn't being forced.. if I use http it works  .. so see no reason why the url would get a https on it

none of the other urls are ssl
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

quigley595

GJC, I agree.... should keep it public.... I just didn't want to display the URL right now.

Thanks again for all your help, believe me, I greatly appreciate it.

I have previously done all of the below, still without success....  so, since this is a development site, and every other link seems to work except that one VM Front Page one, I might leave it as is....  but I'm still perplexed as to where it is getting the HTTPS from!

I have:

  • Removed SEF URLS
  • Deleted the htaccess file from the dev sub domain root
  • Set SSL in Joomla admin to Off
  • Set SSL in VM config to Off
  • Set the URL in VM Shop / Vendor to the development URL, without https://
  • Created a new 'VM Front Page' menu option type
  • Rebuilt the menu
  • Cleared the server & browser caches
  • Used incognito browsing

all with no luck....  It has just got me stumped.

Thank you again for your assistance......   you are a gentleman and the word needs more like you!

Mike

GJC Web Design

Afraid as stumped as you are--  :(

Do u mean on the test site just that link always has a https added?

is this on on the menu?
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

quigley595

GJC...

We had a sitcom here in Australia years ago, where one of the characters was called Effie, who had one catch-phrase in particular.   "How embarrassment!".
Well...  I think I am channeling her now.

After all my anguish.....  you have dropped the ball right into the net between the goalies legs   :-[  :-[  :-[

That of course was exactly the cause of the problem! On the Metadata tab.....   of all places!
I cannot begin to thank you enough!.....  I very definitely 'owe you a beer'  You are magnificent.

Thanks again for your great assistance in this...  I am indebted to you!

Mike

GJC Web Design

To tell the truth after years of joomla I never even realised it was there.. I vaguely remembered something one time years ago with j1.5 and ssl menus and I used this setting to hack a nofollow selection on each menu item but wasn't till you said it was just "being added" for no apparent reason to just one menu.. then click...
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