CosmoCMS / Cosmo

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

Issue on install #302

Open boloindia opened 9 years ago

boloindia commented 9 years ago

Angular + php sounds good. I'm really interested in looking into your code but

I unzipped the package on my local server and ran install.php as per instructions http://www.cosmocms.org/install

I am getting Internal Server Error. Please let me know in case of any prerequisites.

James-Dunn commented 9 years ago

Did it say the installation succeeded? If so, do you have mod_rewrite turned on?

spee65 commented 9 years ago

i tried now hours to install cosmo on XAMPP in Folder COSMO (127.0.0.1/COSMO); i change in autoload.php to: define('FOLDER', 'COSMO/'); // /subfolder;

console shows this error: GET http://127.0.0.1/COSMO/api/content?url=%2F 404 (Not Found)

what can i do ? could you help me please

kosmaa commented 9 years ago

I will add my commentary here instead of creating new issue: I tried to install Cosmo also for meny hours on 3 differents machines, with MAMP, XAMPP, and real server... all without success, I really enjoyed demo, but it is very frustrating. In installation on MAMP I see those errors in Console: [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (en.json, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (angular.min.js.map, line 0)

Should I have to look it elsewhere? how could I debbug the reason of the failure?

On server installation this was SQL error 2002, script couldn't connect to database but somehow it showed localhost in the begining of the address. On Windows I saw only [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (en.json, line 0). I know that this is stile beta version, but I'm not sure if it should be version 1.0 if there is so many issues with installation.

James-Dunn commented 9 years ago

@spee65 and @kosmaa 404 issues are typically with the .htaccess file not being active or you don't have mod_rewrite turned on Apache. I'll see about checking for that on installation for the next version.

kosmaa commented 9 years ago

@James-Dunn I've read the other issues before and I tried to do it right, altought I'm not so server savyy to tell for sure that it works as advised, but I've checked if mod_rewrite was uncommented (it was) I made some changes in apache .conf in directory to allow all that was possible ;) and still no result. Maybe you should add some more informations on requiered initial setup before installation? or explain it more thoroughly?

spee65 commented 9 years ago

I think too, its not a htaccess or mod_rewrite problem. The problem is more the root folder and folder variable. Its to complecated. Its very pitty, i like the demo so much, but have never seen so much misprogramming. Make it easier or your cms will not have sucess.

jordanddunn commented 9 years ago

@kosmaa @spee65 as a side note once betav5 is launched (in about a week or 2 depending on time it takes for some updates we're working on). I'm going to be creating walkthrough videos of the full install on a server and a local install.

James-Dunn commented 9 years ago

If you are installing it in a sub-folder, that won't work currently. We'll add that feature a bit later, cause it requires manually editing the .htaccess file.

kosmaa commented 9 years ago

@jordanddunn I hope that beat5 will be finaly the lucky on and I'm looking for video! (although writen instruction works for me too ;) good luck with updates, we are counting on you!!!