GithubHelp home page GithubHelp logo

Comments (6)

adamgoose avatar adamgoose commented on August 17, 2024 1

Clearing the view cache fixed it. :P #typical

from html.

adamgoose avatar adamgoose commented on August 17, 2024

Can you please paste the entirety of your form source? I'm unable to reproduce the issue.

from html.

SoftwareGuy avatar SoftwareGuy commented on August 17, 2024

Sure thing. Paste inbound.

(snip)
                   {!! Form::open(array('url' => 'contact/send')) !!}
                    <p>
                        <div class="form-group">
                            <label for="contactName"><strong>Contact Name</strong></label> <br />
                            <input type="text" class="form-control" id="contactName" name="contact_name" placeholder="John Appleseed" required>
                        </div>
                    </p>

                    <p>
                        <div class="form-group">
                            <label for="contactEmail"><strong>Contact Email</strong></label> <br />
                            <input type="email" class="form-control" id="contactEmail" name="contact_email" placeholder="[email protected]" required>
                            <p class="help-block">We will never give your email address to third parties. This is solely used to be able to contact you.</p>
                        </div>
                    </p>

                    <p>
                        <div class="form-group">
                            <label for="contactType"><strong>Contact Type:</strong></label> <br />
                            <select id="contactType" name="contact_type">
                                <option value="Bug Report">Bug Report</option>
                                <option value="General Enquiry" selected>General Enquiry</option>
                            </select>
                        </div>
                    </p>
                    <p>
                        <div class="form-group">
                            <label for="messageBody"><strong>Your Message:</strong></label>
                            <textarea class="form-control" id="messageBody" name="contact_message" rows="8" required></textarea>
                        </div>
                    </p>
                    <p>
                        <div class="form-group">
                            <label for="sendMessage"><strong>When you're ready, click the button below to send your message.</strong></label> <br />
                            <button type="submit" id="sendMessage" class="btn btn-success">Send Email</button>
                        </div>
                    </p>
                    {!! Form::close() !!}
(snip)

from html.

adamgoose avatar adamgoose commented on August 17, 2024

Okay, a couple more things I'd like to see.

  • Your config/app.php file. Please make sure to obfuscate your app's secret key.
  • The output of running the command composer show --installed

from html.

SoftwareGuy avatar SoftwareGuy commented on August 17, 2024

config/app.php:

<?php

return [
    'debug' => env('APP_DEBUG', true),
    'url' => 'http://localhost:8000',
    'timezone' => 'UTC',
    'locale' => 'en',
    'fallback_locale' => 'en',
    'key' => env('APP_KEY', 'WhyWouldIShowYouThisItsPrivate'), // this is not my apps key
    'cipher' => 'AES-256-CBC',
    'log' => 'single',
    'providers' => [
        /*
         * Laravel Framework Service Providers...
         */
        Illuminate\Foundation\Providers\ArtisanServiceProvider::class,
        Illuminate\Auth\AuthServiceProvider::class,
        Illuminate\Broadcasting\BroadcastServiceProvider::class,
        Illuminate\Bus\BusServiceProvider::class,
        Illuminate\Cache\CacheServiceProvider::class,
        Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
        Illuminate\Routing\ControllerServiceProvider::class,
        Illuminate\Cookie\CookieServiceProvider::class,
        Illuminate\Database\DatabaseServiceProvider::class,
        Illuminate\Encryption\EncryptionServiceProvider::class,
        Illuminate\Filesystem\FilesystemServiceProvider::class,
        Illuminate\Foundation\Providers\FoundationServiceProvider::class,
        Illuminate\Hashing\HashServiceProvider::class,
        Illuminate\Mail\MailServiceProvider::class,
        Illuminate\Pagination\PaginationServiceProvider::class,
        Illuminate\Pipeline\PipelineServiceProvider::class,
        Illuminate\Queue\QueueServiceProvider::class,
        Illuminate\Redis\RedisServiceProvider::class,
        Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
        Illuminate\Session\SessionServiceProvider::class,
        Illuminate\Translation\TranslationServiceProvider::class,
        Illuminate\Validation\ValidationServiceProvider::class,
        Illuminate\View\ViewServiceProvider::class,

        /* Image processing library... */
        Intervention\Image\ImageServiceProvider::class,
        /*
         * Application Service Providers...
         */
        App\Providers\AppServiceProvider::class,
        App\Providers\EventServiceProvider::class,
        App\Providers\RouteServiceProvider::class,

        /* Admin Panel library */
        Odotmedia\Dashboard\Providers\DashboardServiceProvider::class,

        /* Laravel Collective */
        Collective\Html\HtmlServiceProvider::class,
    ],

    'aliases' => [

        'App'       => Illuminate\Support\Facades\App::class,
        'Artisan'   => Illuminate\Support\Facades\Artisan::class,
        'Auth'      => Illuminate\Support\Facades\Auth::class,
        'Blade'     => Illuminate\Support\Facades\Blade::class,
        'Bus'       => Illuminate\Support\Facades\Bus::class,
        'Cache'     => Illuminate\Support\Facades\Cache::class,
        'Config'    => Illuminate\Support\Facades\Config::class,
        'Cookie'    => Illuminate\Support\Facades\Cookie::class,
        'Crypt'     => Illuminate\Support\Facades\Crypt::class,
        'DB'        => Illuminate\Support\Facades\DB::class,
        'Eloquent'  => Illuminate\Database\Eloquent\Model::class,
        'Event'     => Illuminate\Support\Facades\Event::class,
        'File'      => Illuminate\Support\Facades\File::class,
        'Hash'      => Illuminate\Support\Facades\Hash::class,
        'Input'     => Illuminate\Support\Facades\Input::class,
        'Inspiring' => Illuminate\Foundation\Inspiring::class,
        'Lang'      => Illuminate\Support\Facades\Lang::class,
        'Log'       => Illuminate\Support\Facades\Log::class,
        'Mail'      => Illuminate\Support\Facades\Mail::class,
        'Password'  => Illuminate\Support\Facades\Password::class,
        'Queue'     => Illuminate\Support\Facades\Queue::class,
        'Redirect'  => Illuminate\Support\Facades\Redirect::class,
        'Redis'     => Illuminate\Support\Facades\Redis::class,
        'Request'   => Illuminate\Support\Facades\Request::class,
        'Response'  => Illuminate\Support\Facades\Response::class,
        'Route'     => Illuminate\Support\Facades\Route::class,
        'Schema'    => Illuminate\Support\Facades\Schema::class,
        'Session'   => Illuminate\Support\Facades\Session::class,
        'Storage'   => Illuminate\Support\Facades\Storage::class,
        'URL'       => Illuminate\Support\Facades\URL::class,
        'Validator' => Illuminate\Support\Facades\Validator::class,
        'View'      => Illuminate\Support\Facades\View::class,

        /* Intervention Image Library */
        'Image' => 'Intervention\Image\Facades\Image',

        /* Laravel Collective */
        'Form' => Collective\Html\FormFacade::class,
        'Html' => Collective\Html\HtmlFacade::class,
    ],

];

composer show --installed:

adamwathan/bootforms                  v0.6.3 Just a Formbuilder with some ...
adamwathan/form                       v0.7.1 A basic framework agnostic fo...
cartalyst/sentinel                    v2.0.5 PHP 5.4+ Fully-featured Authe...
cartalyst/support                     v1.1.2 Support helpers.
classpreloader/classpreloader         2.0.0  Helps class loading performan...
danielstjules/stringy                 1.9.0  A string manipulation library...
dnoegel/php-xdg-base-dir              0.1    implementation of xdg base di...
doctrine/inflector                    v1.0.1 Common String Manipulations w...
doctrine/instantiator                 1.0.5  A small, lightweight utility ...
fzaninotto/faker                      v1.5.0 Faker is a PHP library that g...
guzzlehttp/psr7                       1.1.0  PSR-7 message implementation
hamcrest/hamcrest-php                 v1.2.2 This is the PHP port of Hamcr...
intervention/image                    2.3.1  Image handling and manipulati...
jakub-onderka/php-console-color       0.1    
jakub-onderka/php-console-highlighter v0.3.2 
jeremeamia/SuperClosure               2.1.0  Serialize Closure objects, in...
laracasts/flash                       1.3.3  Easy flash notifications
laravel/framework                     v5.1.7 The Laravel Framework.
laravelcollective/html                v5.1.1 
laravelista/ekko                      1.0.4  Laravel helper for detecting ...
league/flysystem                      1.0.9  Filesystem abstraction: Many ...
mockery/mockery                       0.9.4  Mockery is a simple yet flexi...
monolog/monolog                       1.15.0 Sends your logs to files, soc...
mtdowling/cron-expression             v1.0.4 CRON for PHP: Calculate the n...
nesbot/carbon                         1.20.0 A simple API extension for Da...
nikic/php-parser                      v1.4.0 A PHP parser written in PHP
odotmedia/dashboard                   v1.0.1 Laravel 5.1 (LTS) Dashboard Base
phpdocumentor/reflection-docblock     2.0.4  
phpspec/php-diff                      v1.0.2 A comprehensive library for g...
phpspec/phpspec                       2.2.1  Specification-oriented BDD fr...
phpspec/prophecy                      v1.4.1 Highly opinionated mocking fr...
phpunit/php-code-coverage             2.1.8  Library that provides collect...
phpunit/php-file-iterator             1.4.0  FilterIterator implementation...
phpunit/php-text-template             1.2.1  Simple template engine.
phpunit/php-timer                     1.0.6  Utility class for timing
phpunit/php-token-stream              1.4.3  Wrapper around PHP's tokenize...
phpunit/phpunit                       4.7.7  The PHP Unit Testing framework.
phpunit/phpunit-mock-objects          2.3.5  Mock Object library for PHPUnit
psr/http-message                      1.0    Common interface for HTTP mes...
psr/log                               1.0.0  Common interface for logging ...
psy/psysh                             v0.5.1 An interactive shell for mode...
sebastian/comparator                  1.1.1  Provides the functionality to...
sebastian/diff                        1.3.0  Diff implementation
sebastian/environment                 1.2.2  Provides functionality to han...
sebastian/exporter                    1.2.0  Provides the functionality to...
sebastian/global-state                1.0.0  Snapshotting of global state
sebastian/recursion-context           1.0.0  Provides functionality to rec...
sebastian/version                     1.0.6  Library that helps with manag...
swiftmailer/swiftmailer               v5.4.1 Swiftmailer, free feature-ric...
symfony/console                       v2.7.2 Symfony Console Component
symfony/css-selector                  v2.7.2 Symfony CssSelector Component
symfony/debug                         v2.7.2 Symfony Debug Component
symfony/dom-crawler                   v2.7.2 Symfony DomCrawler Component
symfony/event-dispatcher              v2.7.2 Symfony EventDispatcher Compo...
symfony/finder                        v2.7.2 Symfony Finder Component
symfony/http-foundation               v2.7.2 Symfony HttpFoundation Component
symfony/http-kernel                   v2.7.2 Symfony HttpKernel Component
symfony/process                       v2.7.2 Symfony Process Component
symfony/routing                       v2.7.2 Symfony Routing Component
symfony/translation                   v2.7.2 Symfony Translation Component
symfony/var-dumper                    v2.7.2 Symfony mechanism for explori...
symfony/yaml                          v2.7.2 Symfony Yaml Component
vlucas/phpdotenv                      v1.1.1 Loads environment variables f...

Process finished with exit code 0 at 14:51:24.
Execution time: 485 ms.

As shown in the comment, the key shown above is not the key actually used in the app.

from html.

jjaone avatar jjaone commented on August 17, 2024

How did you clear the view cache?

from html.

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.