Forums / Installing on a Linux/Unix Server / Moved from subfolder to domain, but not working

Moved from subfolder to domain, but not working

Locked

Views: 2,390

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
3 Nov 2008, 3:13 PM
#1
bluefirefly avatar

bluefirefly

New Zenner

Join Date:
Aug 2008
Posts:
44
Plugin Contributions:
0

Moved from subfolder to domain, but not working

I followed the tutorial https://www.zen-cart.com/tutorials/index.php?article=122 to move my zen cart from

http://www.mysite.com/pachi/

to

http://www.mysite.com/ , but this is what my site looks like now:

For the first step: Determine the new foldername where your Zen Cart™ files will be running from.

I didn't create a new foldername, since I moved everything to the root.

In my configure.php files if something looked like this:

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

I changed it to this:

define('DIR_WS_CATALOG', '/');

Did I do the changes correctly? Any advice on what I may have done wrong? I put my old site back for now until I can figure this out.

Since in my limited knowledge it looks like a template problem, I also tried going back to the classic template, but that showed the same thing.

I probably should've tried to see if everything else was working, like purchasing a test product, so maybe I'll try that later.

3 Nov 2008, 3:21 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Moved from subfolder to domain, but not working

The problem is that it's not finding the files (images and stylesheets) that define the look of your template. However, without seeing your site, it's difficult to see where it is looking for them, and from that deduce the problem.

One common problem though is that people make the correct change to the configure files and upload it, forgetting that the file on their server is write-protected, so the change doesn't get applied.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

3 Nov 2008, 3:31 PM
#3
bluefirefly avatar

bluefirefly

New Zenner

Join Date:
Aug 2008
Posts:
44
Plugin Contributions:
0

Re: Moved from subfolder to domain, but not working

Thank you kuroi, I just put everything back, so you and others can help me figure this out. Hopefully I won't have any customers visit while I do this.

I did confirm that the configure files where changed and had to actually go into cpanel to write protect them, because I first protected them through my ftp program which showed them as protected, but they actually were not.

My site is https://www.BlueHotaru.com

Thank you.

3 Nov 2008, 3:33 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Moved from subfolder to domain, but not working

Everything is in the right place, but accesses to the subdirectories where the stylesheet and template images are located are generating "403 Forbidden" messages.

Quickest way to deal with this is to talk to your webhost who should be able to see why.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

3 Nov 2008, 3:35 PM
#5
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Moved from subfolder to domain, but not working

Detailed info here.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

3 Nov 2008, 3:37 PM
#6
bluefirefly avatar

bluefirefly

New Zenner

Join Date:
Aug 2008
Posts:
44
Plugin Contributions:
0

Re: Moved from subfolder to domain, but not working

kuroi:

Everything is in the right place, but accesses to the subdirectories where the stylesheet and template images are located are generating "403 Forbidden" messages.

Quickest way to deal with this is to talk to your webhost who should be able to see why.

Can you confirm these are the right file paths to those locations:

/includes/templates/custom/images
/includes/templates/custom/css

Thank you.

3 Nov 2008, 8:48 PM
#9
bluefirefly avatar

bluefirefly

New Zenner

Join Date:
Aug 2008
Posts:
44
Plugin Contributions:
0

Re: Moved from subfolder to domain, but not working

Problem solved. :D

My hosting company looked into the settings for this folder, and while most of them appear to be correct, the permissions for my /includes folder were listed as 744, they said if I set them to 755 it will work.

Can someone verify that 755 is the correct security setting for this folder and these files?

This tutorial on setting permissions does not seem to include this folder and these files: https://www.zen-cart.com/tutorials/index.php?article=9

Thank you.

3 Nov 2008, 8:52 PM
#10
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Moved from subfolder to domain, but not working

755 would be normal, but whether it is correct would depend upon your hosts security arrangements. Since they are telling you it is correct, it sounds unlikely that they would have anything in place to make it not so.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

3 Nov 2008, 8:55 PM
#11
bluefirefly avatar

bluefirefly

New Zenner

Join Date:
Aug 2008
Posts:
44
Plugin Contributions:
0

Re: Moved from subfolder to domain, but not working

kuroi:

755 would be normal, but whether it is correct would depend upon your hosts security arrangements. Since they are telling you it is correct, it sounds unlikely that they would have anything in place to make it not so.

Ok. Thank you again kuroi for all your help. :smile: