I just gave gpeasy a go and it's a wonderfully easy to use CMS! Since I was giving it a trial run, I installed it in a sub-folder of the website. As - www.xyz.abc/gpeasy
Now, I would like to shift it to the root of the site, i.e. www.xyz.abc
However, when I move the installation contents from /gpeasy to / on the webserver all I get is a blank page. The error log on the server is something like below:
PHP message: PHP Fatal error: require_once(): Failed opening required 'common.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/xyz.abc/gpeasy/include/main.php on line 7" while reading response header from upstream, client: xxx.yyy.zzz.aa, server: xyz.abc, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/dev/shm/php5-fpm.sock:", host: "xyz.abc"
I realize that there must be a config file somewhere which stores the relative path and hence things are breaking, but I just can't seem to find it! Any insight on this would be really great!
For reference, I also have the simple blog addon installed.
I cant find the location of the root path in the configs but there is a workaround: Just do a new installation on the root of your domain, and copy the /data & /themes folder to the root. That way you have a new installation with your old data and themes. You have to check the configuration because all of that is back to the defaults.