News:

Join the Facebook Fan Page.

Main Menu

Issues with alerts

Started by chadon, March 12, 2022, 07:34:19 PM

Previous topic - Next topic

shawnb61

Close.  That looks like you have (or had) issues with Pretty URLs.

What do the LAST errors look like?  Do you see any entries that include cron.php?

Also...  What do the FIRST entries look like in smf_background tasks?  (You should be able to sort by id_task in phpmyadmin... We are looking for tasks with the lowest #s...)
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

shawnb61

If you haven't yet, you should fix the Pretty URLs issue.  I'd check in with the support thread over there. 

It is not likely to be related to your alerts issues, but, who knows...
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

chadon

Quote from: shawnb61 on May 21, 2022, 03:19:42 PMWhat do the LAST errors look like?
Here is the last one recorded:
Quote[Tue May 10 21:22:06.416598 2022] [cgi:error] [pid 16015] [client 207.46.13.4:20864] AH01215: PHP Fatal error:  require_once(): Failed opening required '/home/xxxx/public_html/fr/Sources/PrettyUrls-Filters.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/xxxx/public_html/fr/Sources/QueryString.php on line 769: /usr/local/cpanel/cgi-sys/ea-php74

Quote from: shawnb61 on May 21, 2022, 03:19:42 PMDo you see any entries that include cron.php?
No, there is nothing about cron.php

QuoteAlso...  What do the FIRST entries look like in smf_background tasks?  (You should be able to sort by id_task in phpmyadmin... We are looking for tasks with the lowest #s...)
Here are the entries with the lowest "id_task"

You cannot view this attachment.

It looks like the 1st one is the only one with a "claimed_time" not at 0. Could it be the issue?

chadon

Quote from: shawnb61 on May 21, 2022, 03:57:43 PMIf you haven't yet, you should fix the Pretty URLs issue.  I'd check in with the support thread over there. 

It is not likely to be related to your alerts issues, but, who knows...
I don't know how to fix the Pretty URLs issue but I just uninstalled the mod.

shawnb61

Ok, one step at a time... 

Let's see if that fixes things.  Observe a bit - make sure the errors went away.  Also check on your oldest background tasks - look for changes.

If not, I'd delete the oldest background task.  The "claim" time just means it's been trying to work on that one for the last 10 days...

Again, observe a bit, errors, oldest tasks, etc.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Arantor

That sounds like there's a super-hard fail somewhere in cron.php because the whole point of the claimed time is that if cron is invoked a second time within the claimed time period (5 minutes IIRC), that second invocation can go onto the next thing in the queue.

Claiming it takes it out the queue for consideration, not really the same as 'I've been working on this task since then'.

chadon

Quote from: shawnb61 on May 21, 2022, 04:52:36 PMlook for changes. 
Yep! I now have users complaining about dead links.  :laugh:
Quote from: shawnb61 on May 21, 2022, 04:52:36 PMLet's see if that fixes things. 
No new alerts came.

Quote from: shawnb61 on May 21, 2022, 04:52:36 PMAlso check on your oldest background tasks - look for changes.
No change to the oldest one.
Quote from: shawnb61 on May 21, 2022, 04:52:36 PMIf not, I'd delete the oldest background task.
Quote from: Arantor on May 21, 2022, 04:55:21 PMThat sounds like there's a super-hard fail somewhere in cron.php because the whole point of the claimed time is that if cron is invoked a second time within the claimed time period (5 minutes IIRC), that second invocation can go onto the next thing in the queue.

Claiming it takes it out the queue for consideration, not really the same as 'I've been working on this task since then'.
Do I delete the oldest one or not?

shawnb61

I'd observe for a few more minutes.  Navigate around.

If no change, then yes, delete it, and see if thst changes anything.

Again, keep observing, navigate around, check errors, both smf & apache, watch the queue.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

chadon

Quote from: chadon on May 21, 2022, 02:36:18 PMA lot. I have 64 pages of 25 rows each.
I now have 65 pages. It's the only change I see.

chadon

There is also a detail I forgot to tell you. After not getting any alert after the 2.1.2 update, I tried to uninstall all mods, delete all hooks and uploaded fresh Sources and Themes files and it didn't fix the alert issue.

chadon

Quote from: shawnb61 on May 21, 2022, 05:11:15 PMIf no change, then yes, delete it, and see if thst changes anything.
I deleted it and I see no change. The new oldest task has a "claimed_time" still at 0.

shawnb61

Nothing new in smf or apache logs?

When you reloaded source, there is still a current cron.php out there, correct?
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

chadon

Quote from: shawnb61 on May 21, 2022, 05:32:09 PMNothing new in smf or apache logs?

When you reloaded source, there is still a current cron.php out there, correct?
No nothing new.
I tried to run cron.php by typing its URL and it's still there.

chadon

Quote from: shawnb61 on May 21, 2022, 05:32:09 PMWhen you reloaded source, there is still a current cron.php out there, correct?
you are talking about the cron.php file at the root directory and not in the Sources' folder, right?

shawnb61

Yes. 

If you open your browser console, do you see any errors or warnings?
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

chadon


shawnb61

Yikes... 

I would keep working those issues until they're all gone.  None of that looks familiar... 

The 9 errors are collapsed - can you expand them?  I'm trying to see if there is an error related to cron.php.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

shawnb61

A quick search, & it appears like you have a facebook utility that is running an old version of jquery. 

Are you running custom jquery?  Do you know? 

Can you deinstall the facebook plugin? 
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

chadon

Cookieconsent is from a mod.
Epn smart tools is an ebay affiliate script
The Facebook ones are from a Facebook page block displayed by Ezportal.
I think they are being blocked by Adguard Adblocker.




chadon

Quote from: shawnb61 on May 21, 2022, 06:00:20 PMAre you running custom jquery?  Do you know? 
I don't think so.
Quote from: shawnb61 on May 21, 2022, 06:00:20 PMCan you deinstall the facebook plugin? 
OK

Advertisement: