Hello,
I tried to enable the shop module but I’m getting an error message.
PFA for error message
- MSAnswered
Hello,
PHP error logs saying
Allowed memory size of 33554432 bytes exhausted
Please updatememory_limit
to 256MLaravel logs are due to wrong variable name, I will release the update with fix today. You can try to change the line 34 of
/home/intraflora/public_html/modules/Shop/Resources/views/livewire/shop_mode/mode_maintenance.blade.php
from<img src="{{ storage_url($shop_settings->storage_url) }}" alt="{{ __($shop_settings->shop_name) }}" class="max-h-20 h-full object-cover" />
to
<img src="{{ storage_url($shop_settings->shop_logo_dark) }}" alt="{{ __($shop_settings->shop_name) }}" class="max-h-20 h-full object-cover" />
Thank you
- JKAnswered
Hello Saleem,
Thank you for your quick response.
The maintenance mode issue got fixed after replacing the code.
But the image issue still persists and we have given memory_limit to 512MB
php_flag display_errors Off php_value max_execution_time 1200 php_value max_input_time 1200 php_value max_input_vars 1000 php_value memory_limit 512M php_value post_max_size 256M php_value session.gc_maxlifetime 1440 php_value session.save_path "/var/cpanel/php/sessions/ea-php81" php_value upload_max_filesize 256M php_flag zlib.output_compression Off - MSAnswered
Hello,
Please let me know the installation link to check.
Thank you
- JKAnswered
Hello,
Here’s the link https://intrafloranursery.com/
- MSAnswered
Hello,
I think you need to delete the
public/storage
file, please try run therm public/storage && rm public/images && php -d memory_limit=128M artisan storage:link --force
and let me know the output.I will remove it in the next update and will create it using installer.
Thank you
- JKAnswered
Hello Saleem,
We have already added most of the content images for all of the items I just want to know before deleting the public/storage file do I have to take any backup or just delete and run the command, so it won’t impact the files?
- JKAnswered
Hello,
I took a backup and ran the command I got this as output PFA for your reference.
Attachments - MSAnswered
Hello,
That should be symbolic link but it’s folder. Please try manually deleting the
public/storage
andpublic/images
and then runphp -d memory_limit=128M artisan storage:link --force
Thank you
- JKAnswered
Hello Saleem,
It’s working now, Thank you for your support. We really appreciate it.
- JKAnswered
And one more thing, can we hide brands from the menu section?
When we add item details in the front end the details appear in a single paragraph, PFA for reference.
Attachments - Login to Reply