-
Posts
426 -
Joined
-
Last visited
About BFD Calendar
- Birthday 09/20/1959
Contact Methods
-
Website URL
http://www.performan.org
Profile Information
-
Gender
Male
-
Location
Belgium
Recent Profile Visitors
8,680 profile views
BFD Calendar's Achievements
Sr. Member (5/6)
84
Reputation
-
And regarding LazyCron, I keep getting these files-errors every few hours: "unlink: Unable to unlink file: /site/assets/cache/LazyCronLock.cache". How to get rid of those?
-
The problem is obviously with OVH not allowing the script. It made me move to the free cron-job.org service. I've been testing for a day now and it works well when the mail is sent to my own address. From tomorrow on the job is scheduled to go once a day to blogger.com to post from mail there. One change between my old php 5 and 8.2 is that "template==template_name" should now be "template=='template_name'".
-
Maybe I'm not doing it right.... $this->addHookAfter('LazyCron::every5Minutes', function(HookEvent $event) { PageRender::renderPage(bfd_mailer_cron.php); echo "mailer sent"; }; On the other hand, I'm trying with an OVH cron job. As soon as I enter this on the mailer page $features = $pages->find('parent=/events/|/the-eyes/, bfd_day.name=$todayday, bfd_month.name=$todaymonth'); the job doesn't work. I presume it doesn't understand the ProcessWire api.... And then I'm not sure if this is the right way to do what I actually want, sending a ProcessWire page once a day at 10am to one or several email adresses. It used to work with a OVH cron job for years but I guess there's been a few changes between PHP 5 and 8.2 that are in the way.
-
Tried several things with LazyCron but no success yet. I tried calling it from ready.php but then -if- it works I don't think it would allow loading my bfd_mailer template once a day, say at 1pm.
-
Thanks, looks well worth trying this. According to Matomo I had 31 visitors in the last 24 hours, according to OVH statistics it's 5000, but that includes several bots. Don't know if they will count as valid traffic.
-
I have a template that collects pages based on a date search (today). I send that page to a blog (https://wheniwasbuyingyouadrinkwherewereyou.blogspot.com) with php: $to = "xxxx@blogger.com"; $headers = "From: ddv@birthfactdeathcalendar.net\r\n"; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=utf-8' . "\r\n"; When I load the page in my browser it is sent correctly. When I have it sent by a scheduled CRON job (OVH hosting) I get this error: [2026-03-09 10:27:02] ## OVH ## START - 2026-03-09 10:27:02.711006 executing: /usr/local/php8.2/bin/php /homez.863/birthfac/www/site/templates/bfd_mailer.php [2026-03-09 10:27:02] [2026-03-09 10:27:02] [2026-03-09 10:27:02] <center> [2026-03-09 10:27:02] <table width="700"> [2026-03-09 10:27:02] <tr><td> [2026-03-09 10:27:02] <b><span style="font-size: x-large;"><span style="font-family: "Trebuchet MS",sans-serif;"> [2026-03-09 10:27:02] <a href="http://www.birthfactdeathcalendar.net">BIRTH(+)FACT(᙮)DEATH(-)</a></span></span></b> [2026-03-09 10:27:02] <br> [2026-03-09 10:27:02] <span style='font-size: large;'><span style='font-family: Georgia,"Times New Roman",serif;'>41st year - Nº 68 Monday, 9 March 2026</span></span> [2026-03-09 10:27:02] </td></tr> [2026-03-09 10:27:02] <tr><td> [2026-03-09 10:27:02] [2026-03-09 10:27:02] [2026-03-09 10:27:02] ## OVH ## END - 2026-03-09 10:27:02.781779 exitcode: 255 What could be the problem?
-
I'm trying to send the content of my 'newsletter' page (https://www.birthfactdeathcalendar.net/newsletter/) in a mail. The content is a 'foreach($features as $feature)' that loads fine on the page, but in the sent email only the last entry is sent. I'm using '$mail->bodyHTML ( '<table border=1><tr><td>' . $mailtxt . '</td></tr></table>' ); ', where '$mailtxt' is a php collection of various fields on the features. How to get all the content in the mail body?
-
Does ProMailer features automatic sending of a ProcessWire page? I want to send my daily changing homepage https://www.birthfactdeathcalendar.net to a list of newsletter subscribers every day.
-
1 to 100 of 687951 (estimate) errors and website gone
BFD Calendar replied to BFD Calendar's topic in General Support
@matjazp First I downgraded to PHP 7.4, made no change. Then I replaced wire 3.0.246 with wire 3.0.123 from your link. PW 3.0.123 was the version I had a month ago when everything still worked. Then the site didn't show anything, not even errors. So I uploaded wire 3.0.246 and got the error back. Finally I uploaded the latest dev version from GitHub upgraded again to PHP 8.2 and, hurray the site is back – a bit crippled as now quite some errors appear in my templates. There are apparently many changes between PHP 7.4 and 8.2 that I need to figure out now. -
1 to 100 of 687951 (estimate) errors and website gone
BFD Calendar replied to BFD Calendar's topic in General Support
@BrendonKoz No, I do everything on the site hosted by OVH provider. I've done it for 12 years now and it has over 30.000 pages. You can see how it actually looked like on 24 June 2025 here: https://web.archive.org/web/20250624203839/https://www.birthfactdeathcalendar.net/. I have a database backup from the PW module 'bfd_20251003_processwire.sql'. So do you mean installing a fresh PW site on a local computer, install all the site modules and templates, and import the sql database? That simple? I'm an artist (https://www.performan.org/exhibitions/), and not really a coder.... -
1 to 100 of 687951 (estimate) errors and website gone
BFD Calendar replied to BFD Calendar's topic in General Support
@BrendonKoz As said above I can't get into the PW admin interface anymore. No matter what page is called, everything gets stuck at Uff da… Fatal Error: Class FieldtypeImage contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (FieldtypeHasFiles::hasFiles, FieldtypeHasFiles::getFilesPath) (line 18 of wire/modules/Fieldtype/FieldtypeImage/FieldtypeImage.module) This error message was shown because: site is in debug mode. ($config->debug = true; => site/config.php). Error has been logged. I can access the errors.txt file via ftp. For today (2025-10-07) only there are 19092 errors as above. In my provider's error log I can see plenty of [Mon Oct 06 20:26:03 2025] [X-OVHRequest-Id: 0b8c2f578748d1061d5e670a11218ce2] [error] [client 54.161.50.125:0] [host birthfactdeathcalendar.net] AH10157: FastCGI: An error happened during Fastcgi processing, fallback to CGI [Mon Oct 06 23:52:49 2025] [X-OVHRequest-Id: da62e0ad0f08ee270e46e69c4cdbb0b7] [error] [client 51.57.57.231:0] [host birthfactdeathcalendar.net] AH01264: script not found or unable to stat: /homez.863/birthfac/cgi-bin All those are Amazon and Microsoft ip addresses. Apparently the robots.txt file doesn't keep those away. I manually replaced the latest wire and all site modules are up to date. Template errors that showed up earlier are all fixed. But as long as I can't get past the Fatal Error there's not much more to do or try I presume. And the most baffling thing is that everything worked fine yesterday for about two hours, without any further change the Fatal Error just popped up. -
1 to 100 of 687951 (estimate) errors and website gone
BFD Calendar replied to BFD Calendar's topic in General Support
@ryan The $config->debug is set to true. The errors.txt is a hefty 257,8MB file.... The last lines are 2025-10-06 22:26:49 ? https://www.birthfactdeathcalendar.net/places/hobart-tasmania-australia/ Fatal Error: Class ProcessWire\FieldtypeImage contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (ProcessWire\FieldtypeHasFiles::hasFiles, ProcessWire\FieldtypeHasFiles::getFilesPath) (line 18 of /home/birthfac/www/wire/modules/Fieldtype/FieldtypeImage/FieldtypeImage.module) 2025-10-06 22:26:55 ? http://birthfactdeathcalendar.net/events/18-june-2024/ Fatal Error: Class ProcessWire\FieldtypeImage contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (ProcessWire\FieldtypeHasFiles::hasFiles, ProcessWire\FieldtypeHasFiles::getFilesPath) (line 18 of /home/birthfac/www/wire/modules/Fieldtype/FieldtypeImage/FieldtypeImage.module) 2025-10-06 22:27:03 ? http://birthfactdeathcalendar.net/people/van-zon-hans/ Fatal Error: Class ProcessWire\FieldtypeImage contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (ProcessWire\FieldtypeHasFiles::hasFiles, ProcessWire\FieldtypeHasFiles::getFilesPath) (line 18 of /home/birthfac/www/wire/modules/Fieldtype/FieldtypeImage/FieldtypeImage.module) 2025-10-06 22:27:08 ? https://www.birthfactdeathcalendar.net/places/holmby-hills-california-united-states-232-mapleton-drive/ Fatal Error: Class ProcessWire\FieldtypeImage contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (ProcessWire\FieldtypeHasFiles::hasFiles, ProcessWire\FieldtypeHasFiles::getFilesPath) (line 18 of /home/birthfac/www/wire/modules/Fieldtype/FieldtypeImage/FieldtypeImage.module) 2025-10-06 22:27:11 ? http://birthfactdeathcalendar.net/events/31-august-1986-b/ Fatal Error: Class ProcessWire\FieldtypeImage contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (ProcessWire\FieldtypeHasFiles::hasFiles, ProcessWire\FieldtypeHasFiles::getFilesPath) (line 18 of /home/birthfac/www/wire/modules/Fieldtype/FieldtypeImage/FieldtypeImage.module) 2025-10-06 22:27:19 ? https://birthfactdeathcalendar.net/events/dates/november/4-november/ Fatal Error: Class ProcessWire\FieldtypeImage contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (ProcessWire\FieldtypeHasFiles::hasFiles, ProcessWire\FieldtypeHasFiles::getFilesPath) (line 18 of /home/birthfac/www/wire/modules/Fieldtype/FieldtypeImage/FieldtypeImage.module) The wire is now 3.0.246, uploaded from processwire-30246-master. It's now visible if you go to the site. In this log there are still 11 or 12 errors per minute, so I presume there are still bots targeting the site. Apart from the Amazon bot mentioned earlier I also stopped Google Search Console, so it's hard to tell where they keep coming from. -
1 to 100 of 687951 (estimate) errors and website gone
BFD Calendar replied to BFD Calendar's topic in General Support
Update once more.... I uploaded the last PW wire version and it worked, but the error logs showed problems with FieldtypeMapMarker, TextformatterHannaCode, Pages2Pdf. I replaced those manually with the lasted versions. Then everything worked perfect - for two hours. Now without any further changes the PW site is gone again due to internal server error. The overdrive in connections was due to an Amazon bot. So in the .htaccess I added <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_USER_AGENT} (Amazonbot) [NC] RewriteRule (.*) - [F,L] </IfModule> and in the robots.txt I added User-agent: Amazonbot Disallow: / In the provider error log for today there's only [Mon Oct 06 00:43:11 2025] [X-OVHRequest-Id: c27eb4c65e400e7a0437243896ebb722] [error] [client 72.14.199.130:0] [host www.birthfactdeathcalendar.net] AH01630: client denied by server configuration: /homez.863/birthfac/www/.well-known [Mon Oct 06 07:40:25 2025] [X-OVHRequest-Id: 4f22632b5d87972a361b0b0f8841a1fb] [error] [client 51.57.57.231:0] [host birthfactdeathcalendar.net] AH01264: script not found or unable to stat: /homez.863/birthfac/cgi-bin but the last entry is from 6 hours ago, after that everything worked fine for at least two hours. I'm getting desperate, even more because everything worked perfect for two hours and then went dead just like that. -
1 to 100 of 687951 (estimate) errors and website gone
BFD Calendar replied to BFD Calendar's topic in General Support
@psy Where did you find the older versions of PW on github? I'm looking for 3.0.123 as this was working fine for me. @matjazp I uploaded that file but still can't login. As mentioned, I want to get my latest working version back working. -
1 to 100 of 687951 (estimate) errors and website gone
BFD Calendar replied to BFD Calendar's topic in General Support
@psy That's an option indeed. First I'll ask my provider why the backup version was restored corrupted. I do have older PW wire versions on my site, but none of them managed to get anything back. While I usually only add/edit pages and change almost nothing to modules or other PW settings.