mapcentia / geocloud2

The GC2 framework helps you build a spatial data infrastructure quickly and easily. Powered using open source components for a scalable solution focused on freedom rather than fees.
https://www.osgeo.org/projects/gc2-vidi/
GNU Affero General Public License v3.0
148 stars 67 forks source link

Schema Admin page is blank #10

Closed albhardy closed 9 years ago

albhardy commented 9 years ago

Hi, I installed GC2 on new Ubuntu 14.04 LTS according to Wiki installation guide. However, my schema admin page is blank:

image

Failed to load resource: the server responded with a status of 500 (Internal Server Error) jquery.min.js?c1c829b72179d9c3:6 
Uncaught TypeError: Cannot read property 'fields' of undefined
http://[my server]/store/[username]/public Failed to load resource: net::ERR_CACHE_MISS

The apache error.log FastCGI: server "/usr/lib/cgi-bin/php5-fcgi" stderr: PHP message: PHP Fatal error: Call to a member function fetch() on a non-object in /var/www/geocloud2/app/inc/Model.php on line 36

Not sure if it's relevant but dbs.php is unable to detect apache mod_rewrite and python installed.

image

Though the server has them working

image

how can I resolve this?

mapcentia commented 9 years ago

Please try to migrate the databases by running this command: cd /var/www/geocloud2/app/conf/migration/ && ./run

The failed detection of mod_rewrite and python is not relevant.

albhardy commented 9 years ago

Awesome! yes, it works perfectly!