frumentius

frumentius

Member Since 5 Months Ago

Experience Points 450
Experience
Level
Lessons Completed 1
Lessons
Completed
Best Reply Awards 0
Best Answer
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • Chatty Cathy Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

17 Sep
2 months ago

frumentius started a new conversation Laravel Vue Conflict With CSP (content Security Policy)

I've implemented CSP in my laravel project and it cause conflict with vue if I not allow unsafe-eval, even tough I'm not using Vue at all in my project. Anyone know why is that, and maybe a solution to make it work while still blocking unsafe-eval?

22 Jun
5 months ago

frumentius left a reply on Laravel 5.4 Error 'The Only Supported Ciphers Are AES-128-CBC And AES-256-CBC With The Correct Key Lengths.' When Deploying To Shared Hosting

@Yorki I just did what you last suggest with the kernel, then it returns nothing, only a white blank page.

@Yorki & @Snapey yup I can not put anything above htdocs because the host sepcifically says that I do not place any thing in there, because it will regularly clean/remove anything above htdocs

@rumm.an I suppose to create symlink need to have access to SSH or terminal or any kind of command line base, the hosting does not give access to that.

frumentius left a reply on Laravel 5.4 Error 'The Only Supported Ciphers Are AES-128-CBC And AES-256-CBC With The Correct Key Lengths.' When Deploying To Shared Hosting

@Yorki I just did the second option, of adding $app->useEnvironmentPath(__DIR__ . '/laravel'); in my index.php but it still the same error. And I also create a test.php in htdocs/ an it returns 'bool(false)'

frumentius left a reply on Laravel 5.4 Error 'The Only Supported Ciphers Are AES-128-CBC And AES-256-CBC With The Correct Key Lengths.' When Deploying To Shared Hosting

@Yorki I get even more confuse, sorry please bear with me. If I move .env to htdocs/ should I also move all the other folder and files in htdocs/laravel/ into htdocs/, if so then it will mix up with all the content from public folder, is it ok to do that?

frumentius left a reply on Laravel 5.4 Error 'The Only Supported Ciphers Are AES-128-CBC And AES-256-CBC With The Correct Key Lengths.' When Deploying To Shared Hosting

@Yorki as i mention above .env is placed in htdocs/laravel/ while the content of public folder that contain index.php I uploaded it in htdocs/ so where should I put this test.php file? In htdocs/laravel/ where .env file exist, or in just htdocs/ where the files from public folder uploaded?

@rumm.an unfortunately not, I only allowed to upload in htdocs folder which I assume the same with public_html folder in other hosting.

frumentius left a reply on Laravel 5.4 Error 'The Only Supported Ciphers Are AES-128-CBC And AES-256-CBC With The Correct Key Lengths.' When Deploying To Shared Hosting

hi @Snapey I just did Your last suggestion and reupload but still the same error, unfortunately that did not solve it.

frumentius left a reply on Laravel 5.4 Error 'The Only Supported Ciphers Are AES-128-CBC And AES-256-CBC With The Correct Key Lengths.' When Deploying To Shared Hosting

@snapey yup also done that, but it shows even weirder error that says "cant find path C:\wamp\www" even tough it run on the hosting not on local

@Yorki still the same error

frumentius started a new conversation Laravel 5.4 Error 'The Only Supported Ciphers Are AES-128-CBC And AES-256-CBC With The Correct Key Lengths.' When Deploying To Shared Hosting

When I deploy my laravel 5.4 project to shared hosting, I got 'Whoops there is something wrong' message, so I checked the log, and it recorded this error 'production.Error The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.'

I've been searching on the web for solution, mainly the solution is to run this three command; php artisan key:generate php artisan config:clear php artisan config:cache

but the problem is my shared hosting does not allow SSH access or terminal or any kind in order to run those commands.

Is there any workaround to solve this problem?

21 Jun
5 months ago

frumentius left a reply on How To Downgrade Bootstrap Version To 3.3.7 In Laravel 5.6?

@mvd, yup I've done that, I'd tried to change the $icon-font-path variable value from "~bootstrap-sass/assets/fonts/bootstrap/" to "../fonts/vendor/bootstrap-sass/bootstrap/" but when I run npm run dev it returns error that the path is invalid

20 Jun
5 months ago

frumentius left a reply on How To Downgrade Bootstrap Version To 3.3.7 In Laravel 5.6?

