publishing NEW site

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

View Replies: View Best Answer
JohntheFish replied on at Permalink Best Answer Reply
Before doing the rename
- disable and clear cache
- put doctrine (database entities) into development mode
rc255 replied on at Permalink Reply
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/ failed to open stream: No such file or directory

it looks like it's still looking for '' instead of the public_html folder

The site all works, but I cannot login
JohntheFish replied on at Permalink Reply
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
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