I'm getting this error (only in production modus) when I try to acces Magento Admin --> Configuration:
An error has happened during application run. See exception log for details.
my system.log says:
main.CRITICAL: ParseError: syntax error, unexpected token "<", expecting end of file in /home/seedsat/public_html/magento244/var/view_preprocessed/pub/static/app/code/MGS/ThemeSettings/view/adminhtml/templates/system/config/head.phtml:1
I saw that there was a missing semicolone in line 1 so i fixed that.
And magento was not compiling this line correct: <link href="//fonts.googleapis.com/css?family=<?php echo $font['css-name'] ?>:100,200,300,400,500,600,700,800,900" rel="stylesheet" type="text/css">
because of the // it was uncommented.
I deleted // and made it just: fonts.googleapis.com
Magento is still hanging in a loop after correcting this.
تتعرض اغلب المكيفات فى المنازل الى تراكم الاتربة والغبار عليها وذلك غالبا بسبب كثرة التشغيل او تعرض المكيف للهواء بسبب فتح النوافذ
ولكن تعتبر هذه الاتربة والغبار من اكثر الاشياء ضررا على المكيف حيث ان تراكم الغبار على المكيف يؤدى الى حدوث العديد من الاعطال به ومن هذه الاعطال تسريب المكيف للمياه
شركه تنظيف مكيفات بالجبيل بسبب انسداد المبخرة بالاتربة والغبار وضعف كفاءة المكيف وعدم قدرته على التبريد واعطال اخرى كثيرة ونظرا لاهمية المكيف فى المنزل فإنه لابد من المحافظة عليه والاهتمام بتنظيفه وذلك ايضا لان تنظيف المنزل يعكس ايضا منظر جمالى على المنزل بأكمله وقد يصعب على الافراد القيام بتنظيف المكيف بأنفسهم ولابد لهم من ان يستعينوا بشركة متخصصة فى تنظيف المكيفات الموجودة بالمنازل وتعد شركة تنظيف مكيفات بخميس مشيط اكثر شركة مناسبة للقيام بعملية التنظيف وذلك لخدماتها العديدة التى تقدمها وتميزها فى مجال تنظيف المكيفات عن باقى الشركات
I'm getting this error (only in production modus) when I try to acces Magento Admin --> Configuration:
An error has happened during application run. See exception log for details.
my system.log says: main.CRITICAL: ParseError: syntax error, unexpected token "<", expecting end of file in /home/seedsat/public_html/magento244/var/view_preprocessed/pub/static/app/code/MGS/ThemeSettings/view/adminhtml/templates/system/config/head.phtml:1
I saw that there was a missing semicolone in line 1 so i fixed that.
And magento was not compiling this line correct: <link href="//fonts.googleapis.com/css?family=<?php echo $font['css-name'] ?>:100,200,300,400,500,600,700,800,900" rel="stylesheet" type="text/css">
because of the // it was uncommented.
I deleted // and made it just: fonts.googleapis.com
Magento is still hanging in a loop after correcting this.
Can I deactivate this file? What is it good for?
Can you check this please?
I can't switch to production mode because of this error.
I'm so sorry. I don't connect ssh account. Please help me check it.
I still don't connect ssh. Can you send ssh account again ?
did the connection work?
I don't connect your access.
Hi,
I connected the server. Please switch to production mode and check it again. Thanks
I switched to production mode.
There is still a problem.
Please go to Magento Admin --> MGS --> Font Settings
When you are there, all Menues are hanging. Only Dashboard is working.
error in the console: Uncaught ReferenceError: setFontFamily is not defined
Please remove block our company IP: 222.254.34.188
I checked no error in admin.
https://www.awesomescreenshot.com/video/11999176?key=58514dac2af6dbf36a5fe070f64bc04b
I recheck and it's really working now. I don't know why it was not working yesterday.
Did you just changed /app/code/MGS/ThemeSettings/view/adminhtml/templates/system/config/head.phtml or other files also?
I have to apply the changed files to my liveshop.
تتعرض اغلب المكيفات فى المنازل الى تراكم الاتربة والغبار عليها وذلك غالبا بسبب كثرة التشغيل او تعرض المكيف للهواء بسبب فتح النوافذ
ولكن تعتبر هذه الاتربة والغبار من اكثر الاشياء ضررا على المكيف حيث ان تراكم الغبار على المكيف يؤدى الى حدوث العديد من الاعطال به ومن هذه الاعطال تسريب المكيف للمياه
شركه تنظيف مكيفات بالجبيل
بسبب انسداد المبخرة بالاتربة والغبار وضعف كفاءة المكيف وعدم قدرته على التبريد واعطال اخرى كثيرة ونظرا لاهمية المكيف فى المنزل فإنه لابد من المحافظة عليه والاهتمام بتنظيفه وذلك ايضا لان تنظيف المنزل يعكس ايضا منظر جمالى على المنزل
بأكمله وقد يصعب على الافراد القيام بتنظيف المكيف بأنفسهم ولابد لهم من ان يستعينوا بشركة متخصصة فى تنظيف المكيفات الموجودة بالمنازل وتعد شركة تنظيف مكيفات بخميس مشيط اكثر شركة مناسبة للقيام بعملية التنظيف وذلك لخدماتها العديدة التى تقدمها وتميزها فى مجال تنظيف المكيفات عن باقى الشركات
شركة تنظيف مكيفات بخميس مشيط
شركة عزل اسطح بمكة
Hi,
I changed the file in my liveshop /app/code/MGS/ThemeSettings/view/adminhtml/templates/system/config/head.phtml but the problem is still here.
Did you changed some other files?
Do you really sure it received new code?
yes I copied the file from magento244/app/code/MGS/ThemeSettings/view/adminhtml/templates/system/config/
to
/app/code/MGS/ThemeSettings/view/adminhtml/templates/system/config/
you can check it when you conect with FTP.
Could you send me to access your live shop?
Please send link to your admin.
do you have any updates for this?
I don't see error because admin is developer mode.
you can switch to production mode
I don't have ssh access connect to your site.
Hi,
I don't see error after enabling production mode.
It's working now on my site too. I really don't know why it's working suddenly but it's good when it's working :)
you can close this