@mvd, I don't know what variable or path to change in the resources/assets/ css files, I've been messing around with the $icon-font-path: but still the URL of glyphicon in public css still missing .. (double dot).

@Nulimitz, that is basically what I wrote 4 posts above.

19 Jun
5 months ago

frumentius left a reply on How To Downgrade Bootstrap Version To 3.3.7 In Laravel 5.6?

Hi mvd, then how do you suggest to fix problem number 6?

15 Jun
5 months ago

frumentius left a reply on How To Downgrade Bootstrap Version To 3.3.7 In Laravel 5.6?

I think I solve the problem;

  1. run 'npm install [email protected]'
  2. replace 5.6 laravel /resources/assets/sass/_variable.scss file, with the one from laravel 5.4 that uses Bootstrap 3.3.7
  3. in resources/assets/sass/app.scss, in bootstrap section change import path to '~bootstrap-sass/assets/stylesheets/bootstrap'
  4. in resources/assets/js/bootstrap.js, comment code line 3 "window.Popper = require('popper.js').default;", and change line code 14 from "require('bootstrap');" to "require('bootstrap-sass');"
  5. run 'npm run dev'
  6. finally in /public/css/app.css move the '@charset "UTF-8"' code in line 2, to the very top (line 1), and add '..' at the beginning glyphicon font-face url

Please give me critics if I doing something wrong, or if you think that might be causing some problem in another (conflict), but as I test it so far it's works just fine. Anyway BIG Thanks to YOU All for the participation.

frumentius left a reply on How To Downgrade Bootstrap Version To 3.3.7 In Laravel 5.6?

Hi cronix, but isnt that redundant to have two active bootstrap in my project, I am thinking of replacing the default bootstrap which is version 4 to version 3, so that the version 4 completely gone from my project.

Is it possible to simply just copy bootstrap 3 CSS code, and paste it in the content of /public/css/app.css?

14 Jun
5 months ago

frumentius left a reply on How To Downgrade Bootstrap Version To 3.3.7 In Laravel 5.6?

I don't know about sass or less, never use both of them, what do you suggest to use, in order to achieve my goal (to use bootstrap 3.3.7 in laravel 5.6)

frumentius left a reply on How To Downgrade Bootstrap Version To 3.3.7 In Laravel 5.6?

No, before you stated "change your scss/app.scss files to change any reference to bootstrap to the 3.3.7 equivalent, it would be bootstrap-sass I believe."

So I searched for scss or sass file, but there is none, instead I found a less file, so I tried to change the path to the less file and run npm run dev but still got the same error "File to import not found or unreadable:"

frumentius left a reply on How To Downgrade Bootstrap Version To 3.3.7 In Laravel 5.6?

hi 36864, there is no sass in bootstrap 3.3.7 folder, bootstrap 3 use '.less', and I've tried changing the path in /resources/assets/sass/app.scss from @import '~bootstrap/scss/bootstrap'; to @import '~bootstrap/less/bootstrap.less'; but cmd still return the same error after rerun npm run dev

frumentius left a reply on How To Downgrade Bootstrap Version To 3.3.7 In Laravel 5.6?

hi mvd, what I mean it didn't work is because after I run the npm install and check the /public/css/app.css it didn't change to bootstrap 3, while if changing between 4.0.0 to 4.1.1 or vice versa after running npm install, the /public/css/app.css also changed accordingly. an simply testing making a view, when I refresh the browser, from the apperance you can tell it is still bootstrap 4.

frumentius left a reply on How To Downgrade Bootstrap Version To 3.3.7 In Laravel 5.6?

I've just tried 36864 answer and cmd return error File to import not found or unreadable: ~bootstrap/scss/bootstrap in C:\wamp\www\tcbs\resources\assets\sass\app.scss maybe because unlike bootstrap 4, bootstrap 3 do not have that path.

And for Resin answer, doing that is the same with what i was doing changing the package.json file an runnig npm install.

So still not solving the problem.

frumentius left a reply on How To Downgrade Bootstrap Version To 3.3.7 In Laravel 5.6?

I don't know how to rebuild the package, what I did was, I just changed the package.json file, then run npm install with cmd in my project folder.

frumentius started a new conversation How To Downgrade Bootstrap Version To 3.3.7 In Laravel 5.6?

As straightforward as the title is, I need my laravel project, twitter bootsrap to be downgraded to version 3.3.7 how to do that?

I've searched in the forum, the only answer I could found was to change the bootstrap devDependencies in package.json, but that simply did not work.

Please help. thank you.