publishing NEW site

Permalink
Hi there, I'm probably being a bit slow here as I have done this several times before...

I have a working website that sits in the 'public_html' folder.

I also have a new website to replace the old one. This is sitting in a folder on the same level as public_html and is called 'new_website'

I thought that I would just be able to rename 'new_website' with 'public_html' and the new site would be displayed... but this isn't happening. It is just blank

The server runs WHM & cPanel

Where am I going wrong? I did this before and I don't remember such problems...

If you can point me in the right direction, I'd be most grateful

rc255
 
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
Before doing the rename
- disable and clear cache
- put doctrine (database entities) into development mode
rc255 replied on at Permalink Reply
rc255
Hi John, thanks for that!

I did as you said and the new site appears! Awesome

My only problem is that when I try to login, I get:

Whoops \ Exception \ ErrorException (E_WARNING)
include(/home/frittonplants/dev.frittonplantcentre.co.uk/concrete/elements/header_required.php): failed to open stream: No such file or directory

it looks like it's still looking for 'dev.frittonplantcentre.co.uk' instead of the public_html folder

The site all works, but I cannot login
JohntheFish replied on at Permalink Reply
JohntheFish
Could there be some hard coded paths, in the new site, in the blocks data, in an htaccess copied across?
rc255 replied on at Permalink Reply
rc255
Hi John, thanks for your help mate.

I finally got it working. I had to change the System PHP version as th old website was built in Concrete5.6

Sorted now! Thanks again for your help