osCmax v2.5 User Manual
Results 1 to 10 of 10

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 ...

      
  1. #1
    New Member
    Join Date
    Jun 2003
    Posts
    23
    Rep Power
    0


    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.

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Jun 2003
    Posts
    23
    Rep Power
    0


    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.

  4. #4
    New Member
    Join Date
    Jun 2003
    Posts
    23
    Rep Power
    0


    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???

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  6. #6
    New Member
    Join Date
    Jun 2003
    Posts
    23
    Rep Power
    0


    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.

  7. #7
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  8. #8
    New Member
    Join Date
    Jun 2003
    Posts
    23
    Rep Power
    0


    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??

  9. #9
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  10. #10
    New Member
    Join Date
    Jun 2003
    Posts
    23
    Rep Power
    0


    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

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •