This has to be done at least a dozen times a day, and 24/7 so any way of automating it would be preffered. Besides, I don't like purging *all* the cache unless necessary. Doing so also produces various errors for the first visit after purge such as "Couldn't fetch DOMElement. Node no longer exi...
I have had to change the way I load a dynamic file because of the deprecation of PHP / include. Previously I would just include a .php file that is dynamically written and then displayed in a side panel. The forum would always display fresh info but now I have to use <!-- include my_dynamic_side_pan...
Thanks all for the help with this. I managed to work out a solution. 1. create a file in the forum root called mysite_vars.php 2. In that file put all the code that I need to create variables e.g. <?php $mysite_subscriber_logged_in = 0; if($_SESSION['subscriber_loggedin'] == 1) $mysite_subscriber_lo...
OK, I think I get this now. I need to set template variables in the corresponding forum root files and then in the templates themselves detect what the variables are set and include the relevant file. This would be the case for your example {% if SESSION_VALID %} // display forum here {% else %} <di...
Ok, that looks a good solution. I should be able to get that sorted. One other issue I have is that my forum sits within a overall website menu theme. i.e. I have a site menu bar at the top and the forum is in the middle of the page. This is done using this code in the overall_header.html file: <!--...
Firstly forgive me for posting in the wrong section (I assume this is where this post should go) and if there is already a post on this (I tried search but searching for PHP and / or INCLUDE finds too many posts because they are generic search terms). I am looking for a solution to the deprecation o...
With reference to the deprecation of <!-- PHP --> I use this in order to process session information from another part of my website; namely subscriptions and to show / limit various parts of the forum. How can I now do this if I can't run my own PHP code? simplified example <!-- PHP --> if($_SESSIO...
Sorry for bumping this thread but I have started receiving the same error this morning. Last night I upgraded to MariaDB 10.5.9 (from 10.5.8 which itself was supposed to address issues like this) and now I am getting crashes every half hour. 1. This could be a regression error with MariaDB 10.5.9? T...
I have just revived a procedure I had not performed for 3 months. The procedure runs on a server and posts a specific topic onto a board on the same server. The code used is this: <?php $url = "https://www.example.com/phpbb/"; $post_fields = 'username=xyz&password=***&redirect=&...
Looking at the Google issue (where it does crawl the site but lilttle response in serps). There are some search terms appearing but they are way down the long tail. This could indeed be due to the lack of meta data. Each page has a title tag but no specific tags for title or description. I also have...
What was the point of 90% of that post Amigo? That was mostly not helpful. - - - - - - - - - - - - - - - - - - Ref: Bing parameters. Still no full crawl yet since the values were removed. This is all that has been crawled so far today: 40.77.167.149 - - [12/Jul/2018:03:49:23 +0100] "GET /ppp/fe...