Arturo

Arturo

Member Since 4 Years Ago

Puerto Vallarta

Web developer at Marival Group

Experience Points 47,310
Experience Level 10

2,690 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 609
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

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

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

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

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    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 Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

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

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

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

22 Dec
1 year ago
24 Nov
1 year ago

Arturo left a reply on What Is The Button On The Bottom Right Of The Laracast Site?

<meta name="description" content="Just discovered the button labeled with the PI-Symbol on the homepage of laracasts. Clicking it doesn't trigger anything. But rembering there was this...">
15 Aug
2 years ago

Arturo started a new conversation Help For Iterate JSON

Hello everyone, I have converted an xml to json and I have this result:

available:6
seats:Array[26]
0:Object
@attributes:Object
id:"A"
Lugar:Array[25]
1:Object
@attributes:Object
id:"B"
Lugar:Array[25]

I need access through the id @attributes object but I can't

any help ?

28 Jul
2 years ago

Arturo left a reply on Using Web Service And Auth?

solution?

22 May
2 years ago

Arturo started a new conversation Traslatable Pivot Table

Hi everyone,

I have an issue with this package dimsav/laravel-translatable i need to translate an attribute in to the pivot table

some advice?

04 Apr
2 years ago

Arturo left a reply on Setting Attribute On New User Registration

add to fillabe array sid

$fillable = [ 'name', 'email', 'password','sid' ];

31 Mar
2 years ago

Arturo left a reply on View Composer Problem

I need pass a variable to the view composer to load a specific behavior

Arturo started a new conversation View Composer Problem

I need to pase a colletion to a view composer from my controller

my controller

$navigationComposer = new \App\ViewComposers\NavigationComposer( $page);

     $navigationComposer->compose();

but I have this error Argument 1 passed to App\ViewComposers\NavigationComposer::compose() must be an instance of Illuminate\View\View, none given

if I delete View from the method compose I resive the object but i cant see the view

 public function compose(View $view) //<- the error
{
}

any ideas?

10 Mar
2 years ago

Arturo left a reply on Just A Few Things From My Point Of View :)

i Have the same issues

01 Mar
2 years ago

Arturo left a reply on Change Keys To Collection

Thanks, I defined other key (media) for the results, i dont know if is a good practice

$data = $pages->map(function($page) {

    $page->media = $page->files->keyBy('position');
    return $page;
});

Arturo left a reply on Change Keys To Collection

I cant see reflected the results in the array

$data = $pages->map(function($page) {

    $page->files = $page->files->keyBy('position');
    return $page;
});
dd($data->toArray());

"files" => array:2 [▼
      0 => array:10 [▼
        "id" => 71
        "page_id" => "13"
        "path" => "/frontend/media/13/residences.jpg"
        "type" => "image/jpeg"
        "status" => "1"
        "position" => "3"
        "locale" => "both"
        "updated_at" => "2017-02-28 22:28:48"
        "created_at" => "2017-02-28 22:28:23"
        "order" => null
      ]
      1 => array:10 [▼
        "id" => 73
        "page_id" => "13"
        "path" => "/frontend/media/13/logo-residences.png"
        "type" => "image/png"
        "status" => "1"
        "position" => "4"
        "locale" => "both"
        "updated_at" => "2017-02-28 22:32:14"
        "created_at" => "2017-02-28 22:32:02"
        "order" => null
      ]
    ]

28 Feb
2 years ago

Arturo left a reply on Change Keys To Collection

by te position

"position" => "3",

"position" => "4"

Arturo started a new conversation Change Keys To Collection

Hi, I have one question I try to find the method but i cant get answere.

I need to change the keys for files collection

this is my collection

$pages = \App\Page::with('files')->get()

array:2 [▼
  0 => array:17 [▼
    "id" => 13
    "parent_id" => "16"
    "category_id" => "3"
    "order" => "24"
    "updated_at" => "2017-01-26 22:16:47"
    "created_at" => null
    "menu" => "0"
    "category" => array:8 [▶]
    "files" => array:2 [▼
      0 => array:10 [▼
        "id" => 71
        "page_id" => "13"
        "path" => "/frontend/media/13/residences.jpg"
        "type" => "image/jpeg"
        "status" => "1"
        "position" => "3"
        "locale" => "both"
        "updated_at" => "2017-02-28 22:28:48"
        "created_at" => "2017-02-28 22:28:23"
        "order" => null
      ]
      1 => array:10 [▼
        "id" => 73
        "page_id" => "13"
        "path" => "/frontend/media/13/logo-residences.png"
        "type" => "image/png"
        "status" => "1"
        "position" => "4"
        "locale" => "both"
        "updated_at" => "2017-02-28 22:32:14"
        "created_at" => "2017-02-28 22:32:02"
        "order" => null
      ]
    ]
    "status" => "1"
    "locale" => "en"
  ]
  1 => array:17 [▶]
]

