Hi Mark,
Thanks for the prompt reply. I thought I had manage to overcome this problem about 10 hours!! ago and have been battling with this and some other issues (in different areas) almost all night, as I try to deliver the system for Monday. Anyway to cut it short, my answer finally was to simply comment out the line 81-87 inclusive.
// $sessionCookieName = mosMainFrame::sessionCookieName();
// // Get Session Cookie `value`
// $sessioncookie = mosGetParam( $_COOKIE, $sessionCookieName, null );
//
// if ( !(strlen($sessioncookie) == 32 || $sessioncookie == '-') ) {
// mosErrorAlert( _NOT_AUTH );
// }
My guess with the hardening of all hosting companies' servers many PHP scripts don't work everywhere the same way, due to security concerns coming up all the time.
To be frank I haven't managed to test all areas of the system, so I am not sure if this will come back to haunt me later.
Hopefully this may help others having similar problems with sessioncookiename()
Anyway the script now works beautifully, I wonder though how could this be changed to include multiple products, which is more of the norm with trading companies and wholesale buyers.
The site now starts coming up nicely,
http://www.century-way.com/cms/component/page,shop.product_details/flypage,shop.flypage/product_id,20/category_id,10/manufacturer_id,0/option,com_virtuemart/Itemid,26/