Code

Discussion on Josh - Laravel Admin Template + Front End + CRUD

Discussion on Josh - Laravel Admin Template + Front End + CRUD

By
Cart 4,642 sales

jyostna supports this item

Supported

This author's response time can be up to 1 business day.

1569 comments found.

You’ve got a migration conflict between 2014_07_02_230147_migration_cartalyst_sentinel.php and 2014_10_12_000000_create_users_table.php

This prevents php artisan migrate from actually functioning properly. Half the tables don’t get created.

changing Schema::create(‘users’, function (Blueprint $table) { to Schema::create(‘users2’, function (Blueprint $table) {

in 2014_10_12_000000_create_users_table.php seems to have resolved that

please refer to documentation,

you need to delete 2 default migration files before copying ours.

2014_10_12_000000_create_users_table.php 2014_10_12_100000_create_password_resets_table.php https://lorvent.gitbooks.io/josh/content/install_josh.html

My statement remains. They should have been deleted from the package then.

We are interested in the template but the live demo is broken at some pages. There are lots of 404 errors regarding CSS assets and JS files. Please fix the demo so we can continue evaluating the template as we are afraid the template will not work if the demo is the same product we will receive after purchase.

can you give one example page?

? As permits are handled ??? Add / edit / delete user groups (roles) from admin panel

Thank you.

in the demo does not work

As you can be granted permissions to a role?

You can effectively add new users to a role. but they can not be given permission to a role.

permissions have to be coded manually.

currently josh doesn’t provide that functionality.

thanks for the reply. best regards.

This might sound strange, but I purchased this package for the back end only (I should have researched better to understand the front end piece was included) and now I need to untangle the front end…. Any thoughts on a way to do this other than ripping out all front end components?

I’ve been using the laravel 5 enterprise starter kit and while it’s a phenomenal project, it has a lot of bells and whistles that I don’t need. This package seems to be more streamlined but I don’t want any of the front end ‘stuff’.

hmm, its not yet ready,

few commits behind one is available.

btw, give me your github username so i can add you for it.

Thanks. It’s sloan58.

Hello,

Just downloaded the update 4.3.2.

Question: I have a Laravel 5.2 installation with Josh 4.3.0 version.

What is the best way to update ?

In the download I only find a totally fresh installation package. Is there a easy way to update from 4.3.0 to 4.3.2 ?

Thanks.

Hello,

if you check https://lorvent.gitbooks.io/josh/content/updates/432.html you can see all files modified, so you can copy only those files.

again if any of those files are also modified by you then use git to findout what to keep and what to remove.

thanks.

Hi, I just download and try to do a fresh install of 5.2 laravel using this instruction https://lorvent.gitbooks.io/josh/content/52/fresh_installation.html. Howerver, when I entered php artisan migrate I get this error:

Fatal error: Call to undefined method Illuminate\Foundation\Bootstrap\ConfigureLogging::configureDailylsHandler() in /home/ubuntu/workspace/bootstrap/cache/compiled.php on line 2108

Please help!

Hello, looks like an error related to logging, did you change log from single to daily?

also, can you try php artisan clear-compiled php artisan dump-autoload and see if it works.

I did not change any long from single to daily. I just follow instruction to do a fresh install. Maybe it is because of the server enviroment?

I’m using Cloud9 to deploy the workspace with PHP 5.5.9-1ubuntu4.17 (cli).

Which file can I look at to see the log setting? Is it the .env file or config/app.php?

I also tried: php artisan clear-compiled php artisan dump-autoload

They both gave me the same error

Fatal error: Call to undefined method Illuminate\Foundation\Bootstrap\ConfigureLogging::configureDailylsHandler() in /home/ubuntu/workspace/bootstrap/cache/compiled.php on line 2108

Call Stack: 0.0002 247944 1. {main}() /home/ubuntu/workspace/artisan:0 0.0633 9951992 2. Illuminate\Foundation\Console\Kernel->handle() /home/ubuntu/workspace/artisan:36 0.0633 9952120 3. Illuminate\Foundation\Console\Kernel->bootstrap() /home/ubuntu/workspace/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:105 0.0633 9952288 4. Illuminate\Foundation\Application->bootstrapWith() /home/ubuntu/workspace/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:219 0.0936 10307496 5. Illuminate\Foundation\Bootstrap\ConfigureLogging->bootstrap() /home/ubuntu/workspace/bootstrap/cache/compiled.php:1666 0.0937 10308144 6. Illuminate\Foundation\Bootstrap\ConfigureLogging->configureHandlers() /home/ubuntu/workspace/bootstrap/cache/compiled.php:2097

Hi error is resolve, I check the the log as you mentioned and change to daily on the .env file and it works.

Thanks for your help!

Hello,

can you tell me how to deactivate the phpdebugbar, the standard documentation doesnt help to find a solution.

Thanks for the aid

Edit: Laravel 5.2

Stupid me, just solved it myself. For sure debugbar is on while .env is set to APP_DEBUG=true… Shame on me :)

hmm…..its common…. don’t feel so bad :)

Hello.

Thanks for this code. But I cannot install application. I got error:

[Symfony\Component\Debug\Exception\FatalErrorException] Class ‘Cviebrock\EloquentSluggable\SluggableServiceProvider’ not found

I got it during “composer install/update” or “php artisan migrate”.

Tell me please whats wrong here?

Thanks in advance.

Laravel 5.2, PHP 5.6, Debian

yeah… they changed it which is causing all the pain.

Glad to know your problem is solved :)

Thank for quick answer :) Another issue occurred in the admin panel(

“Failed to load resource: assets/vendors/Chart.js/js/Chart.js” I did “gulp bower” and “gulp”. Everything works except this one.

PS is it correct place for messages like this?

Huh…. again a dependency issue :(

( looks like we are in dependency hell )

in bower.json, please change version

“Chart.js”: “1.0.2”,

and run gulp bower, gulp… it should fix.

Can I test backend before buy this template. Will u provide account?

Hi mate, how do you disable new users from signing up?

instead of writing manually everything i prefer using something like https://jqueryui.com/autocomplete/ or select2 for this purpose.

otherwise plain jquery with ajax

make a ajax get request, in success section parse it (this is the hard part so i prefer above plugins)

thanks mate, would you suggest data tables would be a better way? also – are you guys available for paid tuition? i’ve only got a few things (like this Im stuck on). If you are can you email me your hourly rate?

if suits, datatables are definitely good solution.

please contact me from http://codecanyon.net/user/jyostna#contact

Hi, can I be added to git for updates, username is mjoc1985. Keep up the good work :D

Invited :D

Hi, sorry can I get the invite again please – I couldn’t access the email registered for the invitation but I’ve updated my email address now. :D

Invited again :D

Hi. Please invite me to your github repo. username: douglasspringer Thank you.

Invited!

I did a fresh install of 5.2. I then wrote the modifications needed to generate CRUD. I was able to add a CRUD using artisan as described in your manual. However, when I tried to log back into admin I received 3 error messages: http://pastebin.com/vgmAygnA When I removed the modification to app/Providers/RouteServiceProvider.php it worked again.

I think I fixed it. There was an existing line of code: $this->mapWebRoutes($router); within the map class. I moved it so it came after the modification instead of before.

Glad to know you fixed it yourself!

Hi I have purchased this template 3 months ago and then installed 4.1.1 version on laravel 5.2. I am new to laravel and brought to learn. I did some customization 3 months ago but do not remember that which files were updated. After 3 months I decided to come back on track and I saw 4.3 version here. How can I update the version? I dont want to lose customization so only want to replace files which was changed between version. Could you please light up little bit? How to achieve this? Thanks in advance.

Hi Amar,

we maintain changelog but if you want to apply 3 months changes then it will be a problem.

best way is to use a version control system like git.

if git is already enabled for this project, using phpstorm makes it more easier

you can over ride files (again better choose only what required like controllers or try with one section at a time like controllers once, views once)

and then with git diff tool, you can compare changes and revert or keep changes.

hop that is clear.

Error in Blog Category (Admin Side)

FatalErrorException in Blog.php line 11: Interface ‘Cviebrock\EloquentSluggable\SluggableInterface’ not found

Replace both files from Laravel 5.2 fresh\josh_laravel52-4.3.1.zip but same error…..

Sorry for wrong info, actually its fixed in latest repo files.

if you have github username, please pass so that i can add you to repo

or please contact me from http://codecanyon.net/user/jyostna#contact and i will send you files.

thanks.

Thanks, Resolved my issue.

Error found during installation of JOSH – Laravel 5.2

[Symfony\Component\Debug\Exception\FatalErrorException] Class ‘Cviebrock\EloquentSluggable\SluggableServiceProvider’ not found

PHP Fatal error: Class ‘Cviebrock\EloquentSluggable\SluggableServiceProvider’ not found in C:\xampp\htdocs\josh52\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php on line 146

Hello,

please change

‘Cviebrock\EloquentSluggable\SluggableServiceProvider’

to

‘Cviebrock\EloquentSluggable\ServiceProvider’

in config/app.php and it should work now.

thanks,

Thanks, it’s now working.

Today I purchased new Laravel based JOSH template. but I not able to install. Give support mail ID

We provide support through comments but if you need to contact, pleae send mail from http://codecanyon.net/user/jyostna#contact

Hello, I had purchased the Laravel Josh admin and I am currently using it for a project. When using it I had found some issues in the user module. I shall list it below.

1) Logged in as Admin – Password change for other users / for own user through “edit user” (first tab) – Not correctly getting saved. user cant login again after the password change.

2) User profile view – Even activated users are shown “pending”

