CosmoCMS / Cosmo

Single Page App CMS
http://www.cosmocms.org/
MIT License
276 stars 65 forks source link

Themes not shown on local installation #283

Open rowild opened 9 years ago

rowild commented 9 years ago

1.0.0Beta2 (? I think; where can I see the version in the source code?) does not show any themes to select on a local installation, even though there are 2 (Pendant and Newmanium). This error is shown in the console:


Error: [$resource:badcfg] http://errors.angularjs.org/1.3.0-beta.11/$resource/badcfg?p0=array&p1=object
    at Error (native)
    at http://local.cosmo.dev/min/?f=core/js/3rd-party/angular-file-upload-shim.mi…rd-party/angular-ui-tree.min.js,themes/Pendant/js/pendant.minify.js:18:457
    at q.then.p.$resolved (http://local.cosmo.dev/min/?f=core/js/3rd-party/angular-file-upload-shim.mi…d-party/angular-ui-tree.min.js,themes/Pendant/js/pendant.minify.js:298:332)
    at L (http://local.cosmo.dev/min/?f=core/js/3rd-party/angular-file-upload-shim.mi…rd-party/angular-ui-tree.min.js,themes/Pendant/js/pendant.minify.js:112:96)
    at L (http://local.cosmo.dev/min/?f=core/js/3rd-party/angular-file-upload-shim.mi…rd-party/angular-ui-tree.min.js,themes/Pendant/js/pendant.minify.js:112:96)
    at http://local.cosmo.dev/min/?f=core/js/3rd-party/angular-file-upload-shim.mi…d-party/angular-ui-tree.min.js,themes/Pendant/js/pendant.minify.js:113:259
    at g.$eval (http://local.cosmo.dev/min/?f=core/js/3rd-party/angular-file-upload-shim.mi…d-party/angular-ui-tree.min.js,themes/Pendant/js/pendant.minify.js:124:444)
    at g.$digest (http://local.cosmo.dev/min/?f=core/js/3rd-party/angular-file-upload-shim.mi…d-party/angular-ui-tree.min.js,themes/Pendant/js/pendant.minify.js:121:392)
    at g.$apply (http://local.cosmo.dev/min/?f=core/js/3rd-party/angular-file-upload-shim.mi…d-party/angular-ui-tree.min.js,themes/Pendant/js/pendant.minify.js:125:264)
    at g (http://local.cosmo.dev/min/?f=core/js/3rd-party/angular-file-upload-shim.mi…rd-party/angular-ui-tree.min.js,themes/Pendant/js/pendant.minify.js:86:181)local.cosmo.dev/:106 (anonymous function)

No idea if this is related to a potential theme problem...

[Edit] Add image showing the admin backend theme section. bildschirmfoto 2014-12-08 um 08 35 50

James-Dunn commented 9 years ago

That's strange. Assuming you're using PHP version 4.3 or newer and your themes folder is readable, I'm not sure why it wouldn't read. I'll have to try a local install this week and look into it further.

rowild commented 9 years ago

PHP 4.3? Wow! I use php 5.5.18... :-)

Sogl commented 9 years ago

Is it same? https://github.com/CosmoCMS/Newmanium/issues/13