Welcome Guest, Not a member yet? Register   Sign In
Basic App - Free CMS on CodeIgniter 4
#41

(03-26-2020, 11:58 AM)Codinglander Wrote:
(03-26-2020, 07:41 AM)Codinglander Wrote: Is there a way for non-composer install ?
Everytime I try to install via composer I will be asked for a Token (Hidden) .... Sad
In that case I can't use it because I can't install it...  Huh

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.

Basic App, an open source simple CMS based on CodeIgniter 4
Reply
#42

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.
Reply
#43

(03-31-2020, 03:11 PM)dgvirtual Wrote: I do not get any Bootstrap theme styling

Hi! Did you run the php spark ba:update command?

Basic App, an open source simple CMS based on CodeIgniter 4
Reply
#44

Hi, yes I did. Is the app designed to run both in the root of a website and in a subdirectory?
==

Donatas G.
Reply
#45

(03-31-2020, 10:57 PM)dgvirtual Wrote: Hi, yes I did. Is the app designed to run both in the root of a website and in a subdirectory?

Thanks for the information. There really was a problem. Now it is fixed. You need to run composer update.

Basic App, an open source simple CMS based on CodeIgniter 4
Reply
#46

(This post was last modified: 04-02-2020, 07:57 AM by dgvirtual.)

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.
Reply
#47

(This post was last modified: 04-02-2020, 09:38 AM by Basic App.)

(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
php spark ba
:reset
php spark ba
:seed 

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.

Basic App, an open source simple CMS based on CodeIgniter 4
Reply
#48

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.
Reply
#49

(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.

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...

(string) $request->uri behaves incorrectly, maybe there is a problem in the framework. I replaced it with current_url(), should now work.

Basic App, an open source simple CMS based on CodeIgniter 4
Reply
#50

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!!!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB