Giter Club home page Giter Club logo

laravel-4-bootstrap-starter-site's People

Contributors

andrew13 avatar andrewelkins avatar bencorlett avatar bertiful avatar bpierre avatar chrispappas avatar codler avatar crynobone avatar cviebrock avatar daylerees avatar ericlbarnes avatar franzliedke avatar gcphost avatar hirokws avatar jakobud avatar jasonlewis avatar jesseobrien avatar kapv89 avatar kbanman avatar lancepioch avatar loic-sharma avatar mikelbring avatar msurguy avatar nekwebdev avatar pedroborges avatar sparksp avatar taylorotwell avatar tobsn avatar tommyc81 avatar vespakoen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-4-bootstrap-starter-site's Issues

Issue post role update

The role field is populated with ["post_comment"], after save it is populated with { '4' ; 'post_comment'}

Most likely an issue with Zizaco/Entrust and the way it is now saving data vs the way it is checking against it

PHP 5.4 required?

Installing dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for zizaco/entrust dev-master -> satisfiable by zizaco/entrust dev-master.
- zizaco/entrust dev-master requires php >=5.4.0 -> no matching package found.

Potential causes:

Issue updating user.

Post L4 composer update, there seems to be an issue with the user update in the admin.

composer update failed

When I run: composer update the following exception is thrown.

ErrorException: Runtime Notice: Declaration of BigElephant\Presenter\View\Environment::make() should be compatible with Illuminate\View\Environment::make($view, $data = Array) in /Users/dawid/server/o2c/vendor/bigelephant/presenter/src/BigElephant/Presenter/View/Environment.php line 9

Sorry I just realised it's a problem with "BigElephant" package not your starter.

Double quotes converted to html entities

default.blade.php templates contains the following code at (e.g.) line 58:

<li {{{ (Request::is('/') ? 'class="active"' : '') }}}><a href="{{{ URL::to('') }}}">Home</a></li>

When the layout is parsed, the output becomes:

<li class=&quot;active&quot;><a href="http://localhost:8000">Home</a></li>

Can't delete or edit comments.

I keep getting a Error 500 when trying to edit or delete comments. If you get a chance to look into it that would be great. I will see if I can figure it out.

Andrew, I am getting this error

c:\xampp\htdocs\Laravel-4-Bootstrap-Starter-Site>composer install
Loading composer repositories with package information
Installing dependencies

  • Installing jasonlewis/basset (dev-develop f0b4273)
    Cloning f0b4273c954365bef0eb4401c6157da20c80507e

    [RuntimeException]
    Failed to execute git checkout "f0b4273c954365bef0eb4401c6157da20c80507e" && git reset --hard "
    f0b4273c954365bef0eb4401c6157da20c80507e"

    fatal: reference is not a tree: f0b4273c954365bef0eb4401c6157da20c80507e

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [-
-no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader]

Any Idea why?

Incorrect method call on (Ardent) User object in AdminUsersController.php

When creating a new user (as the admin user via the admin dashboard), if any validation errors occur as a result of breaking the default validation rules in ConfideUser.php, a BadMethodCallException is thrown, as the getErrors() method does not exist.

As per the Ardent doccumentation (https://github.com/laravelbook/ardent#errors), line 79 of app/controllers/admin/AdminUsersController.php should read:

$error = $user->errors()->all();

instead of:

$error = $user->getErrors()->all();

forgot password feature not working

When I try to go to forgot password the link is user/user/forgot instead of user/forgot. Also when I hit the correct route Error 500 is triggered. Running PHP 5.4.4

Admin & User account not confirmed by default

Upon installation, I went to login with the user and admin credentials, only to be denied access. I thought I messed something up until I checked the database and saw "confirmed" set to "0". The UsersTableSeeder is set to 0 on both accounts as well.

It would seem reasonable to either note that by default they're both disabled, or enable only the Admin account on install to show the ability of being able to login with the Admin account being confirmed, and being denied access with the User account that is not confirmed.

Or if a users credentials are correct, but not confirmed, a notice that says "Account is not confirmed".

Can't create new blog post?

I don't know if this is broken only on my local environment but I can't create a new blog post. Directs me to server error:500 page. Anyone else have this issue?

Pagination in admin/users view

The three brace notation on the pagination command on line 54 of views/admin/users/index.blade.php seems to break pagination (actual html is displayed on the page). Changing line 54 to the following {{ $users->links() }} fixes the problem.

User update form redirects to sign up form if form error

If you user the /user route to display the update form, if there is an error it redirects to the create form.

I think the issue is that the registration form and update form both post to /user. The redirection to /user/create is probably there because of the registration form validation but doesn't work for the update form

Not sure on best way to fix... maybe separate post processing for update form, or have a conditional redirect depending on the form id or something?

Small change to help with debugging

Hi Andrew

Thank you for adding this great starter kit. It shows exactly what to do to achieve simple CRUD functionality in L4.

Just a small issue. Because of your custom 403, 404 and 500 pages, development is very difficult since you never see the actual error (and a developer will miss out on the awesomeness of the debug console).

To fix it I simply added this line to app/start/global.php on line 56 after Log::error($exception)

if (Config::get('app.debug')) return;

That way in debug mode the developer can still see debug messages.

Hope this helps!

Wrong URL::to type

On line 14 in user/login.blade.php
is only one " : " instead " :: " `

`

please change the action to `

`

The same problem results from the storage/views/ when you first try to enter this URL http://my-laravel-4/user/login
In that view is also missing one " : " in the action method.

Blade error or something weired causes pages to be 500 error

I am running laravel4 boostrapper on win7 64bit wamp. and i am getting 500 for all pages.

after debugging a lot i found if i put at the end of default.blade.php it works otherwise all pages gives me 500 error.

Do i need to config something ?

File String.php in /Helpers conflicts with php5-tidy

I found a little problem,
If you have installed php5-tidy and try to run the application, an error would occur on the Strings.php file, saying that the class Tidy is not found.

Seems like you miss a file or maybe the validation of Tidy should be done in another way.

I just "fixed" it by uninstalling tidy. I guess you can also delete the "first part" of the IF in the Strings.php file and use the other parser you did.

Error downloading dependencies

Hello everybody, I cloned this repo and ran composer install, but as soon as it shows Installing dependencies... Throws this error:

[Composer\Downloader\TransportException]
The "http://packagist.org/p/zizaco/confide$3f4749d08a0176316d5506d68dda1c69
ad70ef51f52efd7e1e904fd7d1342ba8.json" file could not be downloaded (HTTP/1
.1 404 Not Found)

and everything stops. I know it's because that url indeed is wrong, because instead of "/p/" is "/packages/" and also de md5 is wrong. But why is this happening? Thanks everyone.

404 error on /admin

Any ideas why /admin gives me a 404 error? I'm logged in as the admin user.

Artisan error

Trying to run artisan to do migration and db:seed gives me error (in artisan in general).

Note that directories double in some places dev\webdev\uni\dev\webdev\ like beginning.

ErrorException: Warning: include(Z:\dev\webdev\uni\dev\webdev\uni\www\laravel\vendor\jasonlewis\expressive-date\src\ExpressiveDateServiceProvider.php): failed to open stream: No such file or directory in Z:\dev\webdev\uni\www\laravel\vendor\composer\ClassLoader.php line 183
in Z:\dev\webdev\uni\www\laravel\vendor\composer\ClassLoader.php line 183
at ErrorHandler->handle('2', 'include(Z:\dev\webdev\uni\dev\webdev\uni\www\laravel\vendor\jasonlewis\expressive-date\src\ExpressiveDateServiceProvider.php): failed to open stream: No such file or directory', 'Z:\dev\webdev\uni\www\laravel\vendor\composer\ClassLoader.php', '183', array('class' => 'ExpressiveDateServiceProvider', 'file' => 'Z:/www/laravel/../../dev/webdev/uni/www/laravel/vendor/jasonlewis/expressive-date/src/ExpressiveDateServiceProvider.php')) in Z:\dev\webdev\uni\www\laravel\vendor\composer\ClassLoader.php line 183
at ClassLoader::loadClass() in Z:\dev\webdev\uni\www\laravel\vendor\composer\ClassLoader.php line 183
at ClassLoader->loadClass('ExpressiveDateServiceProvider')
at spl_autoload_call('ExpressiveDateServiceProvider') in Z:\dev\webdev\uni\www\laravel\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php line 123
at ProviderRepository->createProvider(object(Application), 'ExpressiveDateServiceProvider') in Z:\dev\webdev\uni\www\laravel\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php line 89
at ProviderRepository->compileManifest(object(Application), array('Illuminate\Foundation\Providers\ArtisanServiceProvider', 'Illuminate\Auth\AuthServiceProvider', 'Illuminate\Cache\CacheServiceProvider', 'Illuminate\Foundation\Providers\CommandCreatorServiceProvider', 'Illuminate\Session\CommandsServiceProvider', 'Illuminate\Foundation\Providers\ComposerServiceProvider', 'Illuminate\Routing\ControllerServiceProvider', 'Illuminate\Cookie\CookieServiceProvider', 'Illuminate\Database\DatabaseServiceProvider', 'Illuminate\Foundation\Providers\OptimizeServiceProvider', 'Illuminate\Encryption\EncryptionServiceProvider', 'Illuminate\Filesystem\FilesystemServiceProvider', 'Illuminate\Hashing\HashServiceProvider', 'Illuminate\Foundation\Providers\KeyGeneratorServiceProvider', 'Illuminate\Log\LogServiceProvider', 'Illuminate\Mail\MailServiceProvider', 'Illuminate\Database\MigrationServiceProvider', 'Illuminate\Pagination\PaginationServiceProvider', 'Illuminate\Foundation\Providers\PublisherServiceProvider', 'Illuminate\Queue\QueueServiceProvider', 'Illuminate\Redis\RedisServiceProvider', 'Illuminate\Auth\Reminders\ReminderServiceProvider', 'Illuminate\Database\SeedServiceProvider', 'Illuminate\Foundation\Providers\ServerServiceProvider', 'Illuminate\Session\SessionServiceProvider', 'Illuminate\Foundation\Providers\TinkerServiceProvider', 'Illuminate\Translation\TranslationServiceProvider', 'Illuminate\Validation\ValidationServiceProvider', 'Illuminate\View\ViewServiceProvider', 'Illuminate\Workbench\WorkbenchServiceProvider', 'Zizaco\Confide\ConfideServiceProvider', 'Zizaco\Entrust\EntrustServiceProvider', 'LaravelBook\Laravel4Powerpack\Providers\PowerpackServiceProvider', 'ExpressiveDateServiceProvider', 'Basset\BassetServiceProvider', 'BigElephant\Presenter\PresenterServiceProvider')) in Z:\dev\webdev\uni\www\laravel\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php line 51
at ProviderRepository->load(object(Application), array('Illuminate\Foundation\Providers\ArtisanServiceProvider', 'Illuminate\Auth\AuthServiceProvider', 'Illuminate\Cache\CacheServiceProvider', 'Illuminate\Foundation\Providers\CommandCreatorServiceProvider', 'Illuminate\Session\CommandsServiceProvider', 'Illuminate\Foundation\Providers\ComposerServiceProvider', 'Illuminate\Routing\ControllerServiceProvider', 'Illuminate\Cookie\CookieServiceProvider', 'Illuminate\Database\DatabaseServiceProvider', 'Illuminate\Foundation\Providers\OptimizeServiceProvider', 'Illuminate\Encryption\EncryptionServiceProvider', 'Illuminate\Filesystem\FilesystemServiceProvider', 'Illuminate\Hashing\HashServiceProvider', 'Illuminate\Foundation\Providers\KeyGeneratorServiceProvider', 'Illuminate\Log\LogServiceProvider', 'Illuminate\Mail\MailServiceProvider', 'Illuminate\Database\MigrationServiceProvider', 'Illuminate\Pagination\PaginationServiceProvider', 'Illuminate\Foundation\Providers\PublisherServiceProvider', 'Illuminate\Queue\QueueServiceProvider', 'Illuminate\Redis\RedisServiceProvider', 'Illuminate\Auth\Reminders\ReminderServiceProvider', 'Illuminate\Database\SeedServiceProvider', 'Illuminate\Foundation\Providers\ServerServiceProvider', 'Illuminate\Session\SessionServiceProvider', 'Illuminate\Foundation\Providers\TinkerServiceProvider', 'Illuminate\Translation\TranslationServiceProvider', 'Illuminate\Validation\ValidationServiceProvider', 'Illuminate\View\ViewServiceProvider', 'Illuminate\Workbench\WorkbenchServiceProvider', 'Zizaco\Confide\ConfideServiceProvider', 'Zizaco\Entrust\EntrustServiceProvider', 'LaravelBook\Laravel4Powerpack\Providers\PowerpackServiceProvider', 'ExpressiveDateServiceProvider', 'Basset\BassetServiceProvider', 'BigElephant\Presenter\PresenterServiceProvider')) in Z:\dev\webdev\uni\www\laravel\vendor\laravel\framework\src\Illuminate\Foundation\start.php line 181
at require('Z:\dev\webdev\uni\www\laravel\vendor\laravel\framework\src\Illuminate\Foundation\start.php') in Z:\dev\webdev\uni\www\laravel\bootstrap\start.php line 57
at require_once('Z:\dev\webdev\uni\www\laravel\bootstrap\start.php') in Z:\dev\webdev\uni\www\laravel\artisan line 30

