Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving From Catalog to Root - An Easy Way?


CrassOne

Recommended Posts

I built my site in the Catalog directory. Now I want it to be in the root, but I'm a little afraid to move it. I've heard horror stories.

 

So I was thinking.....Is there an easy way to just edit the index.php file and put it in the root? Will there be any unanticipated consequences?

 

Maybe I'm blowing this up out of proportion. If I move the whole site to the root, is it just a matter of moving the files and changing the 2 config.php files? Is everything else the same, including the database?

 

Is there a step-by-step instruction in the forums (just to ease my mind)? I know I could use a re-direct, but I heard that adversely effects search engine rankings.

 

Thanks for any and all help.

Link to comment
Share on other sites

I built my site in the Catalog directory. Now I want it to be in the root, but I'm a little afraid to move it. I've heard horror stories.

 

So I was thinking.....Is there an easy way to just edit the index.php file and put it in the root? Will there be any unanticipated consequences?

 

Maybe I'm blowing this up out of proportion. If I move the whole site to the root, is it just a matter of moving the files and changing the 2 config.php files? Is everything else the same, including the database?

 

Is there a step-by-step instruction in the forums (just to ease my mind)? I know I could use a re-direct, but I heard that adversely effects search engine rankings.

 

Thanks for any and all help.

Personally i would download to your home PC and then up load it to the root, however you will need to change your configure.php in Admin and the catalog. You will at also have a snapshot backup of your store as a bonus!

I hope this helps you

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Personally i would download to your home PC and then up load it to the root, however you will need to change your configure.php in Admin and the catalog. You will at also have a snapshot backup of your store as a bonus!

I hope this helps you

Is that literally all that needs to be done? There is no need to alter the database or anything else?

 

Thanks again.

Link to comment
Share on other sites

I use oscommerce to build up my own personal e-commerce under Windows 2000 Pro. All the requirements have been fulfilled. I manage to get through setup wizard until this statement:

 

osCommerce Configuration

 

The configuration was successful!

 

And there are two buttons for me to choose

 

Catalog Administration Tool

 

When I click Catalog button, It works fine. But when I click Administration Tool button suddenly an error message appears which say

 

Fatal error : Cannot re-assign $thus in c:\wamp\www\oscommerce\catalog\admin\includes\classes\upload.php on line 31

 

Please anyone tell me what error this is, why this happen, what I have to do?

 

For information directory c:\wamp\www\ is my DocumentRoot Folder and I use Apache Web Server with PHP 5, MySQL Server 4, PHPMyAdmin

 

Thank you

Arif

Link to comment
Share on other sites

I use oscommerce to build up my own personal e-commerce under Windows 2000 Pro. All the requirements have been fulfilled. I manage to get through setup wizard until this statement:

 

osCommerce Configuration

 

The configuration was successful!

 

And there are two buttons for me to choose

 

Catalog Administration Tool

 

When I click Catalog button, It works fine. But when I click Administration Tool button suddenly an error message appears which say

 

Fatal error : Cannot re-assign $this in c:\wamp\www\oscommerce\catalog\admin\includes\classes\upload.php on line 31

 

Please anyone tell me what error this is, why this happen, what I have to do?

 

For information directory c:\wamp\www\ is my DocumentRoot Folder and I use Apache Web Server with PHP 5, MySQL Server 4, PHPMyAdmin

 

Thank you

Arif

Link to comment
Share on other sites

Please anyone tell me what error this is, why this happen, what I have to do?

 

For information directory c:\wamp\www\ is my DocumentRoot Folder and I use Apache Web Server with PHP 5, MySQL Server 4, PHPMyAdmin

 

Thank you

Arif

Please start a new topic for your question. That way you will know when you have answers to your question and I will know when I have answers to mine.

Link to comment
Share on other sites

Is that literally all that needs to be done? There is no need to alter the database or anything else?

 

Thanks again.

 

Fimble is correct. All you need to do is to move your shop files back to the root of your domain and adjust both the admin/includes/configure.php and the (catalog)/includes/configure.php to reflect your new settings. Your database is not touched by this but of course it never hurts to backup.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...