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

  • JK

    Junaid Khan

    Answered

    Hello Saleem,

    Yes, I did run the command, but it didn’t work. Even after adding the query still logo is not reflecting. And the shop front is not showing up.

  • 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

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

    Thank you

  • JK

    Junaid Khan

    Answered

    Hello Saleem,

    The front end of the shop is not working. PFA for your reference.

  • MS

    Mian Saleem

    Answered

    Hello,

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

    Thank you

  • JK

    Junaid Khan

    Answered

    Hello,

    I did that too but still, it’s the same.

  • MS

    Mian Saleem

    Answered

    Please let me know the server details to check. Thanks

  • JK

    Junaid Khan

    Answered

    Hello,

    Below are the credentials for cPanel

    https://intrafloranursery.com/cpanel Username: intraflora Password: s@jM=paWM{s&

  • MS

    Mian Saleem

    Answered

    Hello,

    The shop module file was not updated.

    MPS creates dummy file for the shop, but shop installation and the download file replace that. But in your case, it was not. I have checked the download file and the file is correct.

    Thank you

  • Login to Reply