camunha

camunha

Member Since 1 Year Ago

Experience Points 250
Experience
Level
Lessons Completed 0
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.

14 Jun
7 months ago

camunha started a new conversation Connect To SQL Server

Hi. I have a issue with connection to sql server in Laravel. I have a XAMPP server in windows 10. I have all pdo drivers. My php.info says this:

        PDO

PDO support enabled PDO drivers mysql, odbc, sqlite, sqlsrv

        pdo_mysql

PDO Driver for MySQL enabled Client API version mysqlnd 5.0.12...........

        PDO_ODBC

PDO Driver for ODBC (Win32) enabled ODBC Connection Pooling Enabled, strict matching

        pdo_sqlite

PDO Driver for SQLite 3.x enabled SQLite Library 3.15.1

        pdo_sqlsrv

pdo_sqlsrv support enabled ExtensionVer 5.2.0+10712

Directive Local Value Master Value pdo_sqlsrv.client_buffer_max_kb_size 10240 10240 pdo_sqlsrv.log_severity 0 0

But when I try to connect I get error "PDOException: could not find driver". Dsn in PDO construct is "sqlsrv:Server=127.0.0.1,1433;Database=DataBaseName".

And if I try to connect by ODBC driver I get same error.

I execute my web site in local with server generated by "php artisan serve", I haven't another server installed.

09 Jan
1 year ago

camunha left a reply on Is_dir(): Open_basedir Restriction In Effect

SOLVE!! Only go to folder bootstrap/cache and rename config.php to anything you want and reload site.

camunha started a new conversation Is_dir(): Open_basedir Restriction In Effect

I'm developing web app in windows local pc. I deployed a first time in shared server running windows and it was worked, but now I have deployed second time and return me this error:

is_dir(): open_basedir restriction in effect. File(D:\Proyectos\Miproyecto\resources\views/vendor/notifications) is not within the allowed path(s): (C:/Inetpub/vhosts//clubhuellas.com;C:\Windows\Temp)

"D:\Proyectos\Miproyecto" is local path where I'm developing.

Between two deployment I made "update composer" for install "maatwebsite/excel", maybe this action is the problem?

08 Jan
1 year ago

camunha left a reply on Set Auth Required

Thanks tykus, this works for me!!

camunha started a new conversation Set Auth Required

Hello.

In MVC .net I can set auth required or role required in action or controller with attributes like : [CustomAuthorize(Roles = "admin")] public ActionResult Editar(int id) { }

Is this possible in Laravel? How?

05 Jan
1 year ago

camunha left a reply on Laravel In Shared Server With IIS

Sorry I forgot to say. It's working fine, I had wrong database name in .env file.

Thanks mushood.

03 Jan
1 year ago

camunha left a reply on Laravel In Shared Server With IIS

Sorry, I have seen error.

SQLSTATE[HY000] [1044] Access denied for user 'username'@'%' to database 'databasename' (SQL: select * from users where email = [email protected] limit 1)

But user has permissions in database and issue continue.

camunha left a reply on Laravel In Shared Server With IIS

Clean cache doesn't works. If I put any URL doesn't works too, although login isn't necessary. Only login, register are works, but if I try to register I can't, in local iisexpres works fine.

camunha started a new conversation Laravel In Shared Server With IIS

Hello.

I' ve a problem with my laravel 5.5 site in shared server with IIS.

If I access to home page it's works fine, but when I try to login I get laravel error "Whoops, looks like something went wrong." (error 500), when I put any other route I get same error. I am new in laravel world, I've experience in .NET

I check PHP version (7.0.24), module rewrite ($_SERVER['IIS_UrlRewriteModule'] = 7.1.0761.0), module mycript for auth methods is enabled... I have created web.config from .htaccess file: This is web.config: <system.webServer> </system.webServer>

This is .htaccess: Options -MultiViews

RewriteEngine On

RewriteCond %{REQUEST_URI}:: ^(/.+)/(.*)::$
RewriteRule ^(.*) - [E=BASE:%1]

RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^index\.php(/(.*)|$) %{ENV:BASE}/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f
RewriteRule .? - [L]

RewriteRule ^ /index.php [L]

Any idea??

Thank you!!