Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Multi-Stores Multiple Shops Support


hobbzilla

Recommended Posts

Hobb,

 

Ok, database has just been corrupted again and this time it wasn't my fault at least as far as restocking/deleting orders go.

 

....hmmm....

 

So, the situation is...

 

1. admin/index.php displays that pending orders exist.

2. admin/orders.php fails to display any such orders.

3. when typing in the order # the order shows up in admin/orders.php expanded view for orders.

 

On the customer side of things, customers trying to view an order/history simply get a string of negative numbers for pages but no details.

 

I can only assume one of two things...

A) Some details are getting through to the orders without the appropriate backslash (or is that forward slash...very tired) which is interfering with the call.

B) A maths equation is getting screwed up due to a number somewhere.

 

Either way, the problem appears to be storage of info on the DB and how the code calls it. I tried out a straight oscommerce order.php form to call the info, but no effect, so I assume it falls to the insertion process of details into the DB itself.

 

The only area I have changed in that section is the PRODUCT_MODEL variable in the ORDERS_PRODUCT table (length from 12 to 13)

 

I have looked through the orders that work vs the orders that don't and can't see anything that stands out as the culprit.

 

Tables I am looking at are...

 

ORDERS

ORDERS_PRODUCTS

ORDERS_STATUS_HISTORY

ORDERS_TOTAL

 

...if I'm missing any, let me know and I'll dive into that area and see if anything stands out

Link to comment
Share on other sites

Well, I updated my database again, found an uncorrupted backup and spliced customers in. Tested things out and orders are fine again.

 

