Jump to content
thirty bees forum

toplakd

Silver member
  • Posts

    755
  • Joined

  • Last visited

  • Days Won

    42

Posts posted by toplakd

  1. Is it possible that this happens due to friendly urls and rewriting?

    As Bingbot always first makes GET /en/36-category?p=2

    and exactly 10 seconds later for same category GET  /en/36-category?p=2?p=2

    This is only happening to those categories which have more than 2 pages.

    Some categories on my site have 1, some 2 and some 3 pages of products.

     

     

  2. I tested my shop many times, clicking everywhere possible to reproduce the error as this error is showing up for some time now.

    Than today I realized I could check the server logs looking for the timestamp of the error, and than I saw this p=2?p=2 requests which are only requested from bing everyday 🙂

    Its happening on random categories which have multiple pages and bing.com tries to access them.

    Based from info on server logs, such requests are only made from bing and only happen when bingbot starts crawling the site 🙂

  3. Everyday i get few errors in FrontController.php on line 593, 596 and 597.

    So I did some research in logs and I found out that bingbot is trying to access some weird page numbers

    First it gets "/en/15-category?p=2" which is ok

    but than few seconds after it tries to access "/en/15-category?p=2?p=2" and this is where the errors are showing up.

    A non well formed numeric value encountered in /classes/controller/FrontController.php on line 593, 596 and 597

     

    How to prevent bingbot to request p=2?p=2 which creates the error in the logs?

  4. Problems on your website starts when max page width is under 767px and you are in the home section of your page.

    Than my Firefox starts showing notice "A web page is slowing down your browser".

    The tab with width over 768px is working normally where the other tab with smaller width just hangs.

    Try to disable that slider module you are using, to see if the problem stays.

    As if I load some other page other than home, the problem is not there and site works normally,

    but when going back to home, the problem reappears  so it must be something with the home page and most likely with the slider.

     

  5. I did files comparison between not working current and working backup, but didn't think of checking the permissions. 🙂

    I've made zipped archive of nonworking environment before I updated to working backup, and have deployed it now into test instance.

    Not sure how and why, but cache folders had 777 permissions on them, including in most cache subfolders.

  6. Could someone help me understand this message.

    Today, out of the blue 500 error happened. No updates were made today and I did not made any modifications.

    I could not access the front or admin area as both were showing 500 error.

    I downloaded the database and put it into my test installation and it was working as it should.

    Uploaded the last backup (only files) I made 2 days ago and it's working now.

    Also error_log was created in admin area showing

    [09-Mar-2021 09:19:08 Europe/Berlin] PHP Warning:  scandir(/test.com/Adapter/): failed to open dir: No such file or directory in /test.com/classes/PrestaShopAutoload.php on line 157
    [09-Mar-2021 09:19:08 Europe/Berlin] PHP Warning:  scandir(): (errno 0): Success in /test.com/classes/PrestaShopAutoload.php on line 157
    [09-Mar-2021 09:19:08 Europe/Berlin] PHP Warning:  Invalid argument supplied for foreach() in /test.com/classes/PrestaShopAutoload.php on line 157

     

    Screenshot_2021-03-09 Logs.png

    Screenshot_2021-03-09 Logs1.png

  7. Is there a way to check the zone id of selected carrier so I would be able to show additional informations if it does not match the zone.

    I would like to use it if the zone does not match 11 or 9, than showing extra informations to the customer

    {if !$id_zone == 11 }
    Import taxes and Fees may apply
    {/if}

    p.s.: just thought of it, I could do the same if prices are shown as tax excluded, than show this info. Will also dig into that.

×
×
  • Create New...