Basic App - Free CMS on CodeIgniter 4 |
(03-26-2020, 11:58 AM)Codinglander Wrote:(03-26-2020, 07:41 AM)Codinglander Wrote: Is there a way for non-composer install ?In that case I can't use it because I can't install it... The error you are showing is not directly related to the Basic App. You need to get the perosonal token on the Github website and enter it into Composer.
Hi, I was really excited to find this app. But I cannot start it for some reason on xampp, where I installed it on a subfolder: /opt/lampp/htdocs/demoapp/ - I do not get any Bootstrap theme styling, only bare text (even if I set app.baseURL = 'http://localhost/demoapp/public/' in the .env file). Is there any way to run it when installed on a subfolder? What I can do is - run xampp for mysql database to work and then beside it run the CI development web server (php spark serve) on localhost:8080, - then, after setting app.baseURL = 'http://localhost:8080' I can see the app at that address with all the styling...
==
Donatas G.
Hi, yes I did. Is the app designed to run both in the root of a website and in a subdirectory?
==
Donatas G.
Hi, thank you; it is better now - the title page comes with Bootstrap styling. However, none of the other pages work (links "Demo app", "index" and "about" are also missing the baseURL's). They do not work even if I enter the correct links - http://localhost/demoapp/public/page/about - the page gets redirected to http://localhost/dashboard/ (xampp dashboard) . What could be the problem?
==
Donatas G. (04-02-2020, 07:54 AM)dgvirtual Wrote: none of the other pages work (links "Demo app", "index" and "about" are also missing the baseURL's) Fixed. Run commands: PHP Code: composer update Warning, the ba:reset command will delete your data. (04-02-2020, 07:54 AM)dgvirtual Wrote: if I enter the correct links - http://localhost/demoapp/public/page/about - the page gets redirected to http://localhost/dashboard/ (xampp dashboard) . What could be the problem? Most likely you need to configure the RewriteBase parameter in the /public/.htaccess file.
Yes, RewriteBase in .htaccess was a problem - I have used the commented-out directive at the beginning of the file, but later noticed there is such a directive that is to be used.
Now only one problem remains: when I go to http://localhost/demoapp/public/admin/ the page redirects to http://localhost/demoapp/public/admin/login and then refuses to load saying there is a cyclical redirection or something...
==
Donatas G. (04-02-2020, 11:03 AM)dgvirtual Wrote: Yes, RewriteBase in .htaccess was a problem - I have used the commented-out directive at the beginning of the file, but later noticed there is such a directive that is to be used. (string) $request->uri behaves incorrectly, maybe there is a problem in the framework. I replaced it with current_url(), should now work.
Hi!
As a newbie with CI4 and having a new project to start, I really appreciate your Basic App as a starting point!! Thank you very much! It would be great to have the AdminLTE as the Admin module... AdminLTE is very cool, is on v3.0.5 and using bootstrap 4.4.1 Thank you for your work. I'll give it a try very soon!!! |
Welcome Guest, Not a member yet? Register Sign In |