laravel-4

    0熱度

    1回答

    Storage::disk('local')->files(); Storage::disk('local')->lastModified(); 我希望在同一行上同時存在兩件事情。你能告訴我該怎麼做嗎?

    1熱度

    1回答

    我是Heroku的新手,我知道很多類似的問題已經在stackoverflow上詢問過,但我找不到適用於我的任何解決方案。 嘗試部署我laravel 4.2的應用程序時,我得到了以下問題: remote: > php artisan clear-compiled remote: Mcrypt PHP extension required. remote: Script php artisa

    0熱度

    1回答

    我剛發現如果我在Mail:Queue()上傳遞了不存在的電子郵件地址,我的Laravel 4腳本不起作用。該電子郵件地址具有有效格式,即名稱後面的「@」符號,「@」後面的域。樣本將是「[email protected]」。即使「notexistemail.com」根本不存在,格式也是有效的。 下面的代碼片段: $email_data = array('color' => 'Red'); $ema

    0熱度

    1回答

    我使用PostgreSQL 9 我運行一個查詢爲Base64解碼值並打印其結果: SELECT convert_from(decode(CONCAT('aWFuY3VkYXRlc3QrMTAwQGdtYWlsLmNvbQ','=='),'base64'),'utf-8'); 但是,當我運行相同的查詢過表,我得到的錯誤: 我查詢的版本1: SELECT t.data,convert_from(d

    0熱度

    2回答

    我有一種表單,用戶可以在數據庫列中提交和更新先前存儲的數據。只是簡單的輸入字段,可以帶字符串。 我想要讓用戶在一天或一小時後回來並在表單上提交新值以將其保存在列中,並用前一個逗號分隔。 這是形式 {{ Form::open() }} {{ Form::text('value', '', ['class' => 'form-control', 'id' => 'value', 'aut

    0熱度

    2回答

    概括地說,我試圖做一個以上的條件加入。我們使用的是舊版Laravel 4,我已經跟蹤它的實際類是Illuminate\Database\Query\Builder。下面是我加入: ->leftJoin('node_fields AS visible_for_categories', function($join){ $join->on('nv2.id', '=', 'visible_fo

    0熱度

    1回答

    我有這個問題,我的應用程序 SQLSTATE [HY000] [2002]無法通過 套接字連接到本地MySQL服務器「/ var/run中/ mysqld的/mysqld.sock'(2) 我使用2個泊塢窗集裝箱主辦我laravel 4.2(我認爲:從這個build 這裏O)是我的搬運工,compose.yml web: image: shincoder/homestead:php5.6 re

    0熱度

    1回答

    我試圖在數字海洋上旋轉我的舊L4站點。克隆的一切後,我試圖運行: 須藤作曲家更新 Do not run Composer as root/super user! See https://getcomposer.org/root for details Loading composer repositories with package information Updating dependen

    7熱度

    2回答

    我一直得到 403禁止的nginx/1.11.9 我已經運行:sudo composer update 我想我建立正確的權限。 -rwxrwxrwx 1 root root 149 Feb 24 03:45 .gitignore -rwxrwxrwx 1 root root 12 Feb 24 03:45 .gitattributes -rwxrwxrwx 1 root root 146 F

    2熱度

    2回答

    使用我的代碼能夠正常工作,但現在有一個錯誤 (ErrorException(E_NOTICE)未定義指數:密碼) 我真的不知道爲什麼,所以如果你知道請幫助我。我搜索谷歌類似的異常,並嘗試我看到的一切,但仍然沒有成功...這裏是我的代碼 route.php Route::resource('login', 'LoginController'); 的LoginController public