Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

WAMP5 configuration


jay3wpb

Recommended Posts

Posted

I have jumped through many hoops and read countless forums, Now I think I am at the last step of setting up

oscommerce locally using Wamp5. I have used the default installlation of Wamp5 and a moderately upgraded oscommerce site. Alot of the Admin pages seem to be working because of alot of tinkering. The Catalog does not come up. (Except for the header). I get this error when looking at the catalog in the admin section:

Error: Catalog images directory does not exist: /catalog/images/

and this in the Tools/Backups section in admin:

Error: Backup directory does not exist. Please set this in configure.php.

Can someone please send what both oscommerce configure.php files are supposed to look like when using

Wamp5. Thanks

Posted

Being as this is on your local server and you can have as many stores as you want, I would just create a new store. Then you would have 2 configure files, with all the correct information, apart from whatever new name you give to catalog and a different database name.

 

As for the backups directory, just go into the admin folder, create a new folder within and name it backups, job done.

Posted

I have added alot of contributions to the current store, so I want to stick with it.

I'm fairly certain my problems will be solved once I have the settings for both:

 

catalog/includes/configure.php

catalog/admin/includes/configure.php

 

I will try your suggestion about the backups spax. But I would still appreciate it if someone who is using WAMP5

and oscommerce would post what these two files look like, just so i can have a better idea of what i am doing.

Through trial and error with these files, so far I have gotten the admin to almost totally work, but I may also be causing unforseen problems as I have no clue. Any help on this one is greatly appreciated.

Posted

Your http server address will be http://localhost, your DIR_WS_CATALOG pathway will be /catalog/ (assuming you created the site in a folder called 'catalog' in the root of your server e.g. htdocs, webpages etc.)

 

Your DIR_FS_CATALOG pathway will be the physical pathway to your catalog folder e.g. c:/wamp/htdocs/catalog/ (replace with your own)

 

Your other problems are to do with not having created those folders, or else not having read permissions on them.

 

Vger

Posted

I wasn't telling you to change your store, I was telling you an easy way of getting 2 correct configure files.

Posted

Oh, Sorry Spax, I misunderstood. Took your advice on the backup situation and that worked thanks.

Can you explain further how to get those config files, as I have messed with those files alot and would like to be sure all settings are correct.

Also I did what Vger said and it solved most of my other problems, I can now see most of my website.

Only 2 problems that I can see:

 

1. I can see all of my categories of products, but when I get to the products them selves I get the following message:

1054 - Unknown column 'p.products_id' in 'on clause'

 

select count(p.products_id) as total from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '46'

 

2. When I go to check out it connects to the secureserver online.

 

Thank You both for responding so fast, I usually get my answers from reading the forums. I forgot asking was an option.

Posted

1054 - Unknown column 'p.products_id' in 'on clause'

 

Check that your database installed correctly - with all tables present that should be there.

 

Vger

Posted

Hello,

I've been doing a little reading and I think that since Wamp uses php5, I either need to

install the new milestone or the contribution for upgrading. As I said earlier my site has a few contributions:

(image thumbnail galery, and a few SEO contribs). I do not know how to reinstall and keep my old store, and the contribution for upgrading says you need to reinstall. Some guidance please and thank you very much.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...