English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 123
TOPIC: Virtuemart ADD to Cart
#2263
Re:Virtuemart ADD to Cart 14 Years, 7 Months ago  
SOLVED- The issue with the WWW missing is now solved

However:
I now have set the site and security url to point to the slave.
When I press add to cart it still jumps to the master site
robov

The administrator has disabled public write access.
 
#2264
Re:Virtuemart ADD to Cart 14 Years, 7 Months ago Karma: 54
I don't see how it can jump to another domain except if you have not defined the name correctly in JMS.

Check that the link used by the VM Add button is correctly produced.
(It should use the URL that you have specifed in the VM configuration).

If it is correct as I expect, you have later to check that you domain is correctly spelled in JMS and that you have for example defined the domain with both WWW and without the WWW.

When a domain is not defined in JMS, it automatically display the default one (the master).
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2265
Re:Virtuemart ADD to Cart 14 Years, 7 Months ago  
Thanks...
I am getting closer

The slave config file contains
define( 'URL', 'www.metamedicine.com/www/' );
define( 'SECUREURL', 'www.metamedicine.com/www/' );

yet in the slave admin it mentions:
/administrator/components/com_virtuemart/virtuemart.cfg.php :: Writeable (=master)

yet the images and the add button still point to the master


in master jms setting:
deploy: /var/www/metamedicine_com/www/
domainnames www.metamedicine.com (tried also www.metamedicine.com/www/)
robov

The administrator has disabled public write access.
 
#2266
Re:Virtuemart ADD to Cart 14 Years, 7 Months ago  
When I edit the VM main config into

echo "---:".MULTISITES_ID;
if ( defined( 'MULTISITES_ID') && file_exists( dirname(__FILE__) .DS. 'virtuemart.' .MULTISITES_ID. '.cfg.php')) {

and then the slave shows
----: MULTISITES_ID
Indicating that MULTISITES_ID is not defined

Any suggestions?
robov

The administrator has disabled public write access.
 
#2267
Re:Virtuemart ADD to Cart 14 Years, 7 Months ago Karma: 54
Sorry, but I don't see.
If you have correctly installed the JMS patches and the URL are correctly defined then I don't see the origin.

Normally VM use the field URL or SECUREUL to compute the link.
So the link should be OK except if you don't have installed the JMS patches.

If you want that we investigate on your server, this is possible with our billable support that you can order on
www.jms2win.com/download?page=shop.produ...35&category_id=1
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2268
Re:Virtuemart ADD to Cart 14 Years, 7 Months ago  
In response to
echo "---:".MULTISITES_ID; in my basic VM config I get the following results

In the backend of my slave it shows the correct ID
---:metamedicine_commmcfg

In the frontend of my slave
---:MULTISITES_ID

I have installed the latest version and incl all patches are OK
Joomla Multi Sites version: 1.2.10 (Latest available: 1.2.10)
Patches definition version: 1.2.13 (Latest available: 1.2.13)

It looks like the VM patch does not load the MULTISITES_ID in the frontend
(but it does it correctly on the backend)

Where is this code that handles the setting of this define in the frontend ?

JMS Master config looks ok
Site ID (*): metamedicine_com
Domain names: www.metamedicine.com
deploy : /var/www/metamedicine_com/www/

Please advise...
robov

The administrator has disabled public write access.
 
Go to topPage: 123
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla