halilyc adlı üyeden alıntı: mesajı görüntüle
@ztk; teşekkürler hocam süpersin, peki veritabanında count değerinin işleneceği bir tablo oluşturmama gerek var mı yoksa kendisi mi çözüyor bu meseleyi ?
"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'yucetasarim.kryptonit3_counter_page' doesn't exist (SQL: select * from `kryptonit3_counter_page` where (`page` = 83d2bf80-e87f-5262-a71e-7bdb31a971bb) limit 1) (View: C:\xampp\htdocs\yuce\resources\views\home\featured .blade.php) (View: C:\xampp\htdocs\yuce\resources\views\home\featured .blade.php) ◀"
Herşeyi yaptım şu hatayı aldım, çünkü veritabanında bu tablo yok; "php artisan migrate" komutunu yazdıktan sonra "Nothing to migrate." diye birşey yazdı, zannımca bunla alakalı.
> C:\composer\composer.bat require kryptonit3/counter:5.2.* ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 2 installs, 0 updates, 0 removals - Installing jaybizzle/crawler-detect (v1.2.54): Downloading (connecting...) Downloading (5%) Downloading (100%) - Installing kryptonit3/counter (5.2.8): Downloading (connecting...) Downloading (100%) Writing lock file Generating optimized autoload files > Illuminate\Foundation\ComposerScripts::postAutoloa dDump > @php artisan package:discover Discovered Package: fideloper/proxy Discovered Package: laravel/tinker Discovered Package: larapack/voyager-hooks Discovered Package: arrilot/laravel-widgets Discovered Package: intervention/image Discovered Package: tcg/voyager Discovered Package: kryptonit3/counter Package manifest generated successfully. Process finished with exit code 0 at 15:40:51. Execution time: 128,420 ms. > C:\xampp\php\php.exe artisan vendor:publish --provider=\"Kryptonit3\Counter\CounterServiceProvid er\" --tag=\"migrations\" Publishing complete. Process finished with exit code 0 at 15:46:24. Execution time: 387 ms. > C:\xampp\php\php.exe artisan migrate Nothing to migrate. Process finished with exit code 0 at 15:46:34. Execution time: 392 ms.
php artisan vendor:publish --provider="Kryptonit3\Counter\CounterServiceProvide r" --tag="migrations"

bu komutu çalıştırmalısın.
ardından
php artisan migrate
dediğinde aynı hatayı almazsın.