Another noob, Trying to publish to live

Permalink
Hi Everyone,

I really hope someone can help, I've been looking into this for what seems forever with no joy just a bunch of errors.

I installed C5 in my root folder within a subfolder called /c5. I have built my clients website/theme and have populated with copy which can be viewed here:http://www.feetetc.co.uk/c5.

Now that it's complete, you guessed it, I want to set it live. I want the site to be viewed from just http//:www.feetetc.co.uk. I have followed instructions to clear cache, backup files and database and moved my files directly to the root. When I go to edit my config file I do not have the suggested...

define('BASE_URL', 'http://site.com');
define('DIR_REL', '');

...to edit. I have tried adding it in with different variations from suggestions but can't seem to get it to work.

I would be very grateful for any help you can give me. Feeling like a sinking ship at the minute.

Thank you in advance

Laura

creativeskins
 
Blenderite replied on at Permalink Reply
Blenderite
What hosting service are you using? Often there is a way to tell the domain which folder to look in for the site. Right now it may be pointed to the C5 folder.
creativeskins replied on at Permalink Reply
creativeskins
Than you for your quick reply. Its hosted with 1and1.com. I did wonder if there was a way to do that or if I needed to copy all my files out of the /c5 folder?
Blenderite replied on at Permalink Reply
Blenderite
creativeskins replied on at Permalink Reply
creativeskins
Awesome, Thank you obc, I will look into this and let you know how I get on :).

Thanks guys for your help it is really appreciated. :).
MysteriousCleon replied on at Permalink Reply
MysteriousCleon
Hello,
I'm not sure if understood properly - you put content tohttp://www.feetetc.co.uk/c5 ? Why not directly tohttp://www.feetetc.co.uk/ ? I suppose that if you simply put your site directly to root, it'll just work. To make site located in subdirectory working like located in root, needs some .htaccess magic, I suppose.

Those instructions with site.php - define('DIR_REL', ''); are prepared for older c5s - the newest ones find directory for themselves, it's not needed in site.php.
Blenderite replied on at Permalink Reply
Blenderite
She attempted to put it into root path, but it didn't work.

The easiest way to get the desired result is to point the domain to the folder everything is already in. Trust me. I have tried moving C5 before and have never succeeded. Pointing the domain is so much easier.
MysteriousCleon replied on at Permalink Reply
MysteriousCleon
I'm just opposite. :) I've never poited domain to folder, I was always moving a site. Can you tell me, what is the problem when you move the site - what kind of errors appear?
Blenderite replied on at Permalink Reply
Blenderite
Fatal error: Exception thrown without a stack frame in Unknown on line 0.

That is all that shows up on a other wise blank page.
MysteriousCleon replied on at Permalink Reply
MysteriousCleon
Thanks. Good to know for the future, that this can appear.

If so, I'll no longer bother you. Probably you are right, that it's easier to work with domain. :)

Cheers,
Blenderite replied on at Permalink Reply
Blenderite
Another benefit of pointing domains is that if you ever want to create another site from scratch, all you have to do is create another database, install C5, build your new site, and then point the domain when you are ready! No down time to transfer files!!!
creativeskins replied on at Permalink Reply
creativeskins
Thank you for your reply. I didn't do the install directly into the root as my client currently has a site live and needed to keep that live while their new one was in build.

That's good to know though, I guess that explains why the two lines of code are missing in my config compared to others.

I get a 404 message i'll try and get the message and post it on here to see.
Blenderite replied on at Permalink Reply
Blenderite
Are you getting this when you tried to transfer the files over to root?
creativeskins replied on at Permalink Best Answer Reply
creativeskins
Problem solved! :) I've just tried copying it all over again to get the error message to post. I was using filezilla so thought I had copied everything over turns out I hadn't. After MysteriousCleon had said it should auto resolve I checked to make sure I had absolutely everything. There were some hidden files that I hadn't seen to copy over. I've copied them and it all works fine now.

Told you I was a noob ;).

Thank you both for your advice and expertise I really appreciate it, you've been a great help. :).

Hope you have a good evening :)
Blenderite replied on at Permalink Reply
Blenderite
Ok. I am glad you found a good solution!