Coder Social home page Coder Social logo

Comments (7)

bpocallaghan avatar bpocallaghan commented on June 22, 2024 1

Hi @milimirstudio

Thanks for giving the project a look.

Just want to confirm - are you using a virtual host - so you can access the site like: http://project.dev instead of the http://127.0.0.1:8000 - This will allow you to have multiple projects on the same pc.

About the error - usually its one of the below:

  • Remember to update the url in .env file (APP_URL)
  • Remember to run php artisan db:seed (to add the navigation entries in the navigation_admin table)

Please have a quick look at these closed issues.
Get ParenstAndYou is Null
php artisan db:seed error

It might not be relevant to you - just trying to eliminate some common issues :)

Please give me a shout if it did not work or have any questions!! Thanks

from laravel-admin-starter.

blissville avatar blissville commented on June 22, 2024

http://localhost:8000/admin does not work.
navigation_admin successfully created in the database.
app_url in .env file points to http://localhost

from laravel-admin-starter.

bpocallaghan avatar bpocallaghan commented on June 22, 2024

Hi @blissville

Just want to check - can you see if there are any entries in the navigation_admin table?

In terms of 'does not work' - do you mean it gives the error 'navigation not found' or 'page not found'

Thanks

from laravel-admin-starter.

0xd5dc avatar 0xd5dc commented on June 22, 2024

I got the same issue while usingphp artisan serve and php artisan route:list
error message: "Whoops. Navigation not found - please see if url is in database (navigation_admin"
so is it possible there is a typo "("

from laravel-admin-starter.

0xd5dc avatar 0xd5dc commented on June 22, 2024

I figured out the cause...getCurrentUrl() in TitanController in the Titan package does not parse the elegantly. localhost:8000/admin was parsed as /8000/admin instead of /admin.
nice job on your comments.

from laravel-admin-starter.

0xd5dc avatar 0xd5dc commented on June 22, 2024

my fix for your TitanController
protected function getCurrentUrl($prefix = '/')

{
    //$url = substr(request()->url(), strlen(config('app.url')));
    // prefix (request can be http://xx and app.url is https)
    $url = request()->path();
    $url = $prefix . ltrim($url, $prefix);
    return $url;
}

pls, try regex instead of string manipulation

from laravel-admin-starter.

bpocallaghan avatar bpocallaghan commented on June 22, 2024

Hi @summermick

Thank you for being interested in the 'starter project' and for fixing the issue :) I gave it a few tests and seems to be working 100% - thx.

Titan v0.2.7 has the fix in - TitanController

Side note. I am currently busy with a project where I updated this project to Laravel 5.5 and added a few more CRUD (photos, news and events, articles, tenders, etc) and then a simple Page Builder for the website. Hopefully I will get some time - end of this month or early Nov to strip it down and update this repository.

Please shout if you have any questions / suggestions.
Thank you very much!

from laravel-admin-starter.

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.