SQL error on user information update

If you submit the form at user/create you get an error about the username column not being in the SQL (because it's not in the form).

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'username' cannot be null (SQL: insert into users (username, email, password, confirmation_code, updated_at, created_at)

If you add the username in to the form and submit it, there is no error but if you change the email address of the user (which should be a valid action?) it creates a new record in the database rather than updating the user details with the new email address.

Create Account goes to /user - Error Missing argument 1 for UserController::postIndex()

Hey Andrew,

Note: I have just done a fresh install following your instructions.

Issue:
When I click Create Account on Sign Up page, it goes to /user

Error Message:
Missing argument 1 for UserController::postIndex()
Line 24

I wish I could provide a solution for you, but I'm new to Laravel.

What I find strange is that the function does not ask for any parameters/args. :-/ [scratches-head]

Assigned roles bug

Admin can't post comments (I do have enabled comments for admin)

You don't have the correct permissions to add comments.

Cancel on edit blog typo

The URL on the cancel button points to admin/blog instead of admin/blogs. Line 98 of views/admin/blogs/edit.blade.php should be <a class="btn btn-link" href="{{{ URL::to('admin/blogs') }}}">Cancel</a>

Error since recent update

[2013-03-17 22:45:28] log.ERROR: exception 'Illuminate\Session\TokenMismatchException' in /Web/tgc/app/filters.php:65
Stack trace:
#0 [internal function]: {closure}(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))

Any ideas? :/ I'm a bit stumped, think it might relate to 3a39c60

Bootstarp img (glyphicon) not working

Hello Andrew, I'm new to both your project and Laravel, so I'm not sure it's really me or it's because I use Windows, but the bootstrap icons don't appear on all buttons and going with firebug it also shows that the file failed to load current URL. Everything else seems to work.

Oh also a quick suggestion, you should put the '/admin' somewhere in the top men, we shouldn't have to type it to get in the admin section, apart from that..well done :)

Class is redeclared during migration causing error

Hi there,

On line 4 of 2013_05_05_024934_entrust_permission_index.php the class name ConfideSetupUsersTable is being redeclared from the file 2013_02_05_024934_confide_setup_users_table.php

Changing the line to class EntrustPermissionIndex extends Migration { fixed the error

run project from subdirectory

Using windows and xampp.

If you put this project into subdirectory ex. "localhost/larave4" login doesn't work because it redirects you to localhost/user/login instead of localhost/laravel4/user/login

Andrew Links

Andrew you left the class=" and ending " off of the links.

Issue after fresh install

I received this after a fresh install.

{"error":{"type":"ErrorException","message":"Runtime Notice: Declaration of BigElephant\Presenter\View\Environment::make() should be compatible with Illuminate\View\Environment::make($view, $data = Array, $mergeData = Array) in /Users/creative/Sites/laravel/trunk/vendor/bigelephant/presenter/src/BigElephant/Presenter/View/Environment.php line 9","file":"/Users/creative/Sites/laravel/trunk/vendor/bigelephant/presenter/src/BigElephant/Presenter/View/Environment.php","line":9}}

Any ideas?

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.