Question: Getting Error When Enabling The Shop Module

Getting Error When Enabling The Shop Module

Hello, I tried to enable the shop module but I'm getting an error message. PFA for error message

JK

Junaid Khan

Asked
Hello,

I tried to enable the shop module but I'm getting an error message.

PFA for error message
  • MS

    Mian Saleem

    Answered
    Hello,

    I am sorry to listen. Can you please try again?

    If there is still the same error, please let me know the installation and server details in private reply. I will check on Monday morning.

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    The error is end you type the username/email that is not attached to the purchased account. Please double check. If you want us to check, please do provide the server details in private reply.

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    Please `php artisan storage:link --force`

    Thank you
  • JK

    Junaid Khan

    Answered
    PFA for reference.
  • MS

    Mian Saleem

    Answered
    Hello,

    I am sorry, looks like my editor added space in the command. It is `php artisan storage:link --force`

    and should have output like

    ```
    INFO The [public/storage] link has been connected to [storage/app/public].

    INFO The [public/images] link has been connected to [storage/app/public/images].
    ```

    If there is no output that means the command is not running. In that case, please check your server error logs.

    As I observe, that mostly happens due to memory limit. You can try

    ```sh
    php -d memory_limit=128M artisan storage:link --force
    ```

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    Can you please disable the shop module and then enable it again?

    Thank you
  • JK

    Junaid Khan

    Answered
    Thank you so much for your quick response.
  • MS

    Mian Saleem

    Answered
    Hello,

    1. Please let me know the output of `php artisan storage:link --force`
    2. How is it not working? After you updated the settings and enabled it, system will display the message on login, forgot password and register page about it. If you are getting error, please share the error message.
    3. I found a issue with dark mode that the logo was wrong. I am fixed this. I am not sure if the same issue causing the redirect ot soemthing else. Please check the Laravel error logs in the `storage/logs/` folder and let me know the error details.
    4. No, SKU are in-build tracking units. Please use product code.

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    That should be symbolic link but it's folder. Please try manually deleting the `public/storage` and `public/images` and then run `php -d memory_limit=128M artisan storage:link --force`

    Thank you
  • JK

    Junaid Khan

    Answered
    Hello Saleem,

    It's working now, Thank you for your support. We really appreciate it.
  • Login to Reply