Moving Concrete5 site from Sub Folder to Root Folder site is blank

Permalink
I am new to both Ubuntu Linux and Concrete5. I setup an Ubuntu server for a website consultant to build our site and they placed it under /var/www/concrete5.4.0.5 and now I want it to be under /var/www.

I copied all the files and folders to /var/www and repathed the site.php to define('DIR_REL',").

When I try the web site I get a blank white page in Mozilla.

Any ideas why? Is it a Linux issue or Concrete5 issue? I don't know where to start.

Rodeoboy

 
mesuva replied on at Permalink Reply
mesuva
Hard to tell, some things to check:

- Have you got any php or apache errors showing up in the logs? (I think it's /var/log/apache2/error.log you'll want to look at)

- Can you confirm that the webserver is running php fine?
Perhaps create a phpinfo() file to test this.

- Since this is a new site, make sure you grab the latest version of concrete5 (the version number in the path you mentioned is quite old). Perhaps just blow that away and start afresh.

With ubuntu, alongside apache2, mysql and php (libapache2-mod-php5), you'll need to make sure you have the packages php5-gd and php5-mysql installed as well.

The other thing that can be a pain is that mod_rewrite (the thing that handles the pretty urls) is not enabled by default. This guide covers turning it on and allowing sites to use it:
http://drupal.org/node/13443sudo%20a2enmod%20rewrite9... (it's not drupal specific)

While I'm talking about ubuntu packages, I might as well mention that once you have the above working it also helps to install a caching engine- you could install the package memcached and php5-memcache. Then you can edit your site.php and add
define('CACHE_LIBRARY', 'memcached');


Hope the above gives you some ideas for things to check. I'm actually typing this from my ubuntu lappy, which is running some c5 sites, so it's definitively possible!
rodeoboy replied on at Permalink Reply
Thanks for the information. By making the PHPinfo.php I was able to track my problems. I think it had to do with permissions. Anyway, I ended up making a virtual site through apache and finally got it going.

Thanks again for the help, I totally forgot about using the PHPinfo file.

Have a Great New Years!
Rodeoboy