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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| 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
|
|
#3
| |||
| |||
| 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. |
|
#4
| |||
| |||
| 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??? |
|
#5
| ||||
| ||||
| 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
|
|
#6
| |||
| |||
| 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.xxx 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. |
|
#7
| ||||
| ||||
| 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
|
|
#8
| |||
| |||
| 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?? |
|
#9
| ||||
| ||||
| 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
|
|
#10
| |||
| |||
| Still fiffing around with this...i know the solution is very simple....(once i actually find it!) Quote:
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 |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| 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 |