osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Ever moved oscomm to webspace with Hsphere Control Panel ...

This is a discussion on Ever moved oscomm to webspace with Hsphere Control Panel ... within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Have you ever transfered your modded oscomm to a production server which has a Hsphere Control Panel Interface... Heres the ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 08-11-2003, 04:26 AM
New Member
 
Join Date: Jun 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
€urorunner
Default Ever moved oscomm to webspace with Hsphere Control Panel ...

Have you ever transfered your modded oscomm to a production server which has a Hsphere Control Panel Interface...

Heres the deal....i am trying to move my oscomm which works fine on test server to production server webspace with Hsphere control panel interface.
Hsphere has Oscommerce as an option...so i switched it to "on"...this seemed to make the default oscommerce folder/files available...so i proceeded to overwrite the default oscomm 'catalog' folder with my modded oscomm 'catalog' folder...but its still the default oscomm pages that are comming up...or in some cases, some of my text is coming up but the ACTUAL page layout is the standard oscommerce layout...


I have already dumped the database txt file successfully so theres no problem from that end.

Your assistance would be appreciated if you have any knowledge, hunches etc.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 08-11-2003, 08:32 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,077
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

I suggest not using their 'automated' option at all, and just manually installing osCommerce. You can't be sure what version their installer is using, and it could be different than the one you are using.

Your best bet is to do a complete install manually and not use the HSphere version/installer at all.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 08-11-2003, 09:23 AM
New Member
 
Join Date: Jun 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
€urorunner
Default

Thanks msasek...will try it this way..was thinking that this should be possible but wasnt sure if they would have (for any reason) anything in place to prevent doing it manually.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 08-16-2003, 03:51 PM
New Member
 
Join Date: Jun 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
€urorunner
Default

I am still stuck on trying to get the site to run on the production server.


A couple of things have changed now that the database has been transferred to the production server.
Due to the webhosts setup,
1. The database name has changed.
2. The username is different from that which i firstly used to setup oscommerce on localhost.

I'm not looking for spoon-feeding here but if someone could point me in the right direction as to what changes i need to make given the above, i would greatly appreciate it.



Furthermore, due to my stabbing around in the dark - trying to find a solution, i now get the following error message when i try to call up any of my sites pages:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:


_______________________


Any idea what this error message is indicating???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 08-17-2003, 01:21 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,077
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

So, the cdhanges that you need to make are pretty simple:

In /includes/configure.php

Change the database info to match your new host. Also change the path information to match your new host. That is all you should need to do.

Regarding the headers problem, could be any number of things. I suggest you revert back to the originals, getting rid of any changes. You did save a backup copy of the original, right?
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 08-18-2003, 07:03 AM
New Member
 
Join Date: Jun 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
€urorunner
Default

ok, i made the changes to the includes/configure.php file ..the cgi error is gone but im getting this when i pull up one of the catalog files:


Warning: main(../../../catalog/includes/configure.php) [function.main]: failed to create stream: No such file or directory in E:\hshome\celmar\celmar.ie\catalog\includes\applic ation_top.php on line 32

Fatal error: main() [function.main]: Failed opening required '../../../catalog/includes/configure.php' (include_path='.;c:\php4\pear') in E:\hshome\celmar\celmar.ie\catalog\includes\applic ation_top.php on line 32
_________________
Whats your initial thoughts on what the above indicates??

configure.php file as follows:


define('HTTP_SERVER', 'http://www.celmar.ie'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://localhost'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', false); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG', '/celmar/celmar.ie/catalog/'); // absolute path required
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', DIR_WS_CATALOG . 'pub/');
define('DIR_FS_DOCUMENT_ROOT', 'E:\hshome\celmar\');
define('DIR_FS_CATALOG', 'E:\hshome\celmar\celmar.ie\catalog\');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
define('DB_SERVER', '217.114.xxx.xxxxxx'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', 'celmar_xxxxxxxxx');
define('DB_SERVER_PASSWORD', 'xxxxxxx');
define('DB_DATABASE', 'oscomm-xxxxxx');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

A dig-out would be much appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 08-18-2003, 10:16 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,077
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

So, this is a windows server eh?

The DIR_WS_CATALOG path is not correct then. You may want to try:

/catalog/
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 08-18-2003, 05:56 PM
New Member
 
Join Date: Jun 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
€urorunner
Default

cheers msasek...changed the dir_ws_catalog path to /catalog/ but still get the following error:

Warning: main(../../../catalog/includes/configure.php) [function.main]: failed to create stream: No such file or directory in E:\hshome\celmar\celmar.ie\catalog\includes\applic ation_top.php on line 32

Fatal error: main() [function.main]: Failed opening required '../../../catalog/includes/configure.php' (include_path='.;c:\php4\pear') in E:\hshome\celmar\celmar.ie\catalog\includes\applic ation_top.php on line 32

Any other troubleshooting tips??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 08-18-2003, 11:48 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,077
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Well, I would just do trial and error. It is definitely an incorrect path, so I would just try every permutation I could think of. Without getting on your server to actually see what the trouble is, try this for your dir_ws_catalog:

/celmar.ie/catalog/

Also make sure your document root is set correctly. The problem is that osc is looking where the config tells it to look, only there is nothing where it is looking.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 08-26-2003, 01:37 PM
New Member
 
Join Date: Jun 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
€urorunner
Default

Still fiffing around with this...i know the solution is very simple....(once i actually find it!)
Quote:
Originally Posted by msasek
Also make sure your document root is set correctly. The problem is that osc is looking where the config tells it to look, only there is nothing where it is looking.
Just wondered if you can see any glowing mistakes in the following msasek? Can one determine if the site root is set correctly from the info below?

The webspace structure is as follows:

Folder = /celmar
SubFldr= /celmar.ie - containing folders..'connections' & 'cp' (cp contains a scripts folder).

I have placed the oscomm 'catalog' folder within
the 'celmar.ie' folder. It is my assumption
that there is no issue here right?




Then im running this url:http://www.celmar.ie/catalog/default.php


Which results in...

this error: Parse error: parse error, unexpected T_STRING in E:\hshome\celmar\celmar.ie\catalog\includes\config ure.php on line 29

Warning: main(DIR_WS_FUNCTIONSfunctions/sessions.php) [function.main]: failed to create stream: No such file or directory in E:\hshome\celmar\celmar.ie\catalog\includes\applic ation_top.php on line 148

Fatal error: main() [function.main]: Failed opening required 'DIR_WS_FUNCTIONSfunctions/sessions.php' (include_path='.;c:\php4\pear') in E:\hshome\celmar\celmar.ie\catalog\includes\applic ation_top.php on line 148
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Help - Lost my Access to the Control Panel PGelsman osCMax v2 Installation issues 0 08-08-2006 11:03 PM
Admin control panel, 3 voice for each single section magellan osCommerce 2.2 Installation Help 1 05-25-2004 09:27 AM
moved to new server and experiencing set-up errors. innovations osCMax v1.7 Installation 2 11-28-2003 10:40 AM
footer moved to right column?? gellnsh osCommerce 2.2 Modification Help 1 09-23-2003 09:43 AM
Anyone run OScomm under Win2k/IIS 5?? €urorunner osCommerce 2.2 Installation Help 3 09-22-2003 12:53 PM


All times are GMT -8. The time now is 03:57 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax