Eric_SIN Posted October 9, 2008 Posted October 9, 2008 Hi, I really need some help :( We had to migrate our shop to a new server (oscommerce version 2.2 - 2003 version??). The shop is highly customized (Anti Robot, Additional pictures, header tags, templates, seperate price per customer.....) Everything on the server side should be setup properly. A fresh OSCommerce installation also works fine (even with the already migrated DB). However when migrating our pages to the server and after updating the 2 configuration files I get the following problems: Catalog: Existing users can not login anymore - the subscriber is in the DB but the system can not detect the email/password anymore. (this worked with the same DB in a fresh install though) Catalog: Anti Robot not working anymore - No picture is generated Admin: Pages do not show properly anymore. Header tags are replaced by for example: BOX_ENTRY_SUPPORT_SITE BOX_ENTRY_SUPPORT_FORUMS BOX_ENTRY_MAILING_LISTS BOX_ENTRY_BUG_REPORTS BOX_ENTRY_FAQ BOX_ENTRY_LIVE_DISCUSSIONS BOX_ENTRY_CVS_REPOSITORY BOX_ENTRY_INFORMATION_PORTAL When I access certain pages (e.g. customers.php) I get the following error: Error! Unable to determine the page link! Function used: tep_href_link('', '', 'NONSSL') A clean installation of the shop works without any problems so I doubt that this could be due to our server still using an IP address only (Domain name not yet moved). I'm trying around already since days. Any idea? Thanks a lot !
♥geoffreywalton Posted October 9, 2008 Posted October 9, 2008 Compare the configuration files of the fresh install that works with the 2 updated configuration files. Have you renamed the admin directory? Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
Eric_SIN Posted October 10, 2008 Author Posted October 10, 2008 Hi Geoffrey, Thanks for the answer. Yes I have compared the files. I have also tried using the config files from the fresh install instead. Same problem unfortunately. The admin directory was also not renamed. I first suspected a DB error. However the info is showing ok in the catalog. With the fresh install the same DB works fine. However as I have a customer login issue as well with the existing shop files on the new server (can not recognize the username and password) I suspect that the error must be deeper. Any ideas? Info taken from the Server_info.php file (you can see the naming error on the new server) HTTP Server info on the new server is not shown out of what ever reason :-( The current server: Server OS: Linux 2.6.26.5 Database: MySQL 5.0.51a-community HTTP Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8b DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6 mod_perl/2.0.4 Perl/v5.8.8 PHP Version: 5.2.6 (Zend: 2.2.0) The new Server: TITLE_SERVER_OS Linux 2.6.9-023stab046.2-enterprise TITLE_DATABASE MySQL 5.0.45 TITLE_HTTP_SERVER TITLE_PHP_VERSION 5.1.6 (TITLE_ZEND_VERSION 2.1.0) Thanks, Eric
Eric_SIN Posted October 10, 2008 Author Posted October 10, 2008 Hi Geoffrey, Another update (please see part one before the spam above). I have modified the existing shop on the old server to connect to the DB on the new server. This worked flawlessly. I assume that with this I can be pretty certain that it is not a DB problem. Could this be an issue of rights or file ownership or group? Thanks a lot for your help. Eric
♥geoffreywalton Posted October 11, 2008 Posted October 11, 2008 I would go for a path problem in the configuration files or the language files are missing/have wrong permissions. Is there a url we can look at? Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
♥Vger Posted October 11, 2008 Posted October 11, 2008 oscommerce version 2.2 - 2003 version?? If this is osCommerce 2.2 MS2, heavily modified (as you have said) then it won't work on PHP 5.2.6 with MySQL 5, especially if Register Globals, Register Long Arrays and Magic Quotes are off in php.ini. The 2005 and 2006 manual update file included with osCommerce 2.2 MS2 (060817) will provide the upgrade for MySQL 5 but only for the default osCommerce install (not for any contribs you've added). In this situation my advice is to install RC2a on the new hosting using the ip address, and install any contribs which have been updated to work with RC2a - leaving out those that haven't. Once that's done you can compare a backup of the old db against the new and manually merge the two. Vger
Eric_SIN Posted October 11, 2008 Author Posted October 11, 2008 Hi Vger, Thanks for the reply. I had some trouble with the old shop when the old server was migrated to PHP 5 and MYSQL 5. I manually updated the shop and got everything to work again. Register Globals is on Are long arrays and Magic quotes required for MS2 (save??)? If yes I can enable them and try again. From a path point of view the main difference is that the old servers file location is: home/files/public_html/ the new server has a longer path with "-" and "." included. Could this be the issue: var/www/sp-domain.com/httpdocs/ I would love to use the latest version and redo the contributions however the old shop GUI was completely customized. It does not look like osCom at all anymore so the changes to make RC2a look like this would require a LOT of time :-( Thanks, Eric
Recommended Posts
Archived
This topic is now archived and is closed to further replies.