laravel-5

Laravel Cartalyst/Stripe Method Not Found

随声附和 提交于 2021-02-11 07:10:53
问题 I am trying to use Cartalyst/Stripe (https://cartalyst.com/manual/stripe/2.0) in my Laravel application but I the method's aren't being found (for a lack of a better word). Here is my controller: namespace App\Http\Controllers; use Illuminate\Support\Facades\DB; use Illuminate\Http\Request; use Cartalyst\Stripe\Stripe; class AdminController extends Controller { public function __construct() { $this->middleware('auth'); } public function create_user(Request $request) { $stripe = Stripe::make(

Getting error while migrating laravel 7 to 8

爷,独闯天下 提交于 2021-02-11 06:30:51
问题 I am using library upeg/sybase 2.1 . when I am upgrading laravel 8 , i am getting below error. How can I resolve this error? Getting error while applyig command composer update composer.json "require": { "php": "^7.3.0", "ext-curl": "*", "ext-json": "*", "abram/laravel-odbc": "dev-master", "agomez/laravel-odbc-driver": "^1.0", "alipek/rtf2html": "dev-master", "doctrine/dbal": "^2.10", "fideloper/proxy": "^4.2", "google/recaptcha": "^1.2", "guzzlehttp/guzzle": "^7.0", "laravel/framework": "^8

How to make sql join query in laravel 5?

不打扰是莪最后的温柔 提交于 2021-02-10 22:31:34
问题 Hi I want to get data from database, I am using join query but I have got this error: QueryException in Connection.php line 673: SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'surat_masuk' (SQL: select jenis_surat . jenis_surat , surat_masuk . nomor_surat , surat_masuk . perihal , surat_masuk . tanggal_publish from surat_masuk inner join jenis_surat on id_jenis_surat = jenis_surat . id_jenis_surat inner join surat_masuk on id_jenis_surat = surat_masuk . id

How to make sql join query in laravel 5?

泄露秘密 提交于 2021-02-10 22:31:20
问题 Hi I want to get data from database, I am using join query but I have got this error: QueryException in Connection.php line 673: SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'surat_masuk' (SQL: select jenis_surat . jenis_surat , surat_masuk . nomor_surat , surat_masuk . perihal , surat_masuk . tanggal_publish from surat_masuk inner join jenis_surat on id_jenis_surat = jenis_surat . id_jenis_surat inner join surat_masuk on id_jenis_surat = surat_masuk . id

How to make sql join query in laravel 5?

爱⌒轻易说出口 提交于 2021-02-10 22:30:22
问题 Hi I want to get data from database, I am using join query but I have got this error: QueryException in Connection.php line 673: SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'surat_masuk' (SQL: select jenis_surat . jenis_surat , surat_masuk . nomor_surat , surat_masuk . perihal , surat_masuk . tanggal_publish from surat_masuk inner join jenis_surat on id_jenis_surat = jenis_surat . id_jenis_surat inner join surat_masuk on id_jenis_surat = surat_masuk . id

How to make sql join query in laravel 5?

扶醉桌前 提交于 2021-02-10 22:30:12
问题 Hi I want to get data from database, I am using join query but I have got this error: QueryException in Connection.php line 673: SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'surat_masuk' (SQL: select jenis_surat . jenis_surat , surat_masuk . nomor_surat , surat_masuk . perihal , surat_masuk . tanggal_publish from surat_masuk inner join jenis_surat on id_jenis_surat = jenis_surat . id_jenis_surat inner join surat_masuk on id_jenis_surat = surat_masuk . id

How to make sql join query in laravel 5?

痴心易碎 提交于 2021-02-10 22:29:16
问题 Hi I want to get data from database, I am using join query but I have got this error: QueryException in Connection.php line 673: SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'surat_masuk' (SQL: select jenis_surat . jenis_surat , surat_masuk . nomor_surat , surat_masuk . perihal , surat_masuk . tanggal_publish from surat_masuk inner join jenis_surat on id_jenis_surat = jenis_surat . id_jenis_surat inner join surat_masuk on id_jenis_surat = surat_masuk . id

How to Actually change PHP Version that used by composer?

心不动则不痛 提交于 2021-02-10 15:29:09
问题 I'm quite new to this composer and laravel stuff, and I'm using XAMPP in Windows 10 .. so, sorry if I missed something. At first I Install my composer on my windows, and I'm using PHP V.5.6 as default php engine on my composer, for starter i could develop my laravel project normally, atleast until Laravel V.5.4 .. but now i have install other XAMPP with PHP V.7.1 ("in Partition") and when I try to developing Laravel V.5.5 app, I couldn't develop my new Laravel App freely, because my composer

Laravel5.8 Pusher not working. Cannot receive

蓝咒 提交于 2021-02-10 14:21:51
问题 I am creating realtime chat app. I have set up pusher in my laravel and vue.js project. But it doesn't work. Though I don't have any error in the console. Also, I have no error in network tab. I need to create messenger app, so I need a realtime chat function. Now, I can push user's comment but in the other user's window, nothing shows up. But it does, once I refresh the page. I think my pusher setting has something wrong, because in the pusher debug console, any session is not executed. Here

Composer update ended up saying Trait 'Carbon\Traits\Mixin' not found

眉间皱痕 提交于 2021-02-10 14:14:31
问题 I installed a new XAMPP with a higher version of PHP (7.2.21) on my windows machine and moved my Laravel project there. When I ran composer update in my project root everything went well but at the end it gave the following: Generating optimized autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover --ansi In Macro.php line 33: Trait 'Carbon\Traits\Mixin' not found PHP Fatal error: Trait 'Carbon\Traits\Mixin' not found in D:\xampp\htdocs