Forums / General Questions / Moving site from sub directory errors

Moving site from sub directory errors

Views: 2,484

Results 21 to 24 of 24
16 Apr 2012, 5:15 AM
#21
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Moving site from sub directory errors

rainbow_pixie_star:

that was a typo!

What happened was I moved all the files to another directory to check that I had them in the right place. I have moved them all back and it started doing this. I have checked that all the files are in the correct place too! And have not renamed any of my admin stuff

Sorry, but you really aren't doing much to help. It is all very well telling us what you have done, but very little of it has been useful information.

What other 'typos' have you made? How are WE supposed to know the difference?

Also, What does "I moved all the files to another directory to check that I had them in the right place" actually mean? How can moving them into from one folder to another prove that they were in the right place, unless of course it was all working ok and the moving caused things to break, then I guess it would be safe to assume they were in the right place to begin with (so why move them?)
If they were in the wrong place to begin with and you moved them to another wrong place then logically you can expect it would still be broken, so you wouldn't really have proven anything.

rainbow_pixie_star:

And have not renamed any of my admin stuff

But, but, but...... Zencart V1.5.0 forces the admin folder to be renamed as part of its installation process, so perhaps you've forgotten about that and you are still trying to access the files from the /admin/ folder even though it has been renamed.

I shall repeat the two questions that I previously asked. Perhaps if you actually answer them we may be able to move forward onto the next step of diagnosing your problem(s).

  1. Did you re-upload to the folder called 'admin' or the renamed admin?

  2. What is the error message you are getting?

Please avoid telling us about all the things that are correct (or that you think are correct) because it really doesn't help. If everything was correct you wouldn't have a problem and you wouldn't be seeking help. It isn't as though we don't believe what you say, but again, if you've done everything 'right' there wouldn't be a problem, so you must at least consider the possibility that you've made a mistake somewhere, and somehow or other we need to extract this information from you.

Does that make sense?

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

16 Apr 2012, 3:06 PM
#22
scrap avatar

scrap

Zen Follower

Join Date:
Mar 2009
Posts:
103
Plugin Contributions:
0

Re: Moving site from sub directory errors

rainbow_pixie_star:

Hi,
Tried that and it didnt work.
However, I have just realised I wasn't in the root I was in...
ftp://[email protected]/public_html/

I tried moving it all to the very root of
ftp://[email protected]/ and it didn't like that either

I know I will be something completely stupid that I haven't realised I have done!

The "root" of your domain, i.e. the files that the public are seeing, are in /public_html/. If you put the below code in a new text file and name it index.html, you can try to move it around to different subfolders and such to understand how the folder structure works

<html>
  <head>
  </head>
  <body>
    <h1>This is index</h1>
  </body>
</html>

With no redirects, no nothing, going to http://yourdomain.com will take you to what you're normally seeing as /public_html/index.html in your ftp software.

2 May 2012, 2:15 AM
#23
boomer196 avatar

boomer196

New Zenner

Join Date:
May 2012
Posts:
3
Plugin Contributions:
0

Re: Moving site from sub directory errors

rainbow_pixie_star:

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/public_html');
define('DIR_WS_HTTPS_CATALOG', '/public_html');

It looks like you are missing the trailing slash on the DIR_WS_CATALOG and DIR_WS_HTTPS_CATALOG variables. Give that a shot and let us know. Good luck!

Boomer

3 May 2012, 9:27 AM
#24
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Moving site from sub directory errors

boomer196:

It looks like you are missing the trailing slash on the DIR_WS_CATALOG and DIR_WS_HTTPS_CATALOG variables. Give that a shot and let us know. Good luck!

Boomer

Er... no...

If the ROOT is public_html

Then:

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

20 years a Zencart User