Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

catalog on linux, admin on windows shared ssl


Guest

Recommended Posts

Posted

I've just found out from the web host:

The Shared SSL hosting we provide is on Windows based servers and as such you would not be able to use chmod as this can only be done on Unix or Linux servers.

 

I originally changed the isp from a win server to a linux server to get round installation problems with chmod for configure.php

 

Things started working for a while when everything was on a linux server, managed to configure the shop through the admin panel, then moved the admin folder to the secure web space, at which point the payment module of credit card disapearead?

 

configure.php started giving problems, still trying to resolve. Not sure if this is related, when I hit the check out I get:

 

Warning: main() [function.main]: open_basedir restriction in effect. File(c:\php4\pear/includes/application_top.php) is not within the allowed path(s): (e:\sslroot) in e:\sslroot\NLHCSSL\scatalog\checkout_shipping.php on line 13

 

Warning: main(includes/application_top.php) [function.main]: failed to create stream: Operation not permitted in e:\sslroot\NLHCSSL\scatalog\checkout_shipping.php on line 13

 

Fatal error: main() [function.main]: Failed opening required 'includes/application_top.php' (include_path='.;c:\php4\pear') in e:\sslroot\NLHCSSL\scatalog\checkout_shipping.php on line 13

 

Probably because the configure files aren't great, but I'm now unsure if I can manage this if I cant chmod on a ssl windows box???

 

Configure files:

catalog\Include\configure.php

define('HTTP_SERVER', 'http://www.newlifehealthcare.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://vault2.secured-url.com/NLHCSSL'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'www.newlifehealthcare.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'vault2.secured-url.com/NLHCSSL');

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

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

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

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

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/fhlinux198/n/newlifehealthcare.co.uk/user/htdocs/catalog/');

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

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

 

Admin\Include\configure.php

define('HTTP_SERVER', 'http://www.newlifehealthcare.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.newlifehealthcare.co.uk');

define('HTTPS_CATALOG_SERVER', 'https://vault2.secured-url.com/NLHCSSL');

 

 

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

define('DIR_WS_ADMIN', '/mycp/'); // absolute path required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

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

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

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

 

define('DIR_FS_DOCUMENT_ROOT', '/home/fhlinux198/n/newlifehealthcare.co.uk/user/htdocs'); // where the pages are located on the server

define('DIR_FS_ADMIN', ''); // absolute pate required

define('DIR_FS_CATALOG', ''); // absolute path required

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

Posted

Hiya.

 

I'm assuming you're using FS as your host. I've just discovered (after 2 weeks of hunting through the forums trying to find out how to make it work) that my shared SSL is based on Windows. I'm really annoyed.

 

This software is what I'm looking for and I made sure that my host had everything I needed to run the shop. Only to find out about the windows based SSL.

 

There's nothing I can do about this except find a new host. :angry:

 

Wendy

Wendy

 

 

Go on spread some sunshine!

Posted

I opted to go for another host in the end as well, FS, Fasthosts? as there is a download of osC for windows I thought it would be doable, started out with a windows hosting package but had install problems with chmod... dont know how possible it is to go osC on windows, time factor would have been to huge to make this happen, in the end have gone for a linux host for web space and ssl.

 

Anyone with views on this would still be appreciated,

Thanks,

ally

Posted

it is all in understanding file permissions. windows does not have a chmod however all you do is either make the directory/file writeable (by removing the read only) or read only.

Posted

Mibble - you obviously don't know the firm they are talking about. Moving is the best thing they ever did!

 

There is a reason why their Xtreme Support has the nickname Xtremely Useless Support.

 

Vger

Posted

LOL Vger

 

Xtremely useless - there have been about 5 posts since July last year. I'm stuck for now 'cos I've paid upfront and can't afford to sign up with someone else.

 

Need the shop to make money first - but it won't do that if there's no SSL - chicken and egg I think.

 

Wendy

Wendy

 

 

Go on spread some sunshine!

Posted

Wendy, I took out a win web space, mysql + ssl, had the problems then took out the same package on linux, found out about the win ssl even though I'd gone linux...

 

I've managed to get the first cancelled and completly refunded, ssl + my sql are supposed to be add ons and non refundable, Have also spoken to accounts regarding linux and how it is not a linux ssl, didnt go as strong as almost false advertising etc, but I did take the package out for the shop, they said they would refund there and then, that was last week, couldnt get a hold of them on Fri, not expecting to many problems in getting a refund nxt week, speak their accounts dept about how your roll out was for a ecom solution and now you cant proceed...

Posted

ahh, yes, finding a good host who knows what they are doing is not an easy task. still one of those 'you get what you pay for' and one thing to do is NEVER pay for a year!

Posted

Thanks Ally. I feel completely ripped off! The products I sell won't be huge earners so won't be able to make up the loss really easily.

 

I'll have a think about what I'm going to to over the weekend.

 

Thanks for the advice.

 

Wendy

Wendy

 

 

Go on spread some sunshine!

Archived

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

×
×
  • Create New...