in the files I need to changes the keys to the position like

array:2 [▼
  0 => array:17 [▼
   
    "files" => array:2 [▼
      3 => array:10 [▼
        "id" => 71
        "page_id" => "13"
        "path" => "/frontend/media/13/residences.jpg"
        "type" => "image/jpeg"
        "status" => "1"
        "position" => "3"
        "locale" => "both"
        "updated_at" => "2017-02-28 22:28:48"
        "created_at" => "2017-02-28 22:28:23"
        "order" => null
      ]
      4 => array:10 [▼
        "id" => 73
        "page_id" => "13"
        "path" => "/frontend/media/13/logo-residences.png"
        "type" => "image/png"
        "status" => "1"
        "position" => "4"
        "locale" => "both"
        "updated_at" => "2017-02-28 22:32:14"
        "created_at" => "2017-02-28 22:32:02"
        "order" => null
      ]
   
]

any ideas?

26 Jan
2 years ago

Arturo left a reply on Some Ideas For Route Wildcard?

LOL, thanks for your opinion, I try to figure it out how handler this issue

in the routeServiceprovider

public function map()
    {
        $this->mapBackendRoutes();

        $this->mapApiRoutes();
        
        $this->mapWebRoutes();
    }

    
    protected function mapBackendRoutes()
    {
        Route::prefix('admin')
             ->middleware('auth')
             ->middleware('web')
             ->namespace($this->namespace)
             ->group(base_path('routes/backend.php'));
    }

    protected function mapWebRoutes()
    {
        Route::middleware('web')
             ->namespace($this->namespace)
             ->group(base_path('routes/web.php'));
    }

the backend routes are as ussual stuff

Route::resource('users', 'Backend\UserController',
    ['names'=>[
        'index'     =>  'backend.user.index',
        'create'    =>  'backend.user.create',
        'edit'      =>  'backend.user.edit',
        'destroy'   =>  'backend.user.destroy',
        'update'    =>  'backend.user.update',
        'store'     =>  'backend.user.store'
    ]]
);

I have handle all the uri in the routes becouse is the identifier of every page in the database, my frontend routes

Route::get('/', 'Frontend\[email protected]');
Route::get('{slug}/{slug2?}/{slug3?}/{slug4?}/{slug5?}', 'Frontend\[email protected]');

Arturo started a new conversation Some Ideas For Route Wildcard?

I have this route

Route::get('{slug}/{slug2?}/{slug3?}/{slug4?}/{slug5?}', 'Frontend\[email protected]');

and in the router I find the page by the permalink like this

PageController.php

public function __construct(Request $request, PageService $page)
    {
        $this->current = $request->path();
        $this->page = $page;
    }

    public function router()
    {
        
        $detail = $this->page->getPage($this->current =='/'?'/':'/'.$this->current);
    
         return view('frontend.pages.'.$detail->page->category->permalink)->with('detail', $detail);
    }

But i have some comflicts with the backend routes, any ideas to send al the uri with the route only for the front end

20 Jan
2 years ago

Arturo started a new conversation Artisan Error

I have this error when I install laravel:

Script php artisan optimize handling the post-update-cmd event returned with error code 255

only with php 7.0 and 7.1, with php 5 runs ok

and I try to run php artisan but nothing happens

any ideas?

05 Jan
2 years ago

Arturo left a reply on Laravel Development Environment On MAC?

I use ampps and its free

01 Dec
2 years ago

Arturo left a reply on SQLSTATE[42000]: Syntax Error Or Access Violation Isn't In GROUP BY

@Rocky you resolved your problem? I have the same issue

19 Nov
2 years ago

Arturo left a reply on Pluck Collection Keys

thanks a lot, a only ad the key 0 to display results

class ParentExtractor
{
    protected $rows;

    protected $results;

    public function __construct($rows)
    {
        $this->rows = $rows;
        $this->results = collect();
    }

    public function handle()
    {

        $this->results->push($this->rows[0]['parent_id']);

        $this->parent_id($this->rows[0]['parent']);

        return $this->results->flatten()->all();
    }

    protected function parent_id($array)
    {
        $items = collect($array);

        $this->results->push($items->pluck('parent_id'));

        $items->each(function($item) {
            if (count($item->parent)) {
                $this->parent_id($item->parent);
            }
        });
    }

}
18 Nov
2 years ago

Arturo left a reply on Pluck Collection Keys

thanks

{"id":41,"parent_id":"40","category_id":"13","order":"24","status":null,"updated_at":"2016-11-16 18:28:18","created_at":"2016-10-28 22:04:10","menu":"0","parent":[{"id":40,"parent_id":"19","category_id":"13","order":"23","status":null,"updated_at":"2016-11-16 18:28:18","created_at":"2016-10-28 22:02:12","menu":"0","parent":[{"id":19,"parent_id":"22","category_id":"13","order":"22","status":"0","updated_at":"2016-11-16 18:28:18","created_at":"2016-10-28 21:20:54","menu":"0","parent":[{"id":22,"parent_id":"0","category_id":"13","order":"21","status":null,"updated_at":"2016-11-16 18:28:18","created_at":"2016-10-28 21:30:38","menu":"0","parent":[],"title":"espa\u00f1ol promotions","slug":"spamol-promotions","short_content":"<p>espa&ntilde;ol promotions<\/p>\r\n","content":"<p>espa&ntilde;ol promotions<\/p>\r\n"}],"title":"promo","slug":"promo","short_content":"<p>promo<\/p>\r\n","content":"<p>gdf gdf gdf gdf<\/p>\r\n"}],"title":"promo espa\u00f1ol","slug":"promo espa\u00f1ol","short_content":"<p>promo espa&ntilde;ol<\/p>\r\n","content":null}],"title":"con detail id","slug":"con detail id","short_content":"<p>con detail id<\/p>\r\n","content":"<p>detail<\/p>\r\n"}

Arturo left a reply on Pluck Collection Keys

hi @Ricardo, thnks but I had a only one iteration in the collection not in deep

if a put a "depth" argument i have a funky results

array:25 [
  0 => 41
  1 => "40"
  2 => "13"
  3 => "24"
  4 => null
  5 => "2016-11-16 18:28:18"
  6 => "2016-10-28 22:04:10"
  7 => "0"
  8 => 40
  9 => "19"
  10 => "13"
  11 => "23"
  12 => null
  13 => "2016-11-16 18:28:18"
  14 => "2016-10-28 22:02:12"
  15 => "0"
  16 => array:13 [
    "id" => 19
    "parent_id" => "22"
    "category_id" => "13"
    "order" => "22"
    "status" => "0"
    "updated_at" => "2016-11-16 18:28:18"
    "created_at" => "2016-10-28 21:20:54"
    "menu" => "0"
    "parent" => array:1 [
      0 => array:13 [
        "id" => 22
        "parent_id" => "0"
        "category_id" => "13"
        "order" => "21"
        "status" => null
        "updated_at" => "2016-11-16 18:28:18"
        "created_at" => "2016-10-28 21:30:38"
        "menu" => "0"
        "parent" => []
        "title" => "español promotions"
        "slug" => "spamol-promotions"
        "short_content" => "<p>espa&ntilde;ol promotions</p>\r\n"
        "content" => "<p>espa&ntilde;ol promotions</p>\r\n"
      ]
    ]
    "title" => "promo"
    "slug" => "promo"
    "short_content" => "<p>promo</p>\r\n"
    "content" => "<p>gdf gdf gdf gdf</p>\r\n"
  ]
  17 => "promo español"
  18 => "promo español"
  19 => "<p>promo espa&ntilde;ol</p>\r\n"
  20 => null
  21 => "con detail id"
  22 => "con detail id"
  23 => "<p>con detail id</p>\r\n"
  24 => "<p>detail</p>\r\n"
]

other idea?

Arturo started a new conversation Pluck Collection Keys

Hi everyone I have a nested collection but I can't figure out how pluck or collect the parent key

this is my collection

Collection {#426
  #items: array:13 [
    "id" => 41
    "parent_id" => "40"
    "category_id" => "13"
    "order" => "24"
    "status" => null
    "updated_at" => "2016-11-16 18:28:18"
    "created_at" => "2016-10-28 22:04:10"
    "menu" => "0"
    "parent" => array:1 [
      0 => array:13 [
        "id" => 40
        "parent_id" => "19"
        "category_id" => "13"
        "order" => "23"
        "status" => null
        "updated_at" => "2016-11-16 18:28:18"
        "created_at" => "2016-10-28 22:02:12"
        "menu" => "0"
        "parent" => array:1 [
          0 => array:13 [
            "id" => 19
            "parent_id" => "22"
            "category_id" => "13"
            "order" => "22"
            "status" => "0"
            "updated_at" => "2016-11-16 18:28:18"
            "created_at" => "2016-10-28 21:20:54"
            "menu" => "0"
            "parent" => array:1 [
              0 => array:13 [
                "id" => 22
                "parent_id" => "0"
                "category_id" => "13"
                "order" => "21"
                "status" => null
                "updated_at" => "2016-11-16 18:28:18"
                "created_at" => "2016-10-28 21:30:38"
                "menu" => "0"
                "parent" => []
                "title" => "español promotions"
                "slug" => "spamol-promotions"
                "short_content" => "<p>español promotions</p>\r\n"
                "content" => "<p>español promotions</p>\r\n"
              ]
            ]
            "title" => "promo"
            "slug" => "promo"
            "short_content" => "<p>promo</p>\r\n"
            "content" => "<p>gdf gdf gdf gdf</p>\r\n"
          ]
        ]
        "title" => "promo español"
        "slug" => "promo español"
        "short_content" => "<p>promo español</p>\r\n"
        "content" => null
      ]
    ]
    "title" => "con detail id"
    "slug" => "con detail id"
    "short_content" => "<p>con detail id</p>\r\n"
    "content" => "<p>detail</p>\r\n"
  ]
}

any ideas

Thanls

15 Nov
2 years ago

Arturo left a reply on Laracasts Refresh

@JeffreyWay one observation, in the listing in the forum, it's possible to implement the visited behavior, because i'm losing reading again the post was i visited

saludos

27 Oct
2 years ago

Arturo started a new conversation Update Polymorphic Relationship

hi I have this method to update the polymorphic relationship but i cant get it work

public function seoStore(Request $request)
{
$file = $this->file->find($request->file_id);

$seos = $file->seo;

            foreach($seos as $seo)
            {
        $seo->update(([
                'title'         => $request->seo['es']['title'], 
                'description'   => $request->seo['es']['description'], 
                'keywords'      => $request->seo['es']['locale']]));
                
            }
}

but I cant figure it out how complete the update

Some help please

19 Oct
2 years ago

Arturo started a new conversation Spatie Medialibrary And Video Url

Hi, I was reviewing the spatie Laravel Medialibrary, I wonder now if I could work with video urls? like youtube and vimeo to, only to retrive the urls saved or the id from the videos

Thanks

18 Oct
2 years ago

Arturo left a reply on Input Value(old()) Problem

sorry, Im newbie, I need add the contruct method on the model or in the repository?,

Arturo left a reply on Refactoring Repository

Thanks!!

17 Oct
2 years ago

Arturo started a new conversation Refactoring Repository

Hi everyone How I could refactor this methods

public function getList()
    {

        return $this->page
        ->with('details')
        ->with('category')
        ->orderBy('order')
        ->get();

        
    }

    public function getListByCategory($category)
    {
        return $this->page
        ->with('details')
        ->with('category')
        ->whereHas('category' , function($query) use ($category){
            
    
                $query->where('permalink', $category);
            
        })
        ->orderBy('order')
        ->get();
    }

thanks

14 Oct
2 years ago

Arturo left a reply on Input Value(old()) Problem

public function __construct(Page $page, Detail $detail)
    {
        $this->page = $page;
        $this->detail = $detail;
    }
     public function newDetail()
    {
        return new $this->detail;
    }

Arturo left a reply on Input Value(old()) Problem

ok, thanks seo its a relation how i can send an empty object?

Detail {#359 ▼
  #table: "contents"
  #fillable: array:7 [▼
    0 => "title"
    1 => "short_title"
    2 => "slug"
    3 => "short_content"
    4 => "locale"
    5 => "status"
    6 => "redirect_301"
  ]

Arturo started a new conversation Input Value(old()) Problem

Hi every one, I have a problem in the create method

  public function create($permalink)
    {
        return view('backend.forms.page.createForm',
                [
                'page' => $this->page->newPage(),
                'detail' => $this->page->newDetail()
                ]);
    }

but in the form I have this input

 <input class="form-control" placeholder="Meta titulo" 
                    name="seo[title]" type="text" 
                        value="{{ old('seo.title', $detail->seo->title) }}" id="meta_title">

where i have this error Trying to get property of non-object

Any help?

06 Oct
2 years ago

Arturo left a reply on Where Put This Kind Of Logic

ok, put the categoriesMenu method on the composer class or call from other class?

Arturo started a new conversation Where Put This Kind Of Logic

Hi, I'm traying to estructure my app to best possible I have a categorie repository, but I need to add selected atribute to the collection where put this kind of login ? in the same repository? maybe I need create a presenter class?

public function categoriesMenu($permalink){
        $category = $this->categorie->idByName($permalink);
        $categories = $this->categorie->all();
        return $categories->map(function ($categorie) use ($category) {

                if($categorie->id == $category->id)
                {
                    $categorie['selected'] = true;
                }else{
                    $categorie['selected'] = false;
                }
                return $categorie;
            });
    }

some help?

26 Sep
2 years ago

Arturo left a reply on Laravel-traslatable From Repository

Doo! thanks a lot

this is the correct function

public function update_settings($request, $id)
    {


        $category = $this->find($id);

        $category->status = $request->status;
        $category->icon = $request->icon;
        $category->permalink = $request->permalink;
       

        foreach($request->lang as $code => $attr)
        {
            $category->translate($code)->name = $attr['name'];
            
        }

         return $category->save();
        

    }

Thanks

Arturo left a reply on Laravel-traslatable From Repository

Yes, i have te trait i my model


namespace App;

use Dimsav\Translatable\Translatable;
use Illuminate\Database\Eloquent\Model;

class Category extends Model
{

    use Translatable;
    protected $table = 'categories';

    public $translationModel = CategoryTranslation::class;
    public $translatedAttributes = ['name'];
}
24 Sep
2 years ago

Arturo started a new conversation Laravel-traslatable From Repository

Hi everybody,

I using the laravel-traslatable package,

my question is how use the save methods from the repository class example I have this class

class CategoryRepository
{
    
    protected $category;

    
    public function __construct(Category $category)
    {
        $this->category = $category;
    }

    public function find($id)
    {
        return $this->category->findOrFail($id);
    }

    public function update_settings($request, $id)
    {


        $category = $this->find($id);

        $category->status = $request->status;
            $category->icon = $request->icon;
            $category->permalink = $request->permalink;
       

        foreach($request->lang as $code => $attr)
        {
            $category->transalate($code)->name($attr['name']);
            
        }

         return $category->save();
        

    }

and i have this error

Call to undefined method Illuminate\Database\Query\Builder::transalate()

10 Sep
3 years ago
09 Sep
3 years ago

Arturo left a reply on Change Eloquent Model Relationship Key

I have the same doubt

18 Apr
3 years ago

Arturo left a reply on Define Ajax Route

you need to call the route "/mycontroller/getgeocodes"

29 Dec
3 years ago

Arturo left a reply on Change PublicPath()

I changed the structure like this, I find a tutorial to install laravel on hostgator

CpanelUsername/
    .composer/
    access-logs/
    etc/
    laravel/
        app/
        bootstrap/
        public/
        ...
    perl5/
    public_html/
        packages/
        .htaccess
        favicon.ico
        index.php
        robots.txt
    tmp/
    www/
    .bash_history
    .bashrc        
    .bash_profile 
    composer.phar

everything works fine, I moved the public_html/index.php routes to find the laravel folder and everything is good but i have a class to save images and the publicPath() is pointing to the old route

Arturo left a reply on Change PublicPath()

for reasons of the hosting moved the public folder to the public_html and the app structure to the root of the server

Arturo started a new conversation Change PublicPath()

Hi, how could override the publicPath() function? I changed the folder name for the public folder

Thanks

28 Dec
3 years ago

Arturo left a reply on SEO Benefits On External Links And Relative Links

he told me that some SEO tools show the percent of external links and if more than internal they penalize you, maybe to think to is a farm link page

Arturo started a new conversation SEO Benefits On External Links And Relative Links

I have a discussion with a SEO when he told me that the links with the full domain is bad for the SEO page because some robots take this link like external links for example the full path for style files and javascript files.

This is correct?

With html facade is posible to change the route for relative paths?

07 Dec
3 years ago

Arturo left a reply on Simple Ajax Call

I think var brand_id = this.value; for var brand_id = $(this).val();

20 Nov
3 years ago

Arturo started a new conversation Create Option With Jquery

I have this 'for' in jquery for create options dinamically but the active variable doesn't work in the prop attribute, any ideas to assign the var into .prop() attribute?

for (var o = 1, len = config.maxadults; o < len; o++) {
     var active =  (o == 1) ? "'selected', true" : "'selected', false";
     alert(active);
     var options = $('<option/>')
            .prop(active)
            .text(o);
     options.appendTo(select);
}
21 Jul
4 years ago

Arturo left a reply on Problem With Hostgator And Laravel 5.1

We have no value on API Extensions, We will contact hostgator suport

Thanks

20 Jul
4 years ago

Arturo started a new conversation Problem With Hostgator And Laravel 5.1

In my work have a Server with hostgator, we update to php 5.5.27 to upload the new application but show this error Fatal error: Class 'PDO' not found in /home/.../public_html/.../config/database.php on line 16

Some ideas?

18 May
4 years ago