Jump to content

Moving Shop to another directory


Guest Baker Hosting

Recommended Posts

Guest Baker Hosting

Ok so i want to move cubecart to another directory with damaging it and losing everything i have put on ect. currently it is in the main directory (www.fiddyparts.co.uk) and i want to move it to /shop so i can put a site in the main directory and link it to my shop. Any ideas? Thanks alot guys

Nick

Link to comment
Share on other sites

place everything in /shop,

go to global.inc.php and edit the url in there.

then you're done

but...

for to be sure, make a backup of your shop and of your database (do that regular)

Link to comment
Share on other sites

In your includes/global.inc file add these values:

<?php

$glob['dbdatabase'] = '';

$glob['dbhost'] = '';

$glob['dbpassword'] = '';

$glob['dbprefix'] = '';

$glob['dbusername'] = '';

$glob['installed'] = '0';

$glob['rootDir'] = 'here you'll add /shop to existing value';

$glob['rootRel'] = '/shop/';

$glob['storeURL'] = 'www.fiddyparts.co.uk/shop/';

?>

Also if you've added any links to your store, you'll have to edit them as well

Link to comment
Share on other sites

  • 3 months later...
  • 2 months later...

My situation is:

i first put the store in: www.myname.com/cubecart, everything works fine;

but, after i change the directory to "store" , it is broken, then I tried to change it back to "Cubecart", it could not be fixed.

What value should I change? Do i have to change Global.inc file only? Is there a possibility the database has something wrong?

Thank you very much!!!!

edited:

I changed according to above instructions, it worked!!!! The one thing I missed in the first time was Cube, i should wrote it as cube :) , i did not realized it was case sentative.

Link to comment
Share on other sites

I recently changed the URL of my shop from /store to / (root). But now the admin directory is broken! The shop works fine, but /admin throws up a 404. I did change and check the global.inc. Anybody ever seen that before/ an idea what is going on?

Link to comment
Share on other sites

  • 2 weeks later...
Guest littlered

I recently changed the URL of my shop from /store to / (root). But now the admin directory is broken! The shop works fine, but /admin throws up a 404. I did change and check the global.inc. Anybody ever seen that before/ an idea what is going on?

i'm having that problem too!! i'm guessing the config field in the database is the problem since i copied the tables into another cc installation. help!?! how do i get my admin back? it redirects to the other admin store (that i copied from).

Link to comment
Share on other sites

  • 7 months later...

I recently changed the URL of my shop from /store to / (root). But now the admin directory is broken! The shop works fine, but /admin throws up a 404. I did change and check the global.inc. Anybody ever seen that before/ an idea what is going on?

i'm having that problem too!! i'm guessing the config field in the database is the problem since i copied the tables into another cc installation. help!?! how do i get my admin back? it redirects to the other admin store (that i copied from).

Did you ever get this working as I am also with the same problem. I have also lost my admin in the same way. Thanks

Link to comment
Share on other sites

  • 3 weeks later...
Guest IzzyTees

I moved everything FROM /shop to the root directory and followed the instructions to change the global.inc.php file and the site is now broken. Any thoughts?

Here is my Global.inc.php

<?php

$glob['dbdatabase'] = 'xxx';

$glob['dbhost'] = 'xxx';

$glob['dbpassword'] = 'xxx';

$glob['dbprefix'] = '';

$glob['dbusername'] = 'xxx';

$glob['installed'] = '1';

$glob['rootDir'] = 'c:\\hosting\\webhost4life\\member\\izzytees\\';

$glob['rootRel'] = '/';

$glob['storeURL'] = 'http://www.izzytees.com';

?>

Error is:

Fatal error: Call to undefined function: fetchdbconfig() in c:\hosting\webhost4life\member\izzytees\index.php on line 53

Link to comment
Share on other sites

  • 1 month later...
Guest Exploit

I recently changed the URL of my shop from /store to / (root). But now the admin directory is broken! The shop works fine, but /admin throws up a 404. I did change and check the global.inc. Anybody ever seen that before/ an idea what is going on?

i'm having that problem too!! i'm guessing the config field in the database is the problem since i copied the tables into another cc installation. help!?! how do i get my admin back? it redirects to the other admin store (that i copied from).

Did you ever get this working as I am also with the same problem. I have also lost my admin in the same way. Thanks

Hi me too have the same problems! did you fix it?

Link to comment
Share on other sites

  • 11 months later...
Guest Klutzys

Basically, moving the store and editing the file necessary was easy. However, like everyone else I CAN NOT logon to the admin area to use cubecart. I too moved one store over another.

Anyone get this fixed??

Tammy

Link to comment
Share on other sites

  • 5 months later...
Guest Crystal Dragon

Hi Guys I have a membership site and I was not happy with my membership script so I purchased another one and put my shopping cart into the new area. I was having the same problem not being able to access the admin panel all I did was go in and change the path here is my "global.inc.php"

<?php

$glob['dbdatabase'] = 'crystalv_memberscart';

$glob['dbhost'] = 'localhost';

$glob['dbpassword'] = 'xxxxx;

$glob['dbprefix'] = '';

$glob['dbusername'] = 'xxxxxxxx';

$glob['installed'] = '1';

$glob['rootDir'] = '/home/crystalv/public_html/domain name/membersonly/member/cart';

$glob['rootRel'] = '/membersonly/member/cart/';

$glob['storeURL'] = 'http://xxxxxxxxxxxxxxxx.com/membersonly/member/cart';

?>

I then went into my membership site and typed into the address bar

http://www.xxxxxxxxxx.com/me...mber/cart/admin

and up popped my admin panel. you could try this and see if it works.

It worked for me so lets hope it works for you. :yeahhh:

Love and Light

Colleen The Crystal Dragon

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...