Missing storage symlink error fix

Posted In Product Support
  • amedeo-landi 1 year ago
    Hi,
    i bought script on codecanyon. I can't save new product and in my dashboard i see Missing storage symlink but when i click on fix it i received an error.
    
    How can i do?

    Hi, i bought script on codecanyon. I can't save new product and in my dashboard i see Missing storage symlink but when i click on fix it i received an error.

    How can i do?

  • mark 1 year ago
    First, what issues do you get when saving new products?
    
    Secondly, does images work for your system? Like avatars and product images? Also when you upload and edit?
    Cause if that is the case, then the symlink is working and we can comment out the code that shows the warning that you see on your dashboard.

    First, what issues do you get when saving new products?

    Secondly, does images work for your system? Like avatars and product images? Also when you upload and edit? Cause if that is the case, then the symlink is working and we can comment out the code that shows the warning that you see on your dashboard.

  • amedeo-landi 1 year ago
    Hi mark,
    thank you for your reply.
    
    When i clic to save a new products i have this issue https://snag.gy/7wjUu4.jpg
    
    In my website i see the default image of products so i think it is correct http://regalo-facile.com/
    
    If i try to edit and update a product it's ok if i change text but when i change image i have this issue https://snag.gy/vlTiKd.jpg
    
    I halso have problem to change the logo of website, and also to change menu.
    
    I try to delete in the footer menu the item "contact" and i receveid this issue https://snag.gy/kBea7T.jpg

    Hi mark, thank you for your reply.

    When i clic to save a new products i have this issue https://snag.gy/7wjUu4.jpg

    In my website i see the default image of products so i think it is correct http://regalo-facile.com/

    If i try to edit and update a product it's ok if i change text but when i change image i have this issue https://snag.gy/vlTiKd.jpg

    I halso have problem to change the logo of website, and also to change menu.

    I try to delete in the footer menu the item "contact" and i receveid this issue https://snag.gy/kBea7T.jpg

  • mark 1 year ago
    The issue with saving is because PHP Fileinfo is not enabled by your hosting provider.
    
    Please tell them to:
    ```
    Install and enable PHP Fileinfo extension for your website.
    ```
    
    That should fix the issue, and once that is fixed, lets see if you can correct upload and update images before we remove the symlink warning.
    
    About the new issue, can you please check your database if you have `translations` table there?
    Also please share the content of `migrations` table.

    The issue with saving is because PHP Fileinfo is not enabled by your hosting provider.

    Please tell them to:

    Install and enable PHP Fileinfo extension for your website.
    

    That should fix the issue, and once that is fixed, lets see if you can correct upload and update images before we remove the symlink warning.

    About the new issue, can you please check your database if you have translations table there? Also please share the content of migrations table.

  • amedeo-landi 1 year ago
    Hi mark,
    you means this file? http://regalo-facile.com/phpinfo.php
    
    I don't see translations table but i see migrations table, here the screenshot https://snag.gy/IlfQJq.jpg

    Hi mark, you means this file? http://regalo-facile.com/phpinfo.php

    I don't see translations table but i see migrations table, here the screenshot https://snag.gy/IlfQJq.jpg

  • mark 1 year ago
    No, `fileinfo` is a PHP extension that your hosting provider must enable.
    
    And can you also share the next page of the `migrations` table?

    No, fileinfo is a PHP extension that your hosting provider must enable.

    And can you also share the next page of the migrations table?

  • amedeo-landi 1 year ago
    Hi mark,
    i enabled the fileinfo extension and now i can create new product and update images, thank you so much!
    
    Here the second page of migrations table https://snag.gy/HDWBmF.jpg

    Hi mark, i enabled the fileinfo extension and now i can create new product and update images, thank you so much!

    Here the second page of migrations table https://snag.gy/HDWBmF.jpg

  • mark 1 year ago
    So it doesn't seems to have migrated the `translations` table.
    
    Do you have terminal acces? If you do, try to run `php artisan/application migrate --force` and let me know the output.
    
    If you do not have terminal access, you can add this to the end of `application/routes/web.php`.
    ```
    Route::get('/fix', function () {
        Artisan::call('migrate', ['--force']);
    });
    ```
    Then visit `/fix`, and let me know the output.
    Please remember to remove the code afterwards.

    So it doesn't seems to have migrated the translations table.

    Do you have terminal acces? If you do, try to run php artisan/application migrate --force and let me know the output.

    If you do not have terminal access, you can add this to the end of application/routes/web.php.

    Route::get('/fix', function () {
        Artisan::call('migrate', ['--force']);
    });
    

    Then visit /fix, and let me know the output. Please remember to remove the code afterwards.

  • amedeo-landi 1 year ago
    Hi mark,
    hi have insert to the end of application/routes/web.php and this is the result when i visit /fix https://snag.gy/aGwRT6.jpg
    
    

    Hi mark, hi have insert to the end of application/routes/web.php and this is the result when i visit /fix https://snag.gy/aGwRT6.jpg

  • mark 1 year ago
    Sorry, my bad., try this:
    
    ```
    Route::get('/fix', function () {
        Artisan::call('migrate', ['--force' => true]);
    });
    ```

    Sorry, my bad., try this:

    Route::get('/fix', function () {
        Artisan::call('migrate', ['--force' => true]);
    });
    

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!