3) Add new user /edit user – When a deleted users email is used , on “finish” it says the email already exists, where as the user with respective email has been deleted from the system. (I need to use it again in future if deleted)

4) Add newuser/ edit user – “Previous” button click from 4th tab shows the 2nd tab instead of 3rd tab

Kindly check the above mentioned issues and please inform me how can I go further.

Hi,

thanks for thoughtful review

1. we fixed this in recent versions.. password being stored as plain before i guess

2. need to check

3. since we are using soft deletes, that user is “not” deleted from database so you are getting that error,

you can go to deleted users page and either restore them or hard delete them.

4. need to check.

we will check these and confirm you.

hi i did composer update and get this error composer update Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Generating autoload files > Illuminate\Foundation\ComposerScripts::postUpdate > php artisan optimize PHP Fatal error: Class ‘Cviebrock\EloquentSluggable\SluggableServiceProvider’ not found in /var/www/sarpa/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 146

[Symfony\Component\Debug\Exception\FatalErrorException]                 
Class 'Cviebrock\EloquentSluggable\SluggableServiceProvider' not found

Script php artisan optimize handling the post-update-cmd event returned with an error

[RuntimeException]                                                                                                                                           
Error Output: PHP Fatal error:  Class 'Cviebrock\EloquentSluggable\SluggableServiceProvider' not found in /var/www/sarpa/vendor/laravel/framework/src/Illum  
inate/Foundation/ProviderRepository.php on line 146

update -prefer-dist">-prefer-source -dev">-dry-run -lock">-no-dev -no-autoloader">-no-custom-installers -no-progress">-no-scripts -verbose">-with-dependencies a|-classmap-authoritative">o|-optimize-autoloader -prefer-stable">-ignore-platform-reqs -interactive">-prefer-lowest -">-root-reqs [<packages>]...

FatalErrorException in ServiceProvider.php line 67: Illuminate\Support\ServiceProvider::mergeConfigFrom(): Failed opening required ’/var/www/sarpa/vendor/cviebrock/eloquent-sluggable/src/../config/sluggable.php’ (include_path=’.:/usr/share/pear:/usr/share/php’)

please replace

Cviebrock\EloquentSluggable\SluggableServiceProvider

with

Cviebrock\EloquentSluggable\ServiceProvider

in config/app.php and try again.

thanks working properly

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey