Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

maskddingo

Archived
  • Posts

    21
  • Joined

  • Last visited

Profile Information

  • Real Name
    andrew

maskddingo's Achievements

  1. This is something you are going to have to experiment with.. trial and error style... It may be an issue with how easy-populate reads the csv file that i'm not aware of.... I've checked into it on my own install... and easy populate does indeed surround all it's fields with double quotes when it exports. So I don't think you are going to be able to get away with those double-quotes within the description field (or any other field for that matter!) without properly formating them like I described earlier. Try editing the .csv file in a raw text editor if you aren't already.... excel might be doing something funky to it when you save. (never trust that a micrsoft program is doing what you think it is... it almost always is not...)
  2. when you type in you url to go to your catalog you type in http://www.bobsaonlinestores.com right? and that takes you right to your store? Or do you type in http://www.bobsonline.com/catalog ?
  3. Somethign is happening to your double quotes -> " along the way... Becasue easy-populate works via .csv files. These .csv files are just plain text files with fields seperated by commas and the values are sometimes surrounded by double quotes... Basicaly, I can see you have properly used \ infront of all your quotes... that will make things work for php when it pulls the discription from your db. Where the problem lies is that in order to prperly represent a double quote that resides inside a .csv file field is to place another double quote infront of it. (ie. where ever you need a double quote -> ", to appear when the information is extracted from the .csv, you must put 2 double quotes -> "" . ) I don't now if i'm explaining this correctly, but i do believe this is where you problem lies... I have limited experience with this, but i hope I can point you in the right direction. Google 'csv format' to get more information about the format of csv files.
  4. If the domain 'www.bobsonlinefl.com' is set up to map to your 'catalog' directory directly then the image files would not be in http://www.bobsonlinefl.com/catalog/images/, they would be in http://www.bobsonlinefl.com/images/
  5. We can only hope the utter failure that is Vista is gonna bring Microsoft to their knees. At which point they will hopefully realize what people really want from an OS is not a 'Ferrari exterior' with 2-cylinder riding lawnmower engine under the hood... Stability, performance, and ease (yes I said ease!) of configuration will always pull me in the *nix direction, as I feel these are the attributes that I expect from an operating system. MS fails on stability, performance, and yes even ease... MS only has the edge in 'traditionally used software' compatibility. It may be easier to set up and install for your average user... but lets face it, the average user shouldn't have many reasons to have to completely re-install their OS... I'm looking at you Microsoft!!! My choice has nothing to do with free/not free, as it's not hard to get a hold of a free copy of windows XP... Unfortunately because of their monopolistic tactics of the 90's, (and even today!) everyone needs a copy of ms windows around for one reason or another eventually... Vmware is the PERFECT solution for this as far as I'm concerned ... I make a clean install of windows on the Vmware then I add the programs I need... set a vmware restore point. BOOM! no more reinstalling windows EVER! NO more windows crashing your computer... instead it just crashes the virtual machine! Hell if you are running a dual core processor, Windows can even through your VMware into an infinte loop, and you can still have the other processor's cycles to kill the now looping Vmware process! BTW... I love your idea of dumping the VMware image to a usb drive!
  6. I'm fairly sure oscommerce can already do what you are looking for out of the box. From the admin you can add new administrator accounts by clicking on the "administrators" link in the left nav box. When you create a new admin account you can select from a list of privileges for that account. The "privileges" basically select what options will appear in the left nav menu for the given user. Looking at it quickly I'm fairly certain you can create "administrator" accounts that only have access to the "orders" section of admin. I haven't tried this feature at all. One thing I would look into though if I had time, is whether the links are just being hidden from the admin or if admin access level is actually restricted. (ie. even if you aren't presented with a link in the menu, could a restricted admin account still access other areas of the admin if they know the correct URL...).
  7. change to this: define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', ''); define('DIR_WS_HTTPS_CATALOG', '');
  8. hmm yeah well at least you are starting to put you finger on the problem... It's the same basic issue I ran into with this software... You don't really know what constants are being used to create what paths, and where... At least we know you gotta get rid of that extra tickets2... can you maybe post your current configure.php file for tikets2?
  9. Try fooling arround with your image paths... in both the configure.php and in the database... If you aren't getting ANY images at all it sounds to me like this could be the issue. A way I foudn to "debug" my images was to go to your site in a web browser, do a right click on the broken image, select properties and look ad the image source. (should be a properly formated URL to the correct image file). You could also just "view page source" from your browser and check all the <img> tags to see if the correct path is being inserted into the src property of the img tag.
  10. Images is a funny thing... if you upload new images when you add a product though the admin panel no mater what store you curently have selected... it places them all in you original (site1's) images folder... but then site2 looks for them in site2's images folder. You will need to copy them manually to the image folder on the correct site. Or if your site is running on linux, a better solution is explained in the multi-stores install.html under 'Simplifying M-S Administration', which involves linking the directories.
  11. first way looks more logical to me than the second. l Like mine is set up: http://localhost/oscommerse/catalog/ and http://localhost/oscommerse/catalog2/ This is what I did: From Scratch 1. Made a clean install of oscommerce to '/(WEB ROOT)/oscommerce/' 2. Set up store1 with install.php like you noramly would when creating a new oscommerce site. 3. Installed Multi-stores (the typical copy-over way you install most contribs...) 4. Used MySql Query browser (or whatever program you want to use) to Drop the 'administrators' table (this will get replaced by the next step if you don't drop it first you will get a table already exsists error) 5. Used MySql Query browser (or whatever program you want to use) to execute the "update.sql" script that is included in multi-stores zip file. 6. Logged onto /(WEB ROOT)/oscommerce/catalog/admin USR: Admin PWD: Admin 7. 'Insterted' new store (store2) as per the instruction in the install doc 8. at this point I copied the entire contents of /(WEB ROOT)/oscommerce/catalog/ to /(WEB ROOT)/oscommerce/catalog2/ thus creating my second store 9. Set up the FS and WS paths for each store through the admin panel as described in the multi-store install doc 10. Edited both stores configure.php files to make sure they reflect the correct WS and FS paths for each store. (did not need to comment out any lines) 11. Edited store2's database_tables.php setting the define(TABLE_CONFIGURATION, 'configuration2'); line. Where configuration2 was the name of store2's configuration table that I chose when I "instered the store" (step #7) 12. Make sure that each store has at least one language assosiated with it through admin pannel (this is important! any store that has no language assosiated with it will not display)
  12. I have trailing '/' s at the end of all of my entries... don't know if that matters... What exactlly isn't working with your modules? I haven't really spent much time investigating that area... but i know i was able to remove the credit card module and install the paypal one without issue... Though I can't remember if this effected only one site.. or all of them... I'll look into it.
  13. I have my paths set up in admin/multi-stores for each store, and in configure.php, for each store.
  14. Confgiure.php is just setting up your paths... don't need to worry about configuration tables for that file... How you edit this file depends on your specific set up... I, for example, have 2 stores on one web server: /(WEB ROOT)/oscommerce/catalog/ and /(WEB ROOT)/oscommerce/catalog2/ this is my first <?php define('HTTP_SERVER', 'http://localhost/oscommerce/catalog/'); define('HTTPS_SERVER', 'http://localhost/oscommerce/catalog/'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'localhost'); define('HTTPS_COOKIE_DOMAIN', 'localhost'); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', ''); 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', 'C:/apache2triad/htdocs/oscommerce/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); ?> This is store2's: <?php define('HTTP_SERVER', 'http://localhost/oscommerce/catalog2/'); define('HTTPS_SERVER', 'https://localhost/oscommerce/catalog2/'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'localhost'); define('HTTPS_COOKIE_DOMAIN', 'localhost'); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', ''); 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', 'C:/apache2triad/htdocs/oscommerce/catalog2/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); ?> Note: I have no domains associated with these stores. They are only for my own personal testing purposes. basically HTTP_SERVER and HTTPS_SERVER should be whatever you need to type into a browser to get to the respective stores catalog, because this constant is used to generate links. Also Note: I do have one line commented out, as this was the ONE with a corresponding constant defined through the database... It may work either way... but it's working for me right now so I left it commented out... Yours looks good, as far as i can tell... just change it for each store... an easy way to think about it might be that the same information you entered for each stores path through the admin needs to be changed here as well... to the same information.
  15. I know... the install doc is mad confusing... definitely make sure each stores' /includes/configure.php has all the correct, respective information. The install doc mentions commenting out lines... (this is where I got messed up) but the lines it mentioned weren't there... so I commented out the ones that a "thought" it was talking about.... In the end i didn't need to comment out anything in either stores file. :rolleyes:
×
×
  • Create New...