TPL_404 when I try to Add/Edit billing address information from the shopping car

Started by Miss Swan, September 14, 2017, 13:46:23 PM

Previous topic - Next topic

Miss Swan

Hi

I'm stuck, I can't figure out why I get TPL_404 when I try to Add/Edit billing address information from the shopping cart?

I'm currently working in a subdomain, building the page, before I will run it on the main domain.
The page is here: https://pigeonvitality.com/test_site/index.php/shop/user/editaddresscartBT

In another page I have it works, then the url don't have the /index.php/ part  ::)

I cannot figure out where in the admin I can edit this?

VirtueMart 3.0.18

jenkinhill

Turn off all SEF to make it possible to debug.

If this is a new store you should use the latest VirtueMart 3.2.4   If you are using Joomla 3.7 then you should update in any case, as older versions have issues with J3.7+  http://virtuemart.net/news/latest-news/480-security-release-of-joomla-3-7-be-prepared
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

remove /index.php/

make sure u have the joomla .htaccess in the root (rename htaccess.txt)

then enable in the J admin global config the URL Rewriting
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

Miss Swan

Quote from: jenkinhill on September 14, 2017, 14:57:42 PM
Turn off all SEF to make it possible to debug.

If this is a new store you should use the latest VirtueMart 3.2.4   If you are using Joomla 3.7 then you should update in any case, as older versions have issues with J3.7+  http://virtuemart.net/news/latest-news/480-security-release-of-joomla-3-7-be-prepared

Hi
I turned off SEO and then it actually appears, but not as it's own page, more like a part of the front page? I have no idea how to debug.
I got Joomla version 3.6.5, as I'm not sure if the template I use or my host were ready for 3.7, thought I finish my work with the page, then check this out.

There is .htaccess in the root, when I enabled URL rewriting it seems like there is a conflict with the main domain and the subdomain, somehow. Even though the url says maindomain/subdomain/page it shows a "wrong" page from the main domain?

jenkinhill

An .htaccess file affects the directory the file is in and all subdirectories. If you have subdirectories that you don't want mod_rewrite rules to affect, then you need to add an htaccess file with in the subdirectory with the rewrite engine turned on (so that none of the parent rules have precedence).  Just add no rules after RewriteEngine On in the subdirectory .htaccess file.
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

Miss Swan

Quote from: jenkinhill on September 21, 2017, 15:20:19 PM
An .htaccess file affects the directory the file is in and all subdirectories. If you have subdirectories that you don't want mod_rewrite rules to affect, then you need to add an htaccess file with in the subdirectory with the rewrite engine turned on (so that none of the parent rules have precedence).  Just add no rules after RewriteEngine On in the subdirectory .htaccess file.

I´m not sure how to do this.
In the subdirectory there is a htaccess.txt file,
am I supposed to change that to .htaccess - an how do I add no rules after RewriteEngine On? Do I delete those rules standing there?
or do I copy the .htacces file from the main - domain to the subdirectory and then add no rules? (still doesn't know how to do this)

I tried to move  the subdirectory to mainpage, but the 404 was still there.