• Closed by: Marek
  • Closed on: 18.01.18, 18:16
  • Reason: Closed
  • Comment: Glad to help!

Ticket #11353 - Hosting error when Alysum theme is set as current theme in Prestashop

Alysum theme can be imported as new theme via the Prestashop BO but once I set this one as the “current theme” in my Prestashop BO, it makes my website having an error from the hosting provider.

In attachement the screenshot of the states and error message in the browser console.

Here is the error in the consol as well :

finemarketdistrict.com/:1 Redirect from ‘http://www.ovh.com/fr/themes/14/fonts/lato/lato-light-webfont.woff’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://finemarketdistrict.com’ is therefore not allowed access.
finemarketdistrict.com/:1 Redirect from ‘http://www.ovh.com/fr/themes/14/fonts/lato/lato-regular-webfont.woff’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://finemarketdistrict.com’ is therefore not allowed access.
finemarketdistrict.com/:1 Redirect from ‘http://www.ovh.com/fr/themes/14/fonts/lato/lato-light-webfont.ttf’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://finemarketdistrict.com’ is therefore not allowed access.
finemarketdistrict.com/:1 Redirect from ‘http://www.ovh.com/fr/themes/14/fonts/lato/lato-regular-webfont.ttf’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://finemarketdistrict.com’ is therefore not allowed access.
finemarketdistrict.com/ Failed to load resource: the server responded with a status of 503 (Service Unavailable)

Comments

Marek 02 Jan 2018, 14:05

Hi, Nicolas Bindels.
Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your back office and FTP

Nicolas Bindels 02 Jan 2018, 14:10

Hi Marek,
Sure sorry, it is now updated in my profile :)
Many thanks

Marek 02 Jan 2018, 14:21

No problem.
Can I now enable Alysum theme to see the issue?

Nicolas Bindels 02 Jan 2018, 14:21

Sure!

Marek 02 Jan 2018, 15:21

Do you have possibility to look into server logs? That’s strange issue and I didn’t meet it before.

Nicolas Bindels 02 Jan 2018, 15:27

Sure, here is the link and your access :

Marek 02 Jan 2018, 16:42

Unfortunately there are no any records for current day. Could you please ask your hosting support to provide fresh Apache error logs?

Nicolas Bindels 02 Jan 2018, 16:44

Yes, I am proceeding now will come back to you asap

Marek 02 Jan 2018, 16:46

Waiting for you

Nicolas Bindels 02 Jan 2018, 17:19

They reply to me that they “do not provide PHP logs” and re-directed me to the ones I gave you access to

Nicolas Bindels 02 Jan 2018, 17:21

for your information, it is a shared hosting at OVH that I have, the “perf2014x1”

Nicolas Bindels 02 Jan 2018, 17:37

What is the next step? Waiting tomorrow for the log to be there?

Marek 02 Jan 2018, 17:43

I’ll check out once again and let you know

Marek 02 Jan 2018, 17:47

If it’s not critical for you I would like to wait until tomorrow when logs will be available

Nicolas Bindels 02 Jan 2018, 17:49

No worries, it is ok for me to wait till tomorrow.
Thanks for the support!

Nicolas Bindels 03 Jan 2018, 09:56

Hi Marek,
Just to be sure you do not forget me for today
Thanks!

Marek 03 Jan 2018, 13:06

Don’t worry, I remember about you.
Unfortunately there is no log for 2 January. Could you please ask you hosting, why?

Nicolas Bindels 03 Jan 2018, 14:49

Thanks :)

Is this what you need?

Nicolas Bindels 03 Jan 2018, 15:01

I just open a ticket at my hosting to ask for the errors log on 02/01/2018

Marek 03 Jan 2018, 15:04

ok, waiting for you

Nicolas Bindels 04 Jan 2018, 11:08

Hi Marek, my hosting provider OVH just reply to my ticket saying that everything should be there now

Nicolas Bindels 04 Jan 2018, 11:10

By the way here is the link to all logs file (web, ftp, error,…)

Marek 04 Jan 2018, 11:49

I still didn’t see fresh logs, bu ok, I’ll try to debug it myself. I’ll let you know the result soon

Nicolas Bindels 04 Jan 2018, 11:53
Nicolas Bindels 04 Jan 2018, 11:56

It looks like for the new logs (with 5minutes delay) from today are displaying there :)

Marek 04 Jan 2018, 11:57

Yes, but that is access log, and there are no errors

Marek 04 Jan 2018, 12:04

I make it work.
something wrong with cookie function. I’ll continue to work to figure out what is the reason

Nicolas Bindels 04 Jan 2018, 12:06

Awesome!! Really great support, thanks a lot!
Can I already work on it or better to wait you have finished your tests to know the reason?

Marek 04 Jan 2018, 12:07

Wait a moment. I let you know once I’ll finish

Marek 04 Jan 2018, 12:20

You can start

Nicolas Bindels 04 Jan 2018, 18:33

Super! Thanks a lot Marek!!
Is the issue fixed for long (meaning I should not have it anymore even after updating to new version of the theme or prestashop)? Or uploading the theme on an other website hosted at ovh?

Marek 04 Jan 2018, 19:31

Unfortunately I didn’t found what it was exactly. For now I have disabled cookies variables, but it’s absolutely ok. Would be great to have error log to see what was the reason.o