Will need to keep an eye on the situation to see at what point it breaks (Twice now, you just know there will be an other) just not sure if it is due to what I have done (Haven't touched ordering, but perhaps a conflict with what I have done maybe?) or if there is a flaw somewhere in the multi-store coding.

 

I for one need to get some sleep.

Link to comment
Share on other sites

Well, it broke again.

 

So, here is the details I can determine, hopefully you might be able to id the problem.

 

I tested things with my test account and everything works fine...till someone signs up (I can access their details and they show up in the customers section without a problem.) and places an order...At which point all orders from then on don't show (though I get an email alert and I can pull up details)

 

page that has problems...

 

ADMIN SECTION

/admin/orders.php

 

CUSTOMER ACCOUNT SECTION (if I have an order as a customer)

/account_history.php

 

Due to the only option of accessing an order is to call it up via it's order number, there is no way to delete the order once completed.

 

Based on this, I can only assume there is an issue when someone signs up or when they place an order after signing up.

 

The problem might also exist becuase I have 30 shops set up, not sure if this would be relevant, but the only thing I can think of.

 

The only recent change has been to adjust the model number from 12 to 13 digits in the database.

 

Any suggestions at this point would be appreciated.

Link to comment
Share on other sites

Right, I have repaired it yet again...

 

So I noticed that I had to go back three backups before I found one not affected.

 

Once I set it up and spliced the customers back in, I have tested in the following way...

 

Placed an order with my test account...everything is fine.

created a new account and placed an order...everything is fine.

Placed an order with the test account including a comment in the comments section...all is fine

Placed multiple items and ordered...still all fine

 

hmmmm

 

Last ditch effort, backed up the database (becuase this is the only thing I have done to date that may be at issue)

 

placed an order...still fine

 

...hmmmmm again...let me think...what else have I done recently...added 5 more shops (that brings me up to about 32 ish)

 

My suspicion tends towards having altered the MODULES: Order Total variables after sales have gone through using previous settings (which may make it a core OScommerce issue unless multi-shops has changed anything on that side of things)

 

I'll avoid any presettings I have in place unless I have to change them to bring things in line.

Link to comment
Share on other sites

having adjusted most of the settings, did a quick test order...looking more and more like changing MODULES: Order Total variables is the culprit, but I'll keep an eye on things and see if things are still working later on.

 

May still be due to customers doing something I have yet to id.

Link to comment
Share on other sites

I've tried to install this and get an error trying to use the admin login, I get a browser error saying the page has been redirected too many times. I put multistores in a fresh install and then did the global registers fix. Everything installs fine, no errors on the catalog main page, but can't get into admin. can this work with global registers off? Thanks for any help.

Link to comment
Share on other sites

I've tried to install this and get an error trying to use the admin login, I get a browser error saying the page has been redirected too many times. I put multistores in a fresh install and then did the global registers fix. Everything installs fine, no errors on the catalog main page, but can't get into admin. can this work with global registers off? Thanks for any help.

 

Usually when I see the admin page continuously reloading, I would check out the admin includes/configure.php. HTH. I have not used the "global registers fix".

Link to comment
Share on other sites

What exactly is the "gloabl registers fix"? I am not sure if that is on or off. I do get the same problem about the admin login mentioned earlier. I have a fresh install of osCommerce in the default directories. It's version 2.2MS2 release 22. I am using multi-stores 1.9. I followed the directions but I can't login as described in step 4. Any help is appreciated.

 

This is my configure.php

 

<?php

// Please, note that all changes in this file will be lost

// after reconfiguring application by Plesk

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://halloweenghoststories.net'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'http://halloweenghoststories.net'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'halloweenghoststories.net');

define('HTTPS_COOKIE_DOMAIN', 'halloweenghoststories.net');

define('HTTP_COOKIE_PATH', '/osCommerce/');

define('HTTPS_COOKIE_PATH', '/osCommerce/');

define('DIR_WS_HTTP_CATALOG', '/osCommerce/');

define('DIR_WS_HTTPS_CATALOG', '/osCommerce/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'usrxxx');

define('DB_SERVER_PASSWORD', 'xxx');

define('DB_DATABASE', 'mysql13cd94dce77c90e6ccd6762027a');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

I too have the log in problem in Admin.

 

I dont get time outs, but the username admin and password admin do not work, when you hit the submit button the system thinks about it for a second..... then just returns to the same page

 

HEEEELP!

 

would really love to get in to this and play

 

clean fresh download of OSC and V1.9 of the MSMS

Link to comment
Share on other sites

Multi-Stores v1.9 Released!!

 

v1.9 - 10/27/06

Update stock code to use osCommerce 2.2 Milestone 2 Update 060817

Fix several queries with mySQL 5.x syntax

Included percentage based group discounts in stock MS

Add warning when renaming configuration table

Identify the "Super-Admin" in admin side

 

Get it here:

http://www.oscommerce.com/community/contributions,1730

 

As always contributions are always appreciated and stimulate development and support!

 

Hello there and thanks for the great contribution, i have had your contrib setup and running a four shop site with all going fine until, myb hosting company upgraded to mysql 5.

You can probpably guess the error i now have mainly with the from and left join issues.

I realise i need to update to the latest MS release and your latest multishop files. Can you advise on the easiest way to get my old install up and working temporarily, as i need to set up a new hosting account / domain name /and promote the new site (an impossible tast so close to christmas), i have installed several additional contribs world geo zones / uk postal / master password etc.

 

Thanks in advance

 

Graeme

Link to comment
Share on other sites

Hi there,

 

i try now 2 days to install 2 shops with multistore contribution.

admin works already, also catalog for shop1. but i get white page for shop2. it appears nothing.

 

i test it local on my pc under XP-Pro.

 

i work out this tutorial for my installation of multi-store v9 with OS 2.2ms2:

 

*please excuse me , but i find here no way to add this tutorial as attachement*

 

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! HOW TO INSTALL THE MULTI-STORE V1.8 WITH OSC 2.2M !!!!!!!!!
!!! PLEASE REMEMBER TO BACKUP YOUR FILES !!!!!!!!!!!!!!!!!!!!!! 
!!! THIS IS FOR A NEW INSTALL ONLY !!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! By SambaMambo - Avril 2006 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Step 1-Combine all the files from multi-store v1.8 with a base version of osCommerce MS2.2. Do this before uploading any files to the server. it will simplify and speed up the installation for all stores.
You can also create a package for the second and others stores without the /admin/ /images/ /install/ folders as they aren't requested for the installation.

Step 2-You must not delete the update.sql (multi-store v1.8) file, you will need to run this file from your SQL page later.

Step 3-Upload the store package that was completed in step 1 into /shop1/ /shop2/ /shop3/ etc... directories
You have one admin panel and one image folder for all stores. 
Also when you upload a picture from the admin panel to a product, it will automatically upload it to the /shop1/images/ directory

Step 4-Once the upload is finished CHMOD the following files to 706 or 777; 
/shop1/includes/configure.php 
/shop1/admin/includes/configure.php 

But only for the /shop1/ files !!!

Step 5-Go to the store URL in your browser and follow the install instructions.
(http://yourdomain.com/shop1/)
It is recommended to use the database sessions instead of the file sessions option with multiple store contribution. 
(During the install, you will be asked to choose between session files or database)
If you are using file based sessions (selected during install), you will need to uncomment the define 
in admin/includes/application_top.php around line 69.

Step 6-When you arrive at the last install screen that has the catalog and administration buttons, import the update.sql (multi-store v1.8) file to your SQL base you choose to install the shop. Do not close the install screen !!!

Step 7-Log on to the store admin through the install screen 
Login : admin (default login)
Pswd : admin (default pswd)
and create a second store in Admin/Stores/ page.
You can call the configuration file configuration_shop2 and check ?Insert default configuration table?? box.
This will create a configuration_shop2 Table into your SQL Database. 

Step 8-Set the language to the default language for both stores. you can add languages later, this simplifies any troubleshooting if needed. 
in Admin/Localization/Languages click on the language and you will see on the right column a button (or not, i didnt have one...) called "Store". Click on it and you will have the cases to enable the language or not for each stores you created. Do not forget to do it again if you add more stores.

Step 9-Go to the Admin/category/products page and select a category for each store. Also check the ?Enable/Disable store to ALL sub-categories and sub-products? 
When you click on the categorie you have on the right column a button (or not...) called "Store" which is used to enable or not the categories for each stores.

Step 10-Go to Admin/Configuration/Multi-Stores and define the WS & FS paths for the shop1 only!!!
(you have a case in the right panel where you can choose between your differents stores.)
BECAREFULL !!! What is called Store Catalog Filesystem Languages Path, Store Catalog Filesystem Images Path, Store Catalog Filesystem Modules Path are the ADMIN Pathes.

Store Catalog Website URL : http://yourdomain.com 
Store Catalog Website SSL URL : https//yourdomain.com 
Enable SSL Store Catalog : false or true 
Store Catalog Website Path : http://yourdomain.com/shop1/
Store Catalog Filesystem Path : /home/www/account/web/shop1/ (for example)
Store Catalog Website Images Path : http://yourdomain.com/shop1/images 
Store Catalog Website Languages Path : http://yourdomain.com/shop1/includes/languages/ 
Store Catalog Filesystem Languages Path : /home/www/account/web/shop1/admin/includes/languages/ 
Store Catalog Filesystem Images Path : /home/www/account/web/shop1/admin/images/ 
Store Catalog Filesystem Modules Path : /home/www/account/web/shop1/admin/includes/modules/

Step 11-Test out the default store to see if it's working. 
If everything looks good, go back and start filling out the configuration screens for the default store and rename the default store (shop1) in the stores admin page.
in /Admin/configuration/My Store/
Keep the name "configuration" for this Table.
When you create a new one, call it configuration_shop2 or configuration_dvd for example. it will be more easy for you to find it back into your SQL Database if you need to change things... who knows?

Step 12-Creating a new store
Edit the shop2/includes/configure.php file in the /shop2/ to reflect the new store absolute file path and web paths

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://www.yourdomain.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.yourdomain.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', false); // secure webserver for checkout procedure? false or true
define('HTTP_COOKIE_DOMAIN', 'www.yourdomain.com');
define('HTTPS_COOKIE_DOMAIN', '');
define('HTTP_COOKIE_PATH', '/shop2/');
define('HTTPS_COOKIE_PATH', '');
define('DIR_WS_HTTP_CATALOG', '/shop2/');
define('DIR_WS_HTTPS_CATALOG', '');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', '/home/www/account/web/shop2/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', 'login');
define('DB_SERVER_PASSWORD', 'pswd');
define('DB_DATABASE', 'SQLBaseName');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Step 13-Edit the shop2/includes/database_tables.php 
change 
define(?TABLE_CONFIGURATION?, ?configuration?); 
to 
define(?TABLE_CONFIGURATION?, ?configuration_shop2?); (the name of your Table you've created when add the new store)

Step 14-Go to Admin/Configuration/Multi-Stores and define the WS & FS paths for the shop2
(you have a case in the right panel where you can choose between your differents stores.)

Store Catalog Website URL : http://yourdomain.com 
Store Catalog Website SSL URL : https//yourdomain.com 
Enable SSL Store Catalog : false or true 
Store Catalog Website Path : http://yourdomain.com/shop2/
Store Catalog Filesystem Path : /home/www/account/web/shop2/ (for example)
Store Catalog Website Images Path : http://yourdomain.com/shop1/images 
Store Catalog Website Languages Path : http://yourdomain.com/shop1/includes/languages/ 
Store Catalog Filesystem Languages Path : /home/www/account/web/shop1/admin/includes/languages/ 
Store Catalog Filesystem Images Path : /home/www/account/web/shop1/admin/images/ 
Store Catalog Filesystem Modules Path : /home/www/account/web/shop1/admin/includes/modules/

As you see you have the same images, languages and admin folders as the /shop1/ settings.

Step 15-Test out the second store to see if the categories and products appear. If they do, you've done it! 

Step 16-Delete the install directory. 
/shop1/install/
Delete the install and admin directory of your shop2/ shop3/ etc... if you didnt do it before.

Step 17-Make sure that files and directories permissions are set properly

CHMOD the following directories permissions:

shop1/images => 777 read/write/execute?INCLUDE SUBDIRECTORIES
shop1/pub => 777 read/write/execute 
shop1/admin/backups => 777 read/write/execute 
shop1/admin/images/graphs => 777 read/write/execute

CHMOD the following file permissions;

catalog/includes/configure.php => 604 read 
catalog/admin/includes/configure.php => 604 read

 

 

thanks

Edited by eizo12
Link to comment
Share on other sites

ok I uploaded the v9 and updated the database and over wrote the files..

and when I did a dumby test I could't sign in -- I get this error..

please help

 

this is the url https://austin.dnsdc3.com/~hera//catalog/lo...0eaf7cd5af33f01

 

and here is the error,.

1054 - Unknown column 'customers_groups_type' in 'field list'

 

select customers_groups_type, customers_groups_discount from customers_groups where customers_groups_id = '1'

 

[TEP STOP]

Link to comment
Share on other sites

Banners have dissappeared.

 

Near as I can work out, it is to do with sourcing image files from the primary site that the images are stored on.

 

Banners work on the image site, just not the satelight sites.

 

Worse yet, I can't seem to reverse the situation.

 

Any ideas on which files I need to look at would be appreciated (I am looking at functions/banners.php & html_output.php)

Link to comment
Share on other sites

For those of you who are having issues accessing the administration after entering the admin/admin username & password, does the page just immediately reload itself? Did you ever get in? or does it do it straight out after an over-write-and-run?

 

For those of you upgrading from previous versions... the EASIEST way to incorporate my changes is to perform two diffs. One diff with the version of M-S you used (i.e 1.7) and the latest version.. and then perform a second concurrent diff of your shop's osCommerce code with the latest M-S version. It should be easy to see which files have been updated from the stock version of M-S you used and the latest and just use the diff program (you have one right?? WinMerge/Beyond Compare -- you really need a good diff program!!) to do the updates.

 

As far as the banners... I hardly touched any of the banners code. It was mainly just adding the additional check for which banner the store is assigned.

Link to comment
Share on other sites

Ok Has anyone out there got the MSRP to work

on the admin/categories.php

LIne 778

the code is

 <td class="pageHeading"><?php echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . $pInfo->products_name; ?></td>
		<td class="pageHeading" align="right"><?php echo $currencies->format($pInfo->products_price); ?></td>
	  </tr>

the directions calls to

 <td class="pageHeading"><?php echo tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . ' ' . $pInfo->products_name; ?></td>
		<?php
		$pricing = '<table class="PriceList" border="0" width="100%" cellspacing="0" cellpadding="0">';
		$new_price = tep_get_products_special_price($HTTP_GET_VARS['pID']);
		if ($pInfo->products_msrp > $pInfo->products_price)
		  $pricing .= '<tr><td>' . TEXT_PRODUCTS_MSRP . '</td><td class="oldPrice" align=right>' . $currencies->display_price($pInfo->products_msrp, tep_get_tax_rate($pInfo->products_tax_class_id)) . '</td></tr>';
		$pricing .= '<tr><td>' . TEXT_PRODUCTS_OUR_PRICE . '</td>';
		if ($new_price != '')
		  {$pricing .= '<td class="oldPrice"';}
		else
		  {$pricing .= '<td';}
		$pricing .= ' align=right>' . $currencies->display_price($pInfo->products_price, tep_get_tax_rate($pInfo->products_tax_class_id)) . '</td></tr>';
		if ($new_price != '')
		  {$pricing .= '<tr class="specialPrice"><td>' . TEXT_PRODUCTS_SALE . '</td><td align=right>' . $currencies->display_price($new_price, tep_get_tax_rate($pInfo->products_tax_class_id)) . '</td></tr>';}
		if ($pInfo->products_msrp > $pInfo->products_price)
		  {if ($new_price != '')
			{$pricing .= '<tr><td>' . TEXT_PRODUCTS_SAVINGS . '</td><td align=right>' . $currencies->display_price(($pInfo->products_msrp -  $new_price), tep_get_tax_rate($pInfo->products_tax_class_id)) . '</td></tr>';}
		  else
			{$pricing .= '<tr><td>' . TEXT_PRODUCTS_SAVINGS . '</td><td align=right>' . $currencies->display_price(($pInfo->products_msrp -  $pInfo->products_price), tep_get_tax_rate($pInfo->products_tax_class_id)) . '</td></tr>';}}
		else
		  {if ($new_price != '')
			{$pricing .= '<tr><td>' . TEXT_PRODUCTS_SAVINGS . '</td><td align=right>' . $currencies->display_price(($pInfo->products_price -  $new_price), tep_get_tax_rate($pInfo->products_tax_class_id)) . '</td></tr>';}}
		$pricing .= '</table>';
		?>
		<td align="right" valign="top"><?php echo $pricing; ?></td>
	  </tr>
   	  <tr>
		<td class="smallText" align="right" valign="top" colspan="2">
<?php
	$special_exp_date = tep_get_products_special_expire($pid);
if (($special_exp_date != '') && ($special_exp_date != '0000-00-00 00:00:00')) { echo '<span class="specialPrice">Special expires ' . tep_date_long($special_exp_date) . ' </span>'; }
?>
		</td>

 

when I add it as is.. I get this error when loading a product to the catalog page.

1054 - Unknown column 'customers_group_id' in 'field list'

select customers_group_id from customers where customers_id = ''

[TEP STOP]

English LOT 100 CHILD DISCOUNT BOOKS/NUMEROFF/SCHOLASTIC TEACHERS

 

I have no idea how to get this working if anyone got this working please let me know

thank you

noppie :'(

Link to comment
Share on other sites

For those of you who are having issues accessing the administration after entering the admin/admin username & password, does the page just immediately reload itself? Did you ever get in? or does it do it straight out after an over-write-and-run?

 

For those of you upgrading from previous versions... the EASIEST way to incorporate my changes is to perform two diffs. One diff with the version of M-S you used (i.e 1.7) and the latest version.. and then perform a second concurrent diff of your shop's osCommerce code with the latest M-S version. It should be easy to see which files have been updated from the stock version of M-S you used and the latest and just use the diff program (you have one right?? WinMerge/Beyond Compare -- you really need a good diff program!!) to do the updates.

 

As far as the banners... I hardly touched any of the banners code. It was mainly just adding the additional check for which banner the store is assigned.

 

Hello hobbzilla!!!

 

To test this contrib I have installed completely new. I had one error installing the update.sql:

ERROR

OOOH

SQL-Befehl:

 

INSERT INTO configuration_group( configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible )

VALUES (

'16', 'Multi-Stores', 'Multi-Stores Options', '16', '1'

);

#1062 - Duplicate entry '16' for key 1

 

an changed it to:

INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES ('99', 'Multi-Stores', 'Multi-Stores Options', '16', '1');

 

I don´t think, that this is the source for the error "no login".

 

OOOHH NOOOO, PLEASE HELP ME, I WANT TO LOGIN.

 

Thanks a lot

 

rusky

Link to comment
Share on other sites

Does ANYONE out there have this working on multiple domains with the Multi-Stores Contrib?

EX- domainA.com and domainB.com - where domainA.com/admin will read/write to domainB.com

NOT- domain.com/directoryA can read/write to domain.com/directoryB

 

I spent over a month configuring all of these stores locally on my computer with the M-S contribution. Now I just purchased a dedicated server and I'm trying to use them across these domains and it appears that Domain A is not able to read/write to Domain B.

 

When I'm logged into Admin>Catalog I get the error:

Error: Catalog images directory does not exist: /var/www/vhosts/mydomain.com/httpdocs/catalog/images/

 

That tells me that I'm not even able to read locally from one domain to the other on a dedicated server with this contribution.

 

I've set the permissions to 777 for all directories to troubleshoot.

I've also changed the ownership of all domains on the server to apache and turned phpsafemode off.

 

Am I missing something here???

 

I would GREATLY appreciate any advice for setting this up across multiple domains on a dedicated server.

Link to comment
Share on other sites

Does ANYONE out there have this working on multiple domains with the Multi-Stores Contrib?

 

YES...about 35 and counting to date. I am of course figuring you mean...

 

www.shop1.com/catalog/

www.shop2.com/catalog/

www.shop3.net/yugio/

example.shop4.org/

 

it appears that Domain A is not able to read/write to Domain B.

 

Select one shop as your admin.

 

In the configuration section for each shop, ensure that all image sourcing is pointed at the master shop so that images uploaded to the master shop are picked up.

 

(make sure you fix what you need to do in the config.php file as well)

 

If you are using .htaccess to prevent people from hotlinking your images for their ebay sales, then be sure to add your new domains to the hotlink protection to allow these domains to access your images.

 

Remember to add product to each shop after you create the product (hint, it is a button near EDIT in the catalog/category sections) you will also need to do the same for categories and of course manufacturers.

Link to comment
Share on other sites

Now...as to my problem.

 

It gets stranger and stranger.

 

As I said, banners are now no longer showing unless I visit the master site.

 

You think that is bad...try this on for size becuase my head blew when I found out.

 

Here goes....

 

The banners appear on a different PC I used in the city to show a friend my problem.

 

The banners do not show on my PC.

 

Say what?

 

You heard me, so I pulled up the pages source code and guess what, the links exist, but the images are commented out as if they are treated as errant code.

 

I assume the problem isn't the code, it appears to be my browsers (Firefox and IE) I have McAfee running just in case that is a potential issue.

 

And yet, when visiting the primary shop, no problems at all.

 

Go figure.

 

I am seriously at a loss.

Link to comment
Share on other sites

OK I have a very serious problem and don't know if it is multi-store or not.

but none of my shipping is showing up when customer checks out.

 

has anyone else had that problem???

I have upgraded to v. 9

thank you

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...