Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can I change my store's domain?


hrmaker

Recommended Posts

Hi,

 

I've installed Oscommerce v2.2 RC2 when the domain has not been propagated...

 

Now, when I try to access my website, the domain changes to ip.

 

How do I change this?

 

Best regards,

 

URL: www . sonhosdaesther . com . br

 

HR

Link to comment
Share on other sites

All I see on your site is:

 

<br />
<b>Warning</b>:  require(includes/languages/.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in <b>/home/sonhos/public_html/includes/application_top.php</b> on line <b>296</b><br />
<br />
<b>Warning</b>:  require(includes/languages/.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in <b>/home/sonhos/public_html/includes/application_top.php</b> on line <b>296</b><br />
<br />
<b>Fatal error</b>:  require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in <b>/home/sonhos/public_html/includes/application_top.php</b> on line <b>296</b><br />

 

This is a session bug in an old version of osCommerce. You need to update your code.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

@@kymation

 

This is so strange, I tried to open this website on 3 different computers... And I can see it normally.

 

Can you help me? How can I update my store?

 

I have another problem: I can't generate the sitemap of this url.

 

Regards,

 

Hebert Richard

Link to comment
Share on other sites

We can't be more specific unless you tell us what version you're running. Log into your Admin -> Tools -> Server Info and find the version number.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

@@hrmaker

 

Is your default language on the osCommerce website still English or is it Portuguese ? Is your browser set to English or Portuguese or Auto Detect ? Which browser are you using ?

 

 

Chris

Link to comment
Share on other sites

  • 2 weeks later...

@DunWeb, @kymation, @cartaddon

 

I've finished my store, that's everything ok (I think).

 

So, I can't generate a sitemap and my site don't open when anybody can try out of Brazil. (you sad and I need to fix it now).

 

The only change that I did was in the file configure.php to reflect the new domain name.

 

My file configure.php:

 

 

"<?php

define('HTTP_SERVER', 'http://www.sonhosdaesther.com.br');

define('HTTPS_SERVER', 'http://www.sonhosdaesther.com.br');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'www.sonhosdaesther.com.br');

define('HTTPS_COOKIE_DOMAIN', 'www.sonhosdaesther.com.br');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

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', 'pub/');

define('DIR_FS_CATALOG', '/home/sonhos/public_html/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', '********');

define('DB_SERVER_PASSWORD', '**********');

define('DB_DATABASE', '*********');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>"

 

I don't know how can I fix this problem. Anybody can help me?

 

Thanks in advance!

 

HR

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...