alex_giacholari

Hire Me

Experience

58,070

0 Best Reply Awards

  • Member Since 1 Year Ago
  • 568 Lessons Completed
  • 1 Favorite

17th January, 2018

alex_giacholari left a reply on Composer Install Fails • 5 hours ago

Not sure about that. Randomly guessing now, but do you think the fact that I am using a view composer to retrieve some data in all of my pages causes this error somehow?

15th January, 2018

alex_giacholari left a reply on Composer Install Fails • 2 days ago

yes

alex_giacholari started a new conversation Composer Install Fails • 2 days ago

This is the error: SQLSTATE[08006] [7] could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432?

Any ideas?

10th January, 2018

alex_giacholari left a reply on CircleCI • 1 week ago

That's great thanks. If I need to use phpunit I would just need to replace codecept and that would be it right?

alex_giacholari started a new conversation CircleCI • 1 week ago

Can someone demo a circleci configuration file? Generally how do you setup a project on circleci and what do you need to add on the laravel end?

5th January, 2018

alex_giacholari left a reply on Shopping Cart With VueJS • 1 week ago

Create a component called Cart and a component representing an individual product. In addition to that create also a products list component which is responsible for rendering all the individual products. Here you could pass form the backend the products variable as a property to the product-list component. Then each time a user clicks the add button on the product itself emit an event so that the Cart can pick up on that event and update itself by pushing the product to the array.

13th December, 2017

alex_giacholari left a reply on Review Site • 1 month ago

fdafdsfsdf

12th December, 2017

alex_giacholari started a new conversation Let's Build A Forum With Laravel • 1 month ago

Hi all. I have been watching the Let's build a forum with laravel series and I decided to build a similar web app on my own. It would be amazing if you guys could give me some feedback about the site, the overall look and the code itself. Thank you. The repository of the app can be found here : https://github.com/RomarioGiacholari/forum The link tothe site : http://www.discusslab.com/

alex_giacholari left a reply on Manifest.json • 1 month ago

alex_giacholari left a reply on Manifest.json • 1 month ago

Your solution worked and thank's for replying. I found another alternative as well. I placed the manifest.json file directly into the public directory and I referenced it in the master layout file like this

11th December, 2017

alex_giacholari started a new conversation Manifest.json • 1 month ago

Where shall I place the manifest.json file and how should I call it from the app.blade.php file?

10th December, 2017

alex_giacholari left a reply on Laravel Requires Zip • 1 month ago

Can you paste the error?

14th August, 2017

alex_giacholari started a new conversation React Node Server Problem • 5 months ago

I get this error when I do npm start

"scripts": { "start": "webpack-dev-server --hot" },

[email protected] start C:\Users\alex\desktop\Code\react-lessons\reactApp webpack-dev-server --hot

C:\Users\alex\desktop\Code\react-lessons\reactApp\webpack.config.js:6 filename: 'index.js', ^^^^^^^^ SyntaxError: Unexpected identifier at createScript (vm.js:56:10) at Object.runInThisContext (vm.js:97:10) at Module._compile (module.js:542:28) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at requireConfig (C:\Users\alex\Desktop\Code\react-lessons\reactApp\node_modules\webpack\bin\convert-argv.js:97:18) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] start: webpack-dev-server --hot npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\alex\AppData\Roaming\npm-cache_logs\2017-08-14T14_50_33_783Z-debug.log

13th June, 2017

alex_giacholari left a reply on Vendor Folder Missing • 7 months ago

I actually solved the problem by enabling an extension on php.ini and running composer install.

alex_giacholari started a new conversation Vendor Folder Missing • 7 months ago

I just downloaded a laravel project from github and I cannot run php artisan serve as I get the following error:

PHP Warning: require(C:\Users\alex\Desktop\csweb\bootstrap/../vendor/autoload.php): failed to open stream: No such fi le or directory in C:\Users\alex\Desktop\csweb\bootstrap\autoload.php on line 17

