• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 22.11.19, 07:49
  • Opened by: Caglar Ekinci
  • Closed by: Fred
  • Closed on: 03.01.20, 14:37
  • Reason: No answer from a customer
  • Comment: Glad to help!

Ticket #16250 - Amp module not workıng properly

Hi

Amp module home page stopped working.there is a layout available but doesn’t show the layout on homepage.i have been working to resolve but can’t .also the desktop version doesn’t work either
Can you check what the problem is ?

Thanks

Comments

Fred 22 Nov 2019, 10:36

Hi, Caglar.
Please check out AMP documentation https://alysum5.promokit.eu/promokit/documentation/#amp

Caglar Ekinci 22 Nov 2019, 23:10

Hi,
When i changed the files premissions to 664 ,internal server error occured.
Are you sure all the 664 ?

I have done all the other things done before and rechecked .
Wouldnt be 644 ?It worked well before on 644.

Fred 23 Nov 2019, 11:14

Yes, you are right, correct permissions is 644

Caglar Ekinci 24 Nov 2019, 09:48

On the amp documenting it says 664

However

I have a question please,

Is it possible to use amp version on all devices?mobile devices ok. I mean on desktops I want the amp version to come up.i don’t want the desktop version.is it possible with a small tweak ?or how ?

Thanks

Fred 24 Nov 2019, 10:56

open the file /modules/pk_amp/pk_amp.php and remove these two lines
https://take.ms/3YhwR

Caglar Ekinci 01 Dec 2019, 13:52

Hi,

It didnt work.Let me repeat my demand.
I want to use amp version both on Desktops and Mobile phones and tablets.
For mobiles it works but for desktop deleting the code here didn’t work ;

if ($redirect && $enabled && ($canonical != $ampLink)) {

          Tools::redirect($ampLink);
      }

Am i missing something?
Thanks

Fred 01 Dec 2019, 19:48

I need access to AMP files to check it out