Update Image

Posted In Wave
  • eudes 2 months ago
    Image does not update ...

    Image does not update ...

  • nate-johnson 2 months ago
    Post some context, errors or somethung.New install? 

    Post some context, errors or somethung.New install?

  • eudes 2 months ago
    I installed everything, and I linked the storage folder but when I try to modify any image (logo, profile image and the rest) it doesn't update them.

    I installed everything, and I linked the storage folder but when I try to modify any image (logo, profile image and the rest) it doesn't update them.

  • nate-johnson 2 months ago
    That happened to me my first time. I finally realized the storage symlnk was already set to the developer's filesystem in the zip file that was distrubuted. I had to delete it and then recreate it manually so that it linked to my filesystem.

    That happened to me my first time. I finally realized the storage symlnk was already set to the developer's filesystem in the zip file that was distrubuted. I had to delete it and then recreate it manually so that it linked to my filesystem.

  • eudes 2 months ago
    I deleted the storage file from the public folder and then I restarted the php storage link on my terminal, but the problem remains the same

    I deleted the storage file from the public folder and then I restarted the php storage link on my terminal, but the problem remains the same

  • nate-johnson 2 months ago
    Check you symlnks. The first set are how mine came out of the box (wrong) and the second is when I manually recreated the symlnk not using the artisan command. The latter is the only way I got mine to work.
    
    ```
    ➜  pwd
    /Users/naj/Code/myapp/public
    ➜  ls -al
    total 24
    -rwxr-xr-x@ 1 naj  staff     0B Mar 30 07:53 favicon.ico
    -rwxr-xr-x@ 1 naj  staff   1.8K Mar 30 07:53 index.php
    -rwxr-xr-x@ 1 naj  staff    34B Mar 30 07:53 mix-manifest.json
    -rwxr-xr-x@ 1 naj  staff    24B Mar 30 07:53 robots.txt
    lrwxr-xr-x@ 1 naj  staff    44B Aug  1 21:20 storage -> /Users/tony/Sites/wavedev/storage/app/public
    drwxr-xr-x@ 4 naj  staff   128B Mar 30 07:53 themes
    drwxr-xr-x@ 4 naj  staff   128B Mar 30 07:53 vendor
    drwxr-xr-x@ 6 naj  staff   192B Mar 30 07:53 wave
    
    ➜  pwd
    /Users/naj/Code/myapp/public
    ➜  ls -al
    total 24
    -rwxr-xr-x@ 1 naj  staff     0B Mar 30 07:53 favicon.ico
    -rwxr-xr-x@ 1 naj  staff   1.8K Mar 30 07:53 index.php
    -rwxr-xr-x@ 1 naj  staff    34B Mar 30 07:53 mix-manifest.json
    -rwxr-xr-x@ 1 naj  staff    24B Mar 30 07:53 robots.txt
    lrwxr-xr-x  1 naj  staff    47B Aug  2 09:17 storage -> /home/vagrant/Code/myapp/storage/app/public
    drwxr-xr-x@ 4 naj  staff   128B Mar 30 07:53 themes
    drwxr-xr-x@ 4 naj  staff   128B Mar 30 07:53 vendor
    drwxr-xr-x@ 6 naj  staff   192B Mar 30 07:53 wave
    ```

    Check you symlnks. The first set are how mine came out of the box (wrong) and the second is when I manually recreated the symlnk not using the artisan command. The latter is the only way I got mine to work.

    ➜  pwd
    /Users/naj/Code/myapp/public
    ➜  ls -al
    total 24
    -rwxr-xr-x@ 1 naj  staff     0B Mar 30 07:53 favicon.ico
    -rwxr-xr-x@ 1 naj  staff   1.8K Mar 30 07:53 index.php
    -rwxr-xr-x@ 1 naj  staff    34B Mar 30 07:53 mix-manifest.json
    -rwxr-xr-x@ 1 naj  staff    24B Mar 30 07:53 robots.txt
    lrwxr-xr-x@ 1 naj  staff    44B Aug  1 21:20 storage -> /Users/tony/Sites/wavedev/storage/app/public
    drwxr-xr-x@ 4 naj  staff   128B Mar 30 07:53 themes
    drwxr-xr-x@ 4 naj  staff   128B Mar 30 07:53 vendor
    drwxr-xr-x@ 6 naj  staff   192B Mar 30 07:53 wave
    
    ➜  pwd
    /Users/naj/Code/myapp/public
    ➜  ls -al
    total 24
    -rwxr-xr-x@ 1 naj  staff     0B Mar 30 07:53 favicon.ico
    -rwxr-xr-x@ 1 naj  staff   1.8K Mar 30 07:53 index.php
    -rwxr-xr-x@ 1 naj  staff    34B Mar 30 07:53 mix-manifest.json
    -rwxr-xr-x@ 1 naj  staff    24B Mar 30 07:53 robots.txt
    lrwxr-xr-x  1 naj  staff    47B Aug  2 09:17 storage -> /home/vagrant/Code/myapp/storage/app/public
    drwxr-xr-x@ 4 naj  staff   128B Mar 30 07:53 themes
    drwxr-xr-x@ 4 naj  staff   128B Mar 30 07:53 vendor
    drwxr-xr-x@ 6 naj  staff   192B Mar 30 07:53 wave
    
  • nate-johnson 2 months ago
    There's also a bug in how Voyager is set up. 
    
    https://github.com/the-control-group/voyager/issues/4082
    
    A temp fix is to see if it works for you would be to modify the vended file.
    
    ```
    In: TCG\Voyager\Models\User
    
    public function setSettingsAttribute($value)
    {
        // $this->attributes['settings'] = $value->toJson();
        $this->attributes['settings'] = $value ? $value->toJson() : null;
    }
    ```

    There's also a bug in how Voyager is set up.

    https://github.com/the-control-group/voyager/issues/4082

    A temp fix is to see if it works for you would be to modify the vended file.

    In: TCG\Voyager\Models\User
    
    public function setSettingsAttribute($value)
    {
        // $this->attributes['settings'] = $value->toJson();
        $this->attributes['settings'] = $value ? $value->toJson() : null;
    }
    

Please login or signup to leave a response.

Login

or Sign Up

Sign Up

or Login
×
Want to create your own SAAS?

I can teach you to create your own Software as a Service. Click here to learn more!

Visit SAAS Adventure!