Support the ongoing development of Laravel.io →
Configuration IOC Forms

I am trying to make file upload with laravel 4 in GAE. But GAE doesn't permits write in file application only in google storage. For this read this https://gae-php-tips.appspot.com/2013/10/22/getting-started-with-laravel-on-php-for-app-engine/ article and followed steps. At section 6 is describet how to set path of application at google storage. I did this and in bootstrap/paths.php I have this:

const BUCKET_NAME = 'fleetmanagement';
$storage_path = "gs://" . BUCKET_NAME . "/storage";
mkdir($storage_path);
return array(

    'app' => __DIR__ . '/../app',

    'public' => __DIR__ . '/../public',

    'base' => __DIR__ . '/..',

    'storage' => $storage_path,
); 

The problem is that it still doesn't make the file upload. Locally file upload is working only when deployed with google app engine doesn't work. During composer update it shows the following warnings and errors:

 Warning: file_exists(): Unable to find the wrapper "gs" - did you forget to enab le it when you configured PHP? in C:\national-fleet\vendor\ajessup\gae-laravel\s rc\Ajessup\GaeLaravel\GaeApplication.php on line 24

{"error":{"type":"ErrorException","message":"file_put_contents(/meta/services. json): failed to open stream: No such file or directory","file":"C:\national-fl eet\vendor\laravel\framework\src\Illuminate\Filesystem\Filesystem.php","l ine":71}}

Warning: mkdir(): No such file or directory in C:\national-fleet\bootstrap\paths .php on line 5 
Last updated 3 years ago.
0

Hi,

It looks that this issue "lives" here for quite a while. Did you receive any help or solved it by yourself?

I think I could be of some help.

Please let me know.

Best,

Ron.

Last updated 3 years ago.
0

This might help. http://forumsarchive.laravel.io/viewtopic.php?id=9341 "By defining the manifest path in app/config/app.php to point to a Cloud Storage path instead, like this: 'manifest' => 'gs://yourbucketname' .'/meta',"

Looks like storage_path() issue when 'manifest' => storage_path().'/meta',

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

laureta laureta Joined 17 Apr 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.