Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin section broke!


kr0me

Recommended Posts

>_<

 

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...