Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I'm trying to make a login box on another site for my store


yatahaze

Recommended Posts

Posted

Does anyone know how to make a login box for oscommerce that runs on another website. Like the login box would be at www.mysite.com and the store is store.mysite.com. I've tried taking out the login files and stripping out the columns and header, etc. and a few other changes.

 

What I've found is when it makes the switch between the different URL's I have to login again. I can succesfully login at the www. site, but when it switches to the store. url/site I'm no longer logged in. Anyone have any suggestions?

Posted

require_once('http://www.mysite.com/includes/application_top.php');

 

I put the ' symbols in. Now I'm getting a bunch of errors.

 

Warning: main(includes/configure.php): failed to open stream: No such file or directory in C:\Inetpub\wwwroot\catalog\includes\application_top.php on line 29

Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.;c:\php4\pear') in C:\Inetpub\wwwroot\catalog\includes\application_top.php on line 29

Notice: Undefined variable: session_started in C:\Inetpub\wwwroot\site\memlog\login.php on line 16

Fatal error: Call to undefined function: tep_redirect() in C:\Inetpub\wwwroot\site\memlog\login.php on line 17

Posted

Ok, I've got it working - I'm just getting some error messages that I'd like to go away.

 

Warning: main(includes/configure.php): failed to open stream: No such file or directory in C:\Inetpub\wwwroot\catalog\includes\application_top.php on line 29

 

Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='.;c:\php4\pear') in C:\Inetpub\wwwroot\catalog\includes\application_top.php on line 29

 

Those errors show at the top of the page, but it still works exactly the way I want, any idea how to make them disappear?

Archived

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

×
×
  • Create New...