GithubHelp home page GithubHelp logo

Blank screen with loader about enso HOT 10 CLOSED

laravel-enso avatar laravel-enso commented on May 21, 2024
Blank screen with loader

from enso.

Comments (10)

nikhilgyan avatar nikhilgyan commented on May 21, 2024 1

Thanks for your kind and quick response,
Yes, everything is working fine for now.

Thanks a lot

from enso.

aocneanu avatar aocneanu commented on May 21, 2024

Hi,

composer install ran ok?

from enso.

nikhilgyan avatar nikhilgyan commented on May 21, 2024

Yes.

After inserting 2 records in two table, its working fine for me. Those are as follows:

INSERT INTO permissions (permission_group_id, name, description, type, default, created_at, updated_at) VALUES (1, 'core.index', 'Welcome Page', 0, 1, '2018-02-02 04:53:00', '2018-02-02 04:53:00');

INSERT INTO permission_role (permission_id, role_id, created_at, updated_at) VALUES ('143', '1', '2018-02-02 10:24:37', '2018-02-02 10:24:37');

from enso.

aocneanu avatar aocneanu commented on May 21, 2024

I'm not sure that I follow, didn't you use the php artisan migrate ?

from enso.

nikhilgyan avatar nikhilgyan commented on May 21, 2024

yes I did. But by looking into the debugger, I got this SQL query:

select permissions.*, permission_role.role_id as pivot_role_id, permission_role.permission_id as pivot_permission_id, permission_role.created_at as pivot_created_at, permission_role.updated_at as pivot_updated_at from permissions inner join permission_role on permissions.id = permission_role.permission_id where permission_role.role_id = '1' and name = 'core.index' limit 1

and this returns empty result set. Hence I've added those 2 records into the DB and everything is ok for now.

There is no any records which contains "'core.index'" while one of the query inserted into the log table. Hence I've just tried to manually insert these records. And luckily errors has been resolved.

Please correct me if I'm doing anything wrong

from enso.

aocneanu avatar aocneanu commented on May 21, 2024

Please tell me how many entries you have in the permissions table.

After running php artisan migrate the database initialises with everything needed. In the permissions table for instance you should have 142 entries.

I just checked now with a fresh git clone and everything worked ok.

from enso.

nikhilgyan avatar nikhilgyan commented on May 21, 2024

yes, exactly I've 142 records into this table. But after adding 1 record manually, now its been 143

from enso.

aocneanu avatar aocneanu commented on May 21, 2024

You are right, something it's wrong.

I'll get back in a few minutes.

from enso.

aocneanu avatar aocneanu commented on May 21, 2024

It's fixed now. We did a refactor and missed and old route. core.init is not used anymore, it has been replaced with core.index.

Sorry about that.

Everything else works ok?

from enso.

aocneanu avatar aocneanu commented on May 21, 2024

For nothing, thanks for finding a bug.

from enso.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.