kr0me Posted October 4, 2007 Share Posted October 4, 2007 >_< So I was called in to finish a project for a friend who is running OSC. He has an installation with a database that he uses, but also has a second installation that he wants to transfer to. We'll call the main installation "catalog" and the second installation "catalognew" Basically "catalog" has a full database of clients, products, etc. Catalognew just had the structure. My brilliant idea was to simply edit configure.php in the "includes" folder to map to the existing full database that "catalog" uses and it would be fine... not so. The store section still works, but I can no longer access the admin section for some odd reason. Can anyone shed some light? Below is the error I get. Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/justin/domains/electronicsandmore.ca/public_html/CatalogNew/admin/includes/application_top.php on line 130 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /home/justin/domains/electronicsandmore.ca/public_html/CatalogNew/admin/includes/application_top.php on line 130 Now I've tried to edit application_top.php near line 130 and some other values but it simply doesn't work. Any help? Installing fresh is simply not an option unfortunately. Link to comment Share on other sites More sharing options...
deansyme Posted October 4, 2007 Share Posted October 4, 2007 did you change the config php in the admin includes too? the more I learn - The more i'll be able to teach! deano Scotland's Gift Shop Link to comment Share on other sites More sharing options...
kr0me Posted October 4, 2007 Author Share Posted October 4, 2007 nope. let me try that now... I'm kind of an oscommerce noob! Link to comment Share on other sites More sharing options...
deansyme Posted October 4, 2007 Share Posted October 4, 2007 nope. let me try that now... I'm kind of an oscommerce noob! basicly the files u changed in the main includes need to be changed in the includes folder in the admin section too dean the more I learn - The more i'll be able to teach! deano Scotland's Gift Shop Link to comment Share on other sites More sharing options...
kr0me Posted October 4, 2007 Author Share Posted October 4, 2007 found it... testing now.. thanks! Thanks Dean! It completely worked. I thank you sooooo much. Link to comment Share on other sites More sharing options...
deansyme Posted October 4, 2007 Share Posted October 4, 2007 found it... testing now.. thanks! Let us know how get on :) the more I learn - The more i'll be able to teach! deano Scotland's Gift Shop Link to comment Share on other sites More sharing options...
kr0me Posted October 4, 2007 Author Share Posted October 4, 2007 yes, it definately worked thank you. one last question. Is it possible to have two separate installations drawing and writing to the same database? It's only going to be until the new site goes live, but I was just wondering... If not, it's easy enough to dump the DB. Link to comment Share on other sites More sharing options...
deansyme Posted October 4, 2007 Share Posted October 4, 2007 i find its easier creating a seperate database and that way theres less confusion. Dean the more I learn - The more i'll be able to teach! deano Scotland's Gift Shop Link to comment Share on other sites More sharing options...
kr0me Posted October 4, 2007 Author Share Posted October 4, 2007 well, like I said, this is just for testing and to get the new site working. Once it goes live, the old site will be decommissioned. This seemed to work seemlessly. Much better than using bigdump.php to get that 75mb database uploaded. Thanks again for your help. Just installing the french language now. I'm sure I'll have a ton more questions. I appreciate the fast as lightning replies! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.