• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 16.02.23, 23:40
  • Opened by: Eric Notarianni
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #24296 - err 500 on mobile when we access to a category , on amp

on our amp mobile, now when we access to a category there is an error 500 , on the index page, and contact page this runs normally
can you see Fred please

Comments

Fred 16 Feb 2023, 23:45
Eric Notarianni 17 Feb 2023, 11:30

hello i have try and put the file but always error 500

Eric Notarianni 17 Feb 2023, 12:18

are you sure that it is not in the front folder that i must put the file because i see a category.php in the front folder

Eric Notarianni 17 Feb 2023, 15:10

hello fred , i have found the problem , the file that you have category.php must be placed in this folder and replace the older one /modules/pkamp/controllers/front
and not /modules/pkamp/controllers/ but this file must be modifier to put in comment this line like this

/**

  • print_r($this→context→cookie);
  • /

and now it works well without error 500 for the categories in amp

have a nice day

Eric Notarianni 17 Feb 2023, 15:12

this can solve this problem for other customers have a nice day and week-end

Eric Notarianni 17 Feb 2023, 17:08

i see that nicola has the same problem like me give him this soultion if you think it is good

Fred 17 Feb 2023, 18:05

Yes, that was a “developers” file, now I have uploaded there correct file