diff --git a/README.md b/README.md deleted file mode 100755 index ca289c81158629480e59fcb64412a3df1893b44e..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Pengerjaan Proyek 2 IF3250 - -Silakan gunakan Gitlab ini untuk mengerjakan Proyek 2 PPL ini. Beberapa hal yang perlu diperhatikan: -1. Fork project ini ke dalam gitlab kalian -2. Project di push ke repositori masing-masing -3. Setelah project selesai, silakan merge request ke repositori ini - -Apabila ada pertanyaan, silakan hubungi asisten. \ No newline at end of file diff --git a/app/Http/Controllers/KKController.php b/app/Http/Controllers/KKController.php index fdc19e189e6be20f4c6b5e0ceb6a30842a7936d7..80dd076d2b43f826818b06dda1a69f3e1745a8ab 100644 --- a/app/Http/Controllers/KKController.php +++ b/app/Http/Controllers/KKController.php @@ -18,11 +18,16 @@ class KKController extends Controller public function create(Request $request) { $rules = [ - + 'nik' => 'numeric|digits:16|bail|same:mynik', + 'agama' => 'required', + 'pekerjaan' => 'required', + 'alamat' => 'required' ]; $messages = [ - + 'nik.numeric' => 'Format NIK Salah (16 Digit Angka)', + 'nik.digits' => 'Format NIK Salah (16 Digit Angka)', + 'nik.same' => 'NIK input Berbeda dengan NIK anda', ]; $validator = Validator::make(Input::all(), $rules, $messages); @@ -34,6 +39,21 @@ class KKController extends Controller ->withInput(); } else { $kk = new KK; + $kk->nik = Input::get('nik'); + $kk->tipe = 'create'; + $kk->agama = Input::get('agama'); + $kk->status_perkawinan = Input::get('status_perkawinan'); + $kk->pekerjaan = Input::get('pekerjaan'); + $kk->alamat = Input::get('alamat'); + $kk->save(); + + // Add Error Handling here + // a... + $log = new Log(); + $log->id_penduduk = Input::get('nik'); + $log->tipe = "createKK"; + $log->sumber = "warga"; + $log->save(); return redirect('/'); } @@ -43,9 +63,15 @@ class KKController extends Controller { $kk = KK::where('nik', $nik)->first(); + $ktp->tipe = 'update'; + $ktp->status_perkawinan = 'kawin'; + $kk->save(); $log = new Log(); - $log + $log->id_penduduk = $nik; + $log->tipe = "updateKtp"; + $log->sumber = "appPernikahan"; + $log->save(); } } \ No newline at end of file diff --git a/config/app.php b/config/app.php deleted file mode 100755 index f544517751bbfa0583075e3019d10934d2919e69..0000000000000000000000000000000000000000 --- a/config/app.php +++ /dev/null @@ -1,209 +0,0 @@ -<?php - -return [ - - /* - |-------------------------------------------------------------------------- - | Application Environment - |-------------------------------------------------------------------------- - | - | This value determines the "environment" your application is currently - | running in. This may determine how you prefer to configure various - | services your application utilizes. Set this in your ".env" file. - | - */ - - 'env' => env('APP_ENV', 'production'), - - /* - |-------------------------------------------------------------------------- - | Application Debug Mode - |-------------------------------------------------------------------------- - | - | When your application is in debug mode, detailed error messages with - | stack traces will be shown on every error that occurs within your - | application. If disabled, a simple generic error page is shown. - | - */ - - 'debug' => env('APP_DEBUG', false), - - /* - |-------------------------------------------------------------------------- - | Application URL - |-------------------------------------------------------------------------- - | - | This URL is used by the console to properly generate URLs when using - | the Artisan command line tool. You should set this to the root of - | your application so that it is used when running Artisan tasks. - | - */ - - 'url' => env('APP_URL', 'http://localhost'), - - /* - |-------------------------------------------------------------------------- - | Application Timezone - |-------------------------------------------------------------------------- - | - | Here you may specify the default timezone for your application, which - | will be used by the PHP date and date-time functions. We have gone - | ahead and set this to a sensible default for you out of the box. - | - */ - - 'timezone' => 'UTC', - - /* - |-------------------------------------------------------------------------- - | Application Locale Configuration - |-------------------------------------------------------------------------- - | - | The application locale determines the default locale that will be used - | by the translation service provider. You are free to set this value - | to any of the locales which will be supported by the application. - | - */ - - 'locale' => 'en', - - /* - |-------------------------------------------------------------------------- - | Application Fallback Locale - |-------------------------------------------------------------------------- - | - | The fallback locale determines the locale to use when the current one - | is not available. You may change the value to correspond to any of - | the language folders that are provided through your application. - | - */ - - 'fallback_locale' => 'en', - - /* - |-------------------------------------------------------------------------- - | Encryption Key - |-------------------------------------------------------------------------- - | - | This key is used by the Illuminate encrypter service and should be set - | to a random, 32 character string, otherwise these encrypted strings - | will not be safe. Please do this before deploying an application! - | - */ - - 'key' => env('APP_KEY'), - - 'cipher' => 'AES-256-CBC', - - /* - |-------------------------------------------------------------------------- - | Logging Configuration - |-------------------------------------------------------------------------- - | - | Here you may configure the log settings for your application. Out of - | the box, Laravel uses the Monolog PHP logging library. This gives - | you a variety of powerful log handlers / formatters to utilize. - | - | Available Settings: "single", "daily", "syslog", "errorlog" - | - */ - - 'log' => env('APP_LOG', 'single'), - - /* - |-------------------------------------------------------------------------- - | Autoloaded Service Providers - |-------------------------------------------------------------------------- - | - | The service providers listed here will be automatically loaded on the - | request to your application. Feel free to add your own services to - | this array to grant expanded functionality to your applications. - | - */ - - 'providers' => [ - - /* - * Laravel Framework Service Providers... - */ - Illuminate\Auth\AuthServiceProvider::class, - Illuminate\Broadcasting\BroadcastServiceProvider::class, - Illuminate\Bus\BusServiceProvider::class, - Illuminate\Cache\CacheServiceProvider::class, - Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::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, - - /* - * Application Service Providers... - */ - App\Providers\AppServiceProvider::class, - App\Providers\AuthServiceProvider::class, - App\Providers\EventServiceProvider::class, - App\Providers\RouteServiceProvider::class, - - ], - - /* - |-------------------------------------------------------------------------- - | Class Aliases - |-------------------------------------------------------------------------- - | - | This array of class aliases will be registered when this application - | is started. However, feel free to register as many as you wish as - | the aliases are "lazy" loaded so they don't hinder performance. - | - */ - - '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, - '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, - 'Gate' => Illuminate\Support\Facades\Gate::class, - 'Hash' => Illuminate\Support\Facades\Hash::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, - - ], - - - -]; diff --git a/config/auth.php b/config/auth.php deleted file mode 100755 index 3fa7f491b30019836f5fea390d38c567e3470c6a..0000000000000000000000000000000000000000 --- a/config/auth.php +++ /dev/null @@ -1,107 +0,0 @@ -<?php - -return [ - - /* - |-------------------------------------------------------------------------- - | Authentication Defaults - |-------------------------------------------------------------------------- - | - | This option controls the default authentication "guard" and password - | reset options for your application. You may change these defaults - | as required, but they're a perfect start for most applications. - | - */ - - 'defaults' => [ - 'guard' => 'web', - 'passwords' => 'users', - ], - - /* - |-------------------------------------------------------------------------- - | Authentication Guards - |-------------------------------------------------------------------------- - | - | Next, you may define every authentication guard for your application. - | Of course, a great default configuration has been defined for you - | here which uses session storage and the Eloquent user provider. - | - | All authentication drivers have a user provider. This defines how the - | users are actually retrieved out of your database or other storage - | mechanisms used by this application to persist your user's data. - | - | Supported: "session", "token" - | - */ - - 'guards' => [ - 'web' => [ - 'driver' => 'session', - 'provider' => 'users', - ], - - 'api' => [ - 'driver' => 'token', - 'provider' => 'users', - ], - ], - - /* - |-------------------------------------------------------------------------- - | User Providers - |-------------------------------------------------------------------------- - | - | All authentication drivers have a user provider. This defines how the - | users are actually retrieved out of your database or other storage - | mechanisms used by this application to persist your user's data. - | - | If you have multiple user tables or models you may configure multiple - | sources which represent each model / table. These sources may then - | be assigned to any extra authentication guards you have defined. - | - | Supported: "database", "eloquent" - | - */ - - 'providers' => [ - 'users' => [ - 'driver' => 'eloquent', - 'model' => App\User::class, - ], - - // 'users' => [ - // 'driver' => 'database', - // 'table' => 'users', - // ], - ], - - /* - |-------------------------------------------------------------------------- - | Resetting Passwords - |-------------------------------------------------------------------------- - | - | Here you may set the options for resetting passwords including the view - | that is your password reset e-mail. You may also set the name of the - | table that maintains all of the reset tokens for your application. - | - | You may specify multiple password reset configurations if you have more - | than one user table or model in the application and you want to have - | separate password reset settings based on the specific user types. - | - | The expire time is the number of minutes that the reset token should be - | considered valid. This security feature keeps tokens short-lived so - | they have less time to be guessed. You may change this as needed. - | - */ - - 'passwords' => [ - 'users' => [ - 'provider' => 'users', - 'email' => 'auth.emails.password', - 'table' => 'password_resets', - 'expire' => 60, - ], - ], - -]; diff --git a/config/broadcasting.php b/config/broadcasting.php deleted file mode 100755 index abaaac32a780ff114a584d0a7e3bf5f92824c99a..0000000000000000000000000000000000000000 --- a/config/broadcasting.php +++ /dev/null @@ -1,52 +0,0 @@ -<?php - -return [ - - /* - |-------------------------------------------------------------------------- - | Default Broadcaster - |-------------------------------------------------------------------------- - | - | This option controls the default broadcaster that will be used by the - | framework when an event needs to be broadcast. You may set this to - | any of the connections defined in the "connections" array below. - | - */ - - 'default' => env('BROADCAST_DRIVER', 'pusher'), - - /* - |-------------------------------------------------------------------------- - | Broadcast Connections - |-------------------------------------------------------------------------- - | - | Here you may define all of the broadcast connections that will be used - | to broadcast events to other systems or over websockets. Samples of - | each available type of connection are provided inside this array. - | - */ - - 'connections' => [ - - 'pusher' => [ - 'driver' => 'pusher', - 'key' => env('PUSHER_KEY'), - 'secret' => env('PUSHER_SECRET'), - 'app_id' => env('PUSHER_APP_ID'), - 'options' => [ - // - ], - ], - - 'redis' => [ - 'driver' => 'redis', - 'connection' => 'default', - ], - - 'log' => [ - 'driver' => 'log', - ], - - ], - -]; diff --git a/config/cache.php b/config/cache.php deleted file mode 100755 index 3ffa840b0ba9d28be165370bc1f3b5ceb2ff89cf..0000000000000000000000000000000000000000 --- a/config/cache.php +++ /dev/null @@ -1,81 +0,0 @@ -<?php - -return [ - - /* - |-------------------------------------------------------------------------- - | Default Cache Store - |-------------------------------------------------------------------------- - | - | This option controls the default cache connection that gets used while - | using this caching library. This connection is used when another is - | not explicitly specified when executing a given caching function. - | - */ - - 'default' => env('CACHE_DRIVER', 'file'), - - /* - |-------------------------------------------------------------------------- - | Cache Stores - |-------------------------------------------------------------------------- - | - | Here you may define all of the cache "stores" for your application as - | well as their drivers. You may even define multiple stores for the - | same cache driver to group types of items stored in your caches. - | - */ - - 'stores' => [ - - 'apc' => [ - 'driver' => 'apc', - ], - - 'array' => [ - 'driver' => 'array', - ], - - 'database' => [ - 'driver' => 'database', - 'table' => 'cache', - 'connection' => null, - ], - - 'file' => [ - 'driver' => 'file', - 'path' => storage_path('framework/cache'), - ], - - 'memcached' => [ - 'driver' => 'memcached', - 'servers' => [ - [ - 'host' => env('MEMCACHED_HOST', '127.0.0.1'), - 'port' => env('MEMCACHED_PORT', 11211), - 'weight' => 100, - ], - ], - ], - - 'redis' => [ - 'driver' => 'redis', - 'connection' => 'default', - ], - - ], - - /* - |-------------------------------------------------------------------------- - | Cache Key Prefix - |-------------------------------------------------------------------------- - | - | When utilizing a RAM based store such as APC or Memcached, there might - | be other applications utilizing the same cache. So, we'll specify a - | value to get prefixed to all our keys so we can avoid collisions. - | - */ - - 'prefix' => 'laravel', - -]; diff --git a/config/compile.php b/config/compile.php deleted file mode 100755 index 04807eac450d32158f752dfcb69e7c6be76a1561..0000000000000000000000000000000000000000 --- a/config/compile.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php - -return [ - - /* - |-------------------------------------------------------------------------- - | Additional Compiled Classes - |-------------------------------------------------------------------------- - | - | Here you may specify additional classes to include in the compiled file - | generated by the `artisan optimize` command. These should be classes - | that are included on basically every request into the application. - | - */ - - 'files' => [ - // - ], - - /* - |-------------------------------------------------------------------------- - | Compiled File Providers - |-------------------------------------------------------------------------- - | - | Here you may list service providers which define a "compiles" function - | that returns additional files that should be compiled, providing an - | easy way to get common files from any packages you are utilizing. - | - */ - - 'providers' => [ - // - ], - -]; diff --git a/config/database.php b/config/database.php deleted file mode 100755 index 8451a62fbf2635da0714f17996c7b14683489f14..0000000000000000000000000000000000000000 --- a/config/database.php +++ /dev/null @@ -1,120 +0,0 @@ -<?php - -return [ - - /* - |-------------------------------------------------------------------------- - | PDO Fetch Style - |-------------------------------------------------------------------------- - | - | By default, database results will be returned as instances of the PHP - | stdClass object; however, you may desire to retrieve records in an - | array format for simplicity. Here you can tweak the fetch style. - | - */ - - 'fetch' => PDO::FETCH_CLASS, - - /* - |-------------------------------------------------------------------------- - | Default Database Connection Name - |-------------------------------------------------------------------------- - | - | Here you may specify which of the database connections below you wish - | to use as your default connection for all database work. Of course - | you may use many connections at once using the Database library. - | - */ - - 'default' => env('DB_CONNECTION', 'mysql'), - - /* - |-------------------------------------------------------------------------- - | Database Connections - |-------------------------------------------------------------------------- - | - | Here are each of the database connections setup for your application. - | Of course, examples of configuring each database platform that is - | supported by Laravel is shown below to make development simple. - | - | - | All database work in Laravel is done through the PHP PDO facilities - | so make sure you have the driver for your particular database of - | choice installed on your machine before you begin development. - | - */ - - 'connections' => [ - - 'sqlite' => [ - 'driver' => 'sqlite', - 'database' => env('DB_DATABASE', database_path('database.sqlite')), - 'prefix' => '', - ], - - 'mysql' => [ - 'driver' => 'mysql', - 'host' => env('DB_HOST', 'localhost'), - 'port' => env('DB_PORT', '3306'), - 'database' => env('DB_DATABASE', 'forge'), - 'username' => env('DB_USERNAME', 'forge'), - 'password' => env('DB_PASSWORD', ''), - 'charset' => 'utf8', - 'collation' => 'utf8_unicode_ci', - 'prefix' => '', - 'strict' => false, - 'engine' => null, - ], - - 'pgsql' => [ - 'driver' => 'pgsql', - 'host' => env('DB_HOST', 'localhost'), - 'port' => env('DB_PORT', '5432'), - 'database' => env('DB_DATABASE', 'forge'), - 'username' => env('DB_USERNAME', 'forge'), - 'password' => env('DB_PASSWORD', ''), - 'charset' => 'utf8', - 'prefix' => '', - 'schema' => 'public', - ], - - ], - - /* - |-------------------------------------------------------------------------- - | Migration Repository Table - |-------------------------------------------------------------------------- - | - | This table keeps track of all the migrations that have already run for - | your application. Using this information, we can determine which of - | the migrations on disk haven't actually been run in the database. - | - */ - - 'migrations' => 'migrations', - - /* - |-------------------------------------------------------------------------- - | Redis Databases - |-------------------------------------------------------------------------- - | - | Redis is an open source, fast, and advanced key-value store that also - | provides a richer set of commands than a typical key-value systems - | such as APC or Memcached. Laravel makes it easy to dig right in. - | - */ - - 'redis' => [ - - 'cluster' => false, - - 'default' => [ - 'host' => env('REDIS_HOST', 'localhost'), - 'password' => env('REDIS_PASSWORD', null), - 'port' => env('REDIS_PORT', 6379), - 'database' => 0, - ], - - ], - -]; diff --git a/config/filesystems.php b/config/filesystems.php deleted file mode 100755 index 75b50022b0cb9cf3cb7b8776620b621c99efa56b..0000000000000000000000000000000000000000 --- a/config/filesystems.php +++ /dev/null @@ -1,67 +0,0 @@ -<?php - -return [ - - /* - |-------------------------------------------------------------------------- - | Default Filesystem Disk - |-------------------------------------------------------------------------- - | - | Here you may specify the default filesystem disk that should be used - | by the framework. A "local" driver, as well as a variety of cloud - | based drivers are available for your choosing. Just store away! - | - | Supported: "local", "ftp", "s3", "rackspace" - | - */ - - 'default' => 'local', - - /* - |-------------------------------------------------------------------------- - | Default Cloud Filesystem Disk - |-------------------------------------------------------------------------- - | - | Many applications store files both locally and in the cloud. For this - | reason, you may specify a default "cloud" driver here. This driver - | will be bound as the Cloud disk implementation in the container. - | - */ - - 'cloud' => 's3', - - /* - |-------------------------------------------------------------------------- - | Filesystem Disks - |-------------------------------------------------------------------------- - | - | Here you may configure as many filesystem "disks" as you wish, and you - | may even configure multiple disks of the same driver. Defaults have - | been setup for each driver as an example of the required options. - | - */ - - 'disks' => [ - - 'local' => [ - 'driver' => 'local', - 'root' => storage_path('app'), - ], - - 'public' => [ - 'driver' => 'local', - 'root' => storage_path('app/public'), - 'visibility' => 'public', - ], - - 's3' => [ - 'driver' => 's3', - 'key' => 'your-key', - 'secret' => 'your-secret', - 'region' => 'your-region', - 'bucket' => 'your-bucket', - ], - - ], - -]; diff --git a/config/mail.php b/config/mail.php deleted file mode 100755 index a07658856c784aca37f611c9de957aeb4c76bb8c..0000000000000000000000000000000000000000 --- a/config/mail.php +++ /dev/null @@ -1,112 +0,0 @@ -<?php - -return [ - - /* - |-------------------------------------------------------------------------- - | Mail Driver - |-------------------------------------------------------------------------- - | - | Laravel supports both SMTP and PHP's "mail" function as drivers for the - | sending of e-mail. You may specify which one you're using throughout - | your application here. By default, Laravel is setup for SMTP mail. - | - | Supported: "smtp", "mail", "sendmail", "mailgun", "mandrill", - | "ses", "sparkpost", "log" - | - */ - - 'driver' => env('MAIL_DRIVER', 'smtp'), - - /* - |-------------------------------------------------------------------------- - | SMTP Host Address - |-------------------------------------------------------------------------- - | - | Here you may provide the host address of the SMTP server used by your - | applications. A default option is provided that is compatible with - | the Mailgun mail service which will provide reliable deliveries. - | - */ - - 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), - - /* - |-------------------------------------------------------------------------- - | SMTP Host Port - |-------------------------------------------------------------------------- - | - | This is the SMTP port used by your application to deliver e-mails to - | users of the application. Like the host we have set this value to - | stay compatible with the Mailgun e-mail application by default. - | - */ - - 'port' => env('MAIL_PORT', 587), - - /* - |-------------------------------------------------------------------------- - | Global "From" Address - |-------------------------------------------------------------------------- - | - | You may wish for all e-mails sent by your application to be sent from - | the same address. Here, you may specify a name and address that is - | used globally for all e-mails that are sent by your application. - | - */ - - 'from' => ['address' => null, 'name' => null], - - /* - |-------------------------------------------------------------------------- - | E-Mail Encryption Protocol - |-------------------------------------------------------------------------- - | - | Here you may specify the encryption protocol that should be used when - | the application send e-mail messages. A sensible default using the - | transport layer security protocol should provide great security. - | - */ - - 'encryption' => env('MAIL_ENCRYPTION', 'tls'), - - /* - |-------------------------------------------------------------------------- - | SMTP Server Username - |-------------------------------------------------------------------------- - | - | If your SMTP server requires a username for authentication, you should - | set it here. This will get used to authenticate with your server on - | connection. You may also set the "password" value below this one. - | - */ - - 'username' => env('MAIL_USERNAME'), - - /* - |-------------------------------------------------------------------------- - | SMTP Server Password - |-------------------------------------------------------------------------- - | - | Here you may set the password required by your SMTP server to send out - | messages from your application. This will be given to the server on - | connection so that the application will be able to send messages. - | - */ - - 'password' => env('MAIL_PASSWORD'), - - /* - |-------------------------------------------------------------------------- - | Sendmail System Path - |-------------------------------------------------------------------------- - | - | When using the "sendmail" driver to send e-mails, we will need to know - | the path to where Sendmail lives on this server. A default path has - | been provided here, which will work well on most of your systems. - | - */ - - 'sendmail' => '/usr/sbin/sendmail -bs', - -]; diff --git a/config/queue.php b/config/queue.php deleted file mode 100755 index a2f3888c6f944edeaf277399ae20f430b1601808..0000000000000000000000000000000000000000 --- a/config/queue.php +++ /dev/null @@ -1,86 +0,0 @@ -<?php - -return [ - - /* - |-------------------------------------------------------------------------- - | Default Queue Driver - |-------------------------------------------------------------------------- - | - | The Laravel queue API supports a variety of back-ends via an unified - | API, giving you convenient access to each back-end using the same - | syntax for each one. Here you may set the default queue driver. - | - | Supported: "null", "sync", "database", "beanstalkd", - | "sqs", "redis" - | - */ - - 'default' => env('QUEUE_DRIVER', 'sync'), - - /* - |-------------------------------------------------------------------------- - | Queue Connections - |-------------------------------------------------------------------------- - | - | Here you may configure the connection information for each server that - | is used by your application. A default configuration has been added - | for each back-end shipped with Laravel. You are free to add more. - | - */ - - 'connections' => [ - - 'sync' => [ - 'driver' => 'sync', - ], - - 'database' => [ - 'driver' => 'database', - 'table' => 'jobs', - 'queue' => 'default', - 'expire' => 60, - ], - - 'beanstalkd' => [ - 'driver' => 'beanstalkd', - 'host' => 'localhost', - 'queue' => 'default', - 'ttr' => 60, - ], - - 'sqs' => [ - 'driver' => 'sqs', - 'key' => 'your-public-key', - 'secret' => 'your-secret-key', - 'prefix' => 'https://sqs.us-east-1.amazonaws.com/your-account-id', - 'queue' => 'your-queue-name', - 'region' => 'us-east-1', - ], - - 'redis' => [ - 'driver' => 'redis', - 'connection' => 'default', - 'queue' => 'default', - 'expire' => 60, - ], - - ], - - /* - |-------------------------------------------------------------------------- - | Failed Queue Jobs - |-------------------------------------------------------------------------- - | - | These options configure the behavior of failed queue job logging so you - | can control which database and table are used to store the jobs that - | have failed. You may change them to any database / table you wish. - | - */ - - 'failed' => [ - 'database' => env('DB_CONNECTION', 'mysql'), - 'table' => 'failed_jobs', - ], - -]; diff --git a/config/services.php b/config/services.php deleted file mode 100755 index 287b1186229bb603e6cee9e9738691682cdb31bb..0000000000000000000000000000000000000000 --- a/config/services.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php - -return [ - - /* - |-------------------------------------------------------------------------- - | Third Party Services - |-------------------------------------------------------------------------- - | - | This file is for storing the credentials for third party services such - | as Stripe, Mailgun, Mandrill, and others. This file provides a sane - | default location for this type of information, allowing packages - | to have a conventional place to find your various credentials. - | - */ - - 'mailgun' => [ - 'domain' => env('MAILGUN_DOMAIN'), - 'secret' => env('MAILGUN_SECRET'), - ], - - 'ses' => [ - 'key' => env('SES_KEY'), - 'secret' => env('SES_SECRET'), - 'region' => 'us-east-1', - ], - - 'sparkpost' => [ - 'secret' => env('SPARKPOST_SECRET'), - ], - - 'stripe' => [ - 'model' => App\User::class, - 'key' => env('STRIPE_KEY'), - 'secret' => env('STRIPE_SECRET'), - ], - -]; diff --git a/config/session.php b/config/session.php deleted file mode 100755 index b501055b2751de18fce03175c04717fbff4b94bf..0000000000000000000000000000000000000000 --- a/config/session.php +++ /dev/null @@ -1,166 +0,0 @@ -<?php - -return [ - - /* - |-------------------------------------------------------------------------- - | Default Session Driver - |-------------------------------------------------------------------------- - | - | This option controls the default session "driver" that will be used on - | requests. By default, we will use the lightweight native driver but - | you may specify any of the other wonderful drivers provided here. - | - | Supported: "file", "cookie", "database", "apc", - | "memcached", "redis", "array" - | - */ - - 'driver' => env('SESSION_DRIVER', 'file'), - - /* - |-------------------------------------------------------------------------- - | Session Lifetime - |-------------------------------------------------------------------------- - | - | Here you may specify the number of minutes that you wish the session - | to be allowed to remain idle before it expires. If you want them - | to immediately expire on the browser closing, set that option. - | - */ - - 'lifetime' => 120, - - 'expire_on_close' => false, - - /* - |-------------------------------------------------------------------------- - | Session Encryption - |-------------------------------------------------------------------------- - | - | This option allows you to easily specify that all of your session data - | should be encrypted before it is stored. All encryption will be run - | automatically by Laravel and you can use the Session like normal. - | - */ - - 'encrypt' => false, - - /* - |-------------------------------------------------------------------------- - | Session File Location - |-------------------------------------------------------------------------- - | - | When using the native session driver, we need a location where session - | files may be stored. A default has been set for you but a different - | location may be specified. This is only needed for file sessions. - | - */ - - 'files' => storage_path('framework/sessions'), - - /* - |-------------------------------------------------------------------------- - | Session Database Connection - |-------------------------------------------------------------------------- - | - | When using the "database" or "redis" session drivers, you may specify a - | connection that should be used to manage these sessions. This should - | correspond to a connection in your database configuration options. - | - */ - - 'connection' => null, - - /* - |-------------------------------------------------------------------------- - | Session Database Table - |-------------------------------------------------------------------------- - | - | When using the "database" session driver, you may specify the table we - | should use to manage the sessions. Of course, a sensible default is - | provided for you; however, you are free to change this as needed. - | - */ - - 'table' => 'sessions', - - /* - |-------------------------------------------------------------------------- - | Session Sweeping Lottery - |-------------------------------------------------------------------------- - | - | Some session drivers must manually sweep their storage location to get - | rid of old sessions from storage. Here are the chances that it will - | happen on a given request. By default, the odds are 2 out of 100. - | - */ - - 'lottery' => [2, 100], - - /* - |-------------------------------------------------------------------------- - | Session Cookie Name - |-------------------------------------------------------------------------- - | - | Here you may change the name of the cookie used to identify a session - | instance by ID. The name specified here will get used every time a - | new session cookie is created by the framework for every driver. - | - */ - - 'cookie' => 'laravel_session', - - /* - |-------------------------------------------------------------------------- - | Session Cookie Path - |-------------------------------------------------------------------------- - | - | The session cookie path determines the path for which the cookie will - | be regarded as available. Typically, this will be the root path of - | your application but you are free to change this when necessary. - | - */ - - 'path' => '/', - - /* - |-------------------------------------------------------------------------- - | Session Cookie Domain - |-------------------------------------------------------------------------- - | - | Here you may change the domain of the cookie used to identify a session - | in your application. This will determine which domains the cookie is - | available to in your application. A sensible default has been set. - | - */ - - 'domain' => null, - - /* - |-------------------------------------------------------------------------- - | HTTPS Only Cookies - |-------------------------------------------------------------------------- - | - | By setting this option to true, session cookies will only be sent back - | to the server if the browser has a HTTPS connection. This will keep - | the cookie from being sent to you if it can not be done securely. - | - */ - - 'secure' => false, - - /* - |-------------------------------------------------------------------------- - | HTTP Access Only - |-------------------------------------------------------------------------- - | - | Setting this value to true will prevent JavaScript from accessing the - | value of the cookie and the cookie will only be accessible through - | the HTTP protocol. You are free to modify this option if needed. - | - */ - - 'http_only' => true, - -]; diff --git a/config/view.php b/config/view.php deleted file mode 100755 index e193ab61d910e0ce50230fc4616c5f9d9c9cdc33..0000000000000000000000000000000000000000 --- a/config/view.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php - -return [ - - /* - |-------------------------------------------------------------------------- - | View Storage Paths - |-------------------------------------------------------------------------- - | - | Most templating systems load templates from disk. Here you may specify - | an array of paths that should be checked for your views. Of course - | the usual Laravel view path has already been registered for you. - | - */ - - 'paths' => [ - realpath(base_path('resources/views')), - ], - - /* - |-------------------------------------------------------------------------- - | Compiled View Path - |-------------------------------------------------------------------------- - | - | This option determines where all the compiled Blade templates will be - | stored for your application. Typically, this is within the storage - | directory. However, as usual, you are free to change this value. - | - */ - - 'compiled' => realpath(storage_path('framework/views')), - -]; diff --git a/readme.md b/readme.md index ca289c81158629480e59fcb64412a3df1893b44e..cbd21900b7e6a91cb8b2f8a6ac0b54e3145532d3 100755 --- a/readme.md +++ b/readme.md @@ -1,3 +1,4 @@ +<<<<<<< HEAD Pengerjaan Proyek 2 IF3250 Silakan gunakan Gitlab ini untuk mengerjakan Proyek 2 PPL ini. Beberapa hal yang perlu diperhatikan: @@ -5,4 +6,8 @@ Silakan gunakan Gitlab ini untuk mengerjakan Proyek 2 PPL ini. Beberapa hal yang 2. Project di push ke repositori masing-masing 3. Setelah project selesai, silakan merge request ke repositori ini -Apabila ada pertanyaan, silakan hubungi asisten. \ No newline at end of file +Apabila ada pertanyaan, silakan hubungi asisten. +======= +# sisteRIA +Parallel and Distributed Systems college assignment. +>>>>>>> 045509c9fb48e9ad58c90d267e78d87c3772b748 diff --git a/storage/logs/laravel.log b/storage/logs/laravel.log index 8986cb9ef267b2cf976b74f49209f31fb4397cdc..e3e50c61dafca021ac58e09451b4abc051027aa4 100644 --- a/storage/logs/laravel.log +++ b/storage/logs/laravel.log @@ -172,3 +172,253 @@ Stack trace: #86 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/public/index.php(54): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #87 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/server.php(21): require_once('/Applications/X...') #88 {main} +[2016-04-26 05:03:41] local.ERROR: exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Connection refused' in /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:55 +Stack trace: +#0 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(55): PDO->__construct('mysql:host=127....', 'easyk', 'easyk', Array) +#1 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=127....', Array, Array) +#2 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(61): Illuminate\Database\Connectors\MySqlConnector->connect(Array) +#3 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() +#4 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connection.php(864): call_user_func(Object(Closure)) +#5 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connection.php(732): Illuminate\Database\Connection->getPdo() +#6 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connection.php(621): Illuminate\Database\Connection->reconnectIfMissingConnection() +#7 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connection.php(342): Illuminate\Database\Connection->run('select * from `...', Array, Object(Closure)) +#8 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1495): Illuminate\Database\Connection->select('select * from `...', Array, true) +#9 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1481): Illuminate\Database\Query\Builder->runSelect() +#10 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(596): Illuminate\Database\Query\Builder->get(Array) +#11 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(303): Illuminate\Database\Eloquent\Builder->getModels(Array) +#12 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(273): Illuminate\Database\Eloquent\Builder->get(Array) +#13 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Auth/EloquentUserProvider.php(104): Illuminate\Database\Eloquent\Builder->first() +#14 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Auth/SessionGuard.php(353): Illuminate\Auth\EloquentUserProvider->retrieveByCredentials(Array) +#15 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Foundation/Auth/AuthenticatesUsers.php(74): Illuminate\Auth\SessionGuard->attempt(Array, false) +#16 [internal function]: App\Http\Controllers\Auth\AuthController->login(Object(Illuminate\Http\Request)) +#17 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(80): call_user_func_array(Array, Array) +#18 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(146): Illuminate\Routing\Controller->callAction('login', Array) +#19 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(94): Illuminate\Routing\ControllerDispatcher->call(Object(App\Http\Controllers\Auth\AuthController), Object(Illuminate\Routing\Route), 'login') +#20 [internal function]: Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#21 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#22 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/app/Http/Middleware/RedirectIfAuthenticated.php(24): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#23 [internal function]: App\Http\Middleware\RedirectIfAuthenticated->handle(Object(Illuminate\Http\Request), Object(Closure)) +#24 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#25 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#26 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#27 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#28 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#29 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(96): Illuminate\Pipeline\Pipeline->then(Object(Closure)) +#30 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(54): Illuminate\Routing\ControllerDispatcher->callWithinStack(Object(App\Http\Controllers\Auth\AuthController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'login') +#31 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Route.php(174): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'App\\Http\\Contro...', 'login') +#32 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Route.php(140): Illuminate\Routing\Route->runController(Object(Illuminate\Http\Request)) +#33 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Router.php(724): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request)) +#34 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#35 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#36 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#37 [internal function]: Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure)) +#38 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#39 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#40 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#41 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(62): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#42 [internal function]: Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure)) +#43 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#44 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#45 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#46 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#47 [internal function]: Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure)) +#48 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#49 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#50 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#51 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(59): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#52 [internal function]: Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure)) +#53 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#54 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#55 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#56 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#57 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#58 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\Pipeline\Pipeline->then(Object(Closure)) +#59 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Router.php(699): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request)) +#60 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Router.php(675): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) +#61 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(246): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) +#62 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request)) +#63 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#64 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(44): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#65 [internal function]: Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure)) +#66 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#67 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#68 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#69 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#70 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#71 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(132): Illuminate\Pipeline\Pipeline->then(Object(Closure)) +#72 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(99): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) +#73 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/public/index.php(54): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) +#74 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/server.php(21): require_once('/Applications/X...') +#75 {main} +[2016-04-26 05:04:25] local.ERROR: exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Connection refused' in /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:55 +Stack trace: +#0 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(55): PDO->__construct('mysql:host=127....', 'easyk', 'easyk', Array) +#1 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=127....', Array, Array) +#2 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(61): Illuminate\Database\Connectors\MySqlConnector->connect(Array) +#3 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() +#4 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connection.php(864): call_user_func(Object(Closure)) +#5 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connection.php(732): Illuminate\Database\Connection->getPdo() +#6 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connection.php(621): Illuminate\Database\Connection->reconnectIfMissingConnection() +#7 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connection.php(342): Illuminate\Database\Connection->run('select count(*)...', Array, Object(Closure)) +#8 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1495): Illuminate\Database\Connection->select('select count(*)...', Array, true) +#9 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1481): Illuminate\Database\Query\Builder->runSelect() +#10 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1869): Illuminate\Database\Query\Builder->get(Array) +#11 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1789): Illuminate\Database\Query\Builder->aggregate('count', Array) +#12 [internal function]: Illuminate\Database\Query\Builder->count() +#13 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1337): call_user_func_array(Array, Array) +#14 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/app/Providers/AppServiceProvider.php(20): Illuminate\Database\Eloquent\Builder->__call('count', Array) +#15 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/app/Providers/AppServiceProvider.php(20): Illuminate\Database\Eloquent\Builder->count() +#16 [internal function]: App\Providers\AppServiceProvider->App\Providers\{closure}('nik', '320501471093000...', Array, Object(Illuminate\Validation\Validator)) +#17 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(2967): call_user_func_array(Object(Closure), Array) +#18 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(3055): Illuminate\Validation\Validator->callExtension('nik_validation', Array) +#19 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(455): Illuminate\Validation\Validator->__call('validateNikVali...', Array) +#20 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(455): Illuminate\Validation\Validator->validateNikValidation('nik', '320501471093000...', Array, Object(Illuminate\Validation\Validator)) +#21 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(395): Illuminate\Validation\Validator->validate('nik', 'nikValidation') +#22 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(420): Illuminate\Validation\Validator->passes() +#23 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Foundation/Auth/RegistersUsers.php(57): Illuminate\Validation\Validator->fails() +#24 [internal function]: App\Http\Controllers\Auth\AuthController->register(Object(Illuminate\Http\Request)) +#25 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(80): call_user_func_array(Array, Array) +#26 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(146): Illuminate\Routing\Controller->callAction('register', Array) +#27 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(94): Illuminate\Routing\ControllerDispatcher->call(Object(App\Http\Controllers\Auth\AuthController), Object(Illuminate\Routing\Route), 'register') +#28 [internal function]: Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#29 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#30 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/app/Http/Middleware/RedirectIfAuthenticated.php(24): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#31 [internal function]: App\Http\Middleware\RedirectIfAuthenticated->handle(Object(Illuminate\Http\Request), Object(Closure)) +#32 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#33 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#34 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#35 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#36 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#37 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(96): Illuminate\Pipeline\Pipeline->then(Object(Closure)) +#38 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(54): Illuminate\Routing\ControllerDispatcher->callWithinStack(Object(App\Http\Controllers\Auth\AuthController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'register') +#39 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Route.php(174): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'App\\Http\\Contro...', 'register') +#40 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Route.php(140): Illuminate\Routing\Route->runController(Object(Illuminate\Http\Request)) +#41 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Router.php(724): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request)) +#42 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#43 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#44 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#45 [internal function]: Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure)) +#46 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#47 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#48 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#49 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(62): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#50 [internal function]: Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure)) +#51 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#52 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#53 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#54 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#55 [internal function]: Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure)) +#56 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#57 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#58 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#59 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(59): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#60 [internal function]: Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure)) +#61 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#62 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#63 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#64 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#65 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#66 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\Pipeline\Pipeline->then(Object(Closure)) +#67 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Router.php(699): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request)) +#68 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Router.php(675): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) +#69 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(246): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) +#70 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request)) +#71 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#72 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(44): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#73 [internal function]: Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure)) +#74 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#75 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#76 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#77 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#78 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#79 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(132): Illuminate\Pipeline\Pipeline->then(Object(Closure)) +#80 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(99): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) +#81 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/public/index.php(54): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) +#82 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/server.php(21): require_once('/Applications/X...') +#83 {main} +[2016-04-26 05:05:03] local.ERROR: exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Connection refused' in /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:55 +Stack trace: +#0 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(55): PDO->__construct('mysql:host=127....', 'easyk', 'easyk', Array) +#1 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=127....', Array, Array) +#2 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(61): Illuminate\Database\Connectors\MySqlConnector->connect(Array) +#3 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() +#4 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connection.php(864): call_user_func(Object(Closure)) +#5 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connection.php(732): Illuminate\Database\Connection->getPdo() +#6 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connection.php(621): Illuminate\Database\Connection->reconnectIfMissingConnection() +#7 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Connection.php(342): Illuminate\Database\Connection->run('select count(*)...', Array, Object(Closure)) +#8 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1495): Illuminate\Database\Connection->select('select count(*)...', Array, true) +#9 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1481): Illuminate\Database\Query\Builder->runSelect() +#10 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1869): Illuminate\Database\Query\Builder->get(Array) +#11 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1789): Illuminate\Database\Query\Builder->aggregate('count', Array) +#12 [internal function]: Illuminate\Database\Query\Builder->count() +#13 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1337): call_user_func_array(Array, Array) +#14 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/app/Providers/AppServiceProvider.php(20): Illuminate\Database\Eloquent\Builder->__call('count', Array) +#15 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/app/Providers/AppServiceProvider.php(20): Illuminate\Database\Eloquent\Builder->count() +#16 [internal function]: App\Providers\AppServiceProvider->App\Providers\{closure}('nik', '320501471093000...', Array, Object(Illuminate\Validation\Validator)) +#17 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(2967): call_user_func_array(Object(Closure), Array) +#18 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(3055): Illuminate\Validation\Validator->callExtension('nik_validation', Array) +#19 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(455): Illuminate\Validation\Validator->__call('validateNikVali...', Array) +#20 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(455): Illuminate\Validation\Validator->validateNikValidation('nik', '320501471093000...', Array, Object(Illuminate\Validation\Validator)) +#21 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(395): Illuminate\Validation\Validator->validate('nik', 'nikValidation') +#22 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Validation/Validator.php(420): Illuminate\Validation\Validator->passes() +#23 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Foundation/Auth/RegistersUsers.php(57): Illuminate\Validation\Validator->fails() +#24 [internal function]: App\Http\Controllers\Auth\AuthController->register(Object(Illuminate\Http\Request)) +#25 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(80): call_user_func_array(Array, Array) +#26 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(146): Illuminate\Routing\Controller->callAction('register', Array) +#27 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(94): Illuminate\Routing\ControllerDispatcher->call(Object(App\Http\Controllers\Auth\AuthController), Object(Illuminate\Routing\Route), 'register') +#28 [internal function]: Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#29 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#30 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/app/Http/Middleware/RedirectIfAuthenticated.php(24): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#31 [internal function]: App\Http\Middleware\RedirectIfAuthenticated->handle(Object(Illuminate\Http\Request), Object(Closure)) +#32 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#33 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#34 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#35 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#36 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#37 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(96): Illuminate\Pipeline\Pipeline->then(Object(Closure)) +#38 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(54): Illuminate\Routing\ControllerDispatcher->callWithinStack(Object(App\Http\Controllers\Auth\AuthController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'register') +#39 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Route.php(174): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'App\\Http\\Contro...', 'register') +#40 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Route.php(140): Illuminate\Routing\Route->runController(Object(Illuminate\Http\Request)) +#41 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Router.php(724): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request)) +#42 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#43 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#44 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#45 [internal function]: Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure)) +#46 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#47 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#48 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#49 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(62): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#50 [internal function]: Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure)) +#51 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#52 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#53 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#54 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#55 [internal function]: Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure)) +#56 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#57 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#58 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#59 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(59): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#60 [internal function]: Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure)) +#61 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#62 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#63 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#64 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#65 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#66 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Router.php(726): Illuminate\Pipeline\Pipeline->then(Object(Closure)) +#67 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Router.php(699): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request)) +#68 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Router.php(675): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) +#69 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(246): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) +#70 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request)) +#71 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#72 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(44): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#73 [internal function]: Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure)) +#74 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array) +#75 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request)) +#76 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#77 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request)) +#78 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): call_user_func(Object(Closure), Object(Illuminate\Http\Request)) +#79 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(132): Illuminate\Pipeline\Pipeline->then(Object(Closure)) +#80 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(99): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) +#81 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/public/index.php(54): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) +#82 /Applications/XAMPP/xamppfiles/htdocs/templatePPL2/easyk/server.php(21): require_once('/Applications/X...') +#83 {main}