CosmoCMS / Cosmo

Single Page App CMS

Home Page:http://www.cosmocms.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blank page after installation

spee65 opened this issue · comments

so long i try now to install this cms on xampp and it newer functional.
where is the problem to make it stabil ??

.http://127.0.0.1/min/?f=core/js/angular/angular.min.js,core/js/angular/angu…re/js/3rd-party/angular-ui-tree.min.js,themes/Pendant/js/pendant.minify.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://127.0.0.1/min/?f=core/css/cosmo-default-style.minify.css,themes/Pendant/css/style.minify.css Failed to load resource: the server responded with a status of 404 (Not Found)
index.php:56 Uncaught ReferenceError: angular is not defined
http://127.0.0.1/min/?f=core/css/cosmo-default-style.minify.css,themes/Pendant/css/style.minify.css Failed to load resource: the server responded with a status of 404 (Not Found)

its so pitty, are very good approaches but cant understand where are your problems - a half year ago same problems.

who installs a tool on the server root ? iam not. There are so many tools wich have solved problems like this.

commented

Right, you can't yet install on a subfolder.

I know this is old post has anyone solved above issue.

in logs i see GET /api/content?url=%2Findex.php HTTP/1.1" 404 but there is no api directory in download zip file. is it a bug?

commented

@goodyoneloves Might be an issue with your .htaccess file. Make sure it is present and ModRewrite is turned on.

Thanks for the reply! ModRewrite is turned ON. when i moved it to root directory everything worked fine. However, I would like to install it under different directory and then create another documentroot in httpd.conf file. That said, will this configuration work or does cosmo needs to be in root directory?. Initially, all the cosmo files, directories were in not in root directory could not access it anything and was getting bunch of 404s. I had to move MIN and CORE directories to root somehow get the app working. I don't want to do that instead create a directory and then add it in httpd config as another documentroot. Any help would be really great.

commented

You just need to modify the .htaccess file. I think there are 1 or two lines where you have to add the folder. I think the /api/ should change to /folder/api/ or something. Then add the folder in the autoload.php file too. We'll post it on the installation page when one of us has some free time.