Warning: require(C:\Users\alex\Desktop\csweb\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\Users\alex\Desktop\csweb\bootstrap\autoload.php on line 17 PHP Fatal error: require(): Failed opening required 'C:\Users\alex\Desktop\csweb\bootstrap/../vendor/autoload.php' (i nclude_path='C:\xampp\php\PEAR') in C:\Users\alex\Desktop\csweb\bootstrap\autoload.php on line 17

Fatal error: require(): Failed opening required 'C:\Users\alex\Desktop\csweb\bootstrap/../vendor/autoload.php' (includ e_path='C:\xampp\php\PEAR') in C:\Users\alex\Desktop\csweb\bootstrap\autoload.php on line 17

9th June, 2017

alex_giacholari started a new conversation CSRF Token • 7 months ago

Can I place the window.Laravel = {"csrfToken":"hgi1zSEXIuXFUcaasblQWKsJr5xDGJFowhCRaETl"}; at the bottom of the page? At the moment this line is within the head tag.

4th May, 2017

alex_giacholari started a new conversation Review Site • 8 months ago

What do you guys think of the website ==> www.discusslab.com This is my second website this year. It has been 8 months now that I am a member at laracasts and I cannot thank enough Jeffrey for his help. Progress progress ...

19th January, 2017

alex_giacholari left a reply on This Method Will Return Any Result Only If I Exactly Type The Title, Location Or Text. • 11 months ago

where shall I exactly implement that?

alex_giacholari left a reply on This Method Will Return Any Result Only If I Exactly Type The Title, Location Or Text. • 11 months ago

Yeah it seems like I still have the same problem, thanks though.

alex_giacholari left a reply on This Method Will Return Any Result Only If I Exactly Type The Title, Location Or Text. • 11 months ago

I want to type lakeside and return all models where location is Lakeside. However it will not do so, I need to be explicit and type Lakeside on the search box.

alex_giacholari started a new conversation This Method Will Return Any Result Only If I Exactly Type The Title, Location Or Text. • 11 months ago

public function search(Article $articles ,Request $request) {

    $search = $request->q;

        
     $articles = Article::with('photo')->where("location", 'LIKE', "%$search%")->orderBy('views', 'desc')->paginate(9);

       if(count($articles) == 0){

          $articles = Article::with('photo')->where('title', 'LIKE', "%$search%")->orderBy('views', 'desc')->paginate(9);
              
              if(count($articles) == 0){

                 $articles = Article::with('photo')->where('body', 'LIKE', "%$search%")->orderBy('views', 'desc')->paginate(9);
                    
                    if(count($articles) == 0){
                        \Session::flash('flash_message','No results');
                        return back();
                    }
                    
              } 

              
        }

      return view('articles.search', compact('articles'));
    }

9th January, 2017

alex_giacholari started a new conversation I Would Appreciate It If Someone Went Through My Repo On Github. • 1 year ago

This is my repo https://github.com/RomarioGiacholari/astoonroom. You do not have to go through all of that code, what I would appreciate is if someone told me if there are any urgent things I need to fix in terms of security and generally good practices.

4th January, 2017

alex_giacholari left a reply on Cannot Upload Image On Amazon S3 • 1 year ago

Solved the problem. I needed to add env variables on Heroku.

alex_giacholari left a reply on Cannot Upload Image On Amazon S3 • 1 year ago

Locally everything works fine on the remote server though I get this error: CredentialsException in InstanceProfileProvider.php line 79: Error retrieving credentials from the instance profile metadata server. (cURL error 28: Connection timed out after 1000 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html))

alex_giacholari left a reply on Cannot Upload Image On Amazon S3 • 1 year ago

Solved it locally check here : http://stackoverflow.com/questions/11910697/amazon-s3-on-wamp-localhost-ssl-error

However on production (heroku) dropzone will notify me that the upload was successfull but it wont upload it on S3. Any help appreciated.

alex_giacholari left a reply on Cannot Upload Image On Amazon S3 • 1 year ago

Even when I set the http verify to false, still it will not upload anything to my bucket.

alex_giacholari left a reply on Cannot Upload Image On Amazon S3 • 1 year ago

It would be great if Jeffery dedicated a video about AWS.

alex_giacholari left a reply on Cannot Upload Image On Amazon S3 • 1 year ago

And what about online on Heroku it makes the POST but it does not upload it to S3. In addition to that it does not return an error message.

alex_giacholari started a new conversation Cannot Upload Image On Amazon S3 • 1 year ago

I get this response when I try to upload an image from my local machine: AWS HTTP error: cURL error 60: SSL certificate problem: unable to get local issuer certificate

3rd January, 2017

alex_giacholari left a reply on .env File Not Hidden From Github. • 1 year ago

solved it just now sorry for the inconvenience. Check here: http://stackoverflow.com/questions/30696930/how-to-hide-env-file-from-github

alex_giacholari started a new conversation .env File Not Hidden From Github. • 1 year ago

I have included the .env file on the gitignore file but still the .env file is visible on Github.

30th December, 2016

alex_giacholari left a reply on Amazon S3 • 1 year ago

use Aws\S3\S3Client; use League\Flysystem\AwsS3v3\AwsS3Adapter; use League\Flysystem\Filesystem;

include DIR . '/vendor/autoload.php';

$client = new S3Client([ 'credentials' => [ 'key' => 'your-key', 'secret' => 'your-secret' ], 'region' => 'your-region', 'version' => 'latest|version', ]);

$adapter = new AwsS3Adapter($client, 'your-bucket-name'); $filesystem = new Filesystem($adapter);

alex_giacholari started a new conversation Amazon S3 • 1 year ago

Where shall I put the following code:

12th December, 2016

alex_giacholari left a reply on Error When Deploying To Heroku W. SQLite • 1 year ago

And this is my error message: QueryException in Connection.php line 769: could not find driver (SQL: select count(*) as aggregate from "articles")

alex_giacholari left a reply on Error When Deploying To Heroku W. SQLite • 1 year ago

I did add that on the composer.json and I still get the same error message.. Any ideas? Here is the env file

DB_CONNECTION=sqlite DB_DATABASE=database/database.sqlite

alex_giacholari left a reply on Database Connection Problem Heroku • 1 year ago

in Connector.php line 119 at PDO->__construct('sqlite:/app/database/database.sqlite', null, null, array('0', '2', '0', false, false)) in Connector.php line 119 at Connector->createPdoConnection('sqlite:/app/database/database.sqlite', null, null, array('0', '2', '0', false, false)) in Connector.php line 56 at Connector->createConnection('sqlite:/app/database/database.sqlite', array('driver' => 'sqlite', 'database' => '/app/database/database.sqlite', 'prefix' => '', 'name' => 'sqlite'), array('0', '2', '0', false, false)) in SQLiteConnector.php line 37 at SQLiteConnector->connect(array('driver' => 'sqlite', 'database' => '/app/database/database.sqlite', 'prefix' => '', 'name' => 'sqlite')) in ConnectionFactory.php line 100

alex_giacholari left a reply on Database Connection Problem Heroku • 1 year ago

I use sqlite for a small project. Do I need to configure any env files?

alex_giacholari started a new conversation Database Connection Problem Heroku • 1 year ago

I get an error when trying to visit /articles to display all articles: PDOException in Connector.php line 119: could not find driver on Heroku. Any ideas?

8th December, 2016

alex_giacholari left a reply on Random URL • 1 year ago

Here is the code Route::any('/{catchall}/', function() { return back(); })->where('catchall', '.*');

Route::any('/articles/{id}/{catchall}', function() { return back(); })->where('catchall', '.*');

Route::any('/articles/{catchall}/', function() { return back(); })->where('catchall', '.*');

alex_giacholari left a reply on Random URL • 1 year ago

Hello guys thanks you for the answers. I fixed the problem however I return back when an exception occurs. So what you you recommend bashy is to return an error page instead of redirecting back?

7th December, 2016

alex_giacholari left a reply on Random URL • 1 year ago

FatalErrorException in Facade.php line 237: Call to undefined method Illuminate\Foundation\Application::missing()

alex_giacholari left a reply on Random URL • 1 year ago

I did implement the function but I get a blank page without body in response when redirected....

alex_giacholari started a new conversation Random URL • 1 year ago

How to redirect back whenever the user attempts to visit a URL that does not exist?

22nd November, 2016

alex_giacholari started a new conversation Dropbox Or Google Drive Over S3 • 1 year ago

Hello guys, Would it be possible to use Dropbox or google drive to store assets on the cloud instead of amazon s3?

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.