Advertisement:

Author Topic: Looking for help with error logs.  (Read 538 times)

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Looking for help with error logs.
« on: November 09, 2019, 11:05:52 PM »
I'm running SMF 2.0.15 @ http://appliancejunk.com

I'm getting a ton of these errors logged.

Quote
Parameter 1 to integrateTemplateGRN() expected to be a reference, value given

From what I can tell just about anything clicked on my site creates the error. Anything from index, boards, post, topic and even in admin area.

My forum seems to be running fine as it is, but I would like to figure out what is cause the error so I can turn error logging back on.

I have not installed any new mods in a long time or any other changes. I check my error log once ever few days or so and normally it just has a few things in it that I consider normal. Such as logs from blocked accounts trying to log in and such things.

Thanks,


Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,390
Re: Looking for help with error logs.
« Reply #1 on: November 09, 2019, 11:11:47 PM »
Not core code, you have a broken mod.

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: Looking for help with error logs.
« Reply #2 on: November 09, 2019, 11:21:13 PM »
How would I go about figuring out what mod is broken?

Thanks,

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,390
Re: Looking for help with error logs.
« Reply #3 on: November 09, 2019, 11:35:57 PM »
Don't recognize it.  Could be remnant code from a mod that didn't uninstall cleanly.  Which mods are you currently running?

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,192
  • Gender: Male
    • i30 Owners Club
Re: Looking for help with error logs.
« Reply #4 on: November 10, 2019, 04:33:02 AM »
Quote
Which mods are you currently running?


... and does that list include a Google Analytics mod? If so, what version?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,868
    • StoryBB/StoryBB on GitHub
Re: Looking for help with error logs.
« Reply #5 on: November 10, 2019, 04:37:33 AM »
I was going to get on https://custom.simplemachines.org/mods/index.php?mod=2607 based on the name but I can’t look at the package properly on iPad...
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: Looking for help with error logs.
« Reply #6 on: November 10, 2019, 06:47:32 AM »
... and does that list include a Google Analytics mod? If so, what version?

Yes, I'm using the Google Analytics mod.

Along with a ton of other mods. The list of mods has grown pretty long over the last 12 years of using SMF.

A lot of them I don't care to even use anymore but when I had tried to uninstall some of them in the past it was not a matter of simply clicking the uninstall button. I had been told I would need to manually uninstall them then and that looked like something I could screw up haha.

1.   Downloads System Pro   4.1.11
2.   SMF Gallery Pro   7.2.4
3.   SMF 2.0.15 Update   1.0
4.   Simple Audio Video Embedder   4.3
5.   SMF 2.0.14 Update   1.0
6.   SMF 2.0.13 Update   1.0
7.   SMF 2.0.12 Update   1.0
8.   SMF 2.0.11 Update   1.0
9.   SMF 1.1.21 / 2.0.10 Update   1.0
10.   SMF 1.1.20 / 2.0.9 Update   1.0
11.   SMF 2.0.8 Update   1.0
12.   URL Popup   1.0.2
13.   Add IP2Location to Track IP   1.31
14.   Custom Copyright   1.0.4
15.   SMF 2.0.7 Update   1.0
16.   SMF 1.1.19 / 2.0.6 Update   1.0
17.   SMF 2.0.5 Update   1.0
18.   Social Login   2.3
19.   Add Facebook Like, Tweet, and Google +1   1.0.3a
20.   Add Social Media Icons To Profiles   1.0.8
21.   Enhanced About Page   0.02
22.   Register At Post View v.1.1   1.1
23.   Change All Subjects   1.1.2
24.   SMF 2.0.4 Update   1.0
25.   Country Flags   2.1
26.   Similar Topics   0.4
27.   Google Translate for SMF 2.0   1.3
28.   SMF Store   2.0.1
29.   SMF 2.0.3 Update   1.0
30.   Add Join Date to Post   1.0
31.   Repair Form   1.0
32.   Invitation Message In Your Face (IMIYF)   0.3.1
33.   Google Analytics Code   1.4
34.   SMF Links   2.5.3
35.   APP Tag for ApplianceJunk.com   1.0.0
36.   SMF Articles   2.0
37.   Google Member Map   2.6
38.   Additional Instant Messengers   1.0.1
39.   More Spiders   1.2
40.   GoogAd Mod v.1.4   1.3
41.   New Topic Button   1.0
42.   Guest Registration Notification   1.4.2
43.   SMF 2.0.2 Update   1.0
44.   Sitemap   2.2.0
45.   View Only Boards   1.2b
46.   reCAPTCHA for SMF   0.9.8a
47.   SMF 2.0.1 Update   1.0
48.   Online Users Area   1.2
49.   Show your social networks   3.0
50.   Contact Page   3.0
51.   PM to New Members   1.2
52.   Treasury   2.10
53.   Search Focus Dropdown   1.6.1
54.   Buy me a beer   1.0
55.   Internal Links Use Same Window   1.2
56.   Enable or Disable "« Last Edit: by »" for Administrators   1.3a
57.   Ad Seller Pro   1.0.9

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: Looking for help with error logs.
« Reply #7 on: November 10, 2019, 06:57:40 AM »
I was going to get on https://custom.simplemachines.org/mods/index.php?mod=2607 based on the name but I can’t look at the package properly on iPad...

Hi,

I see the Guest Registration Notification mod is in my list too.

I'm not sure how to look at the package myself to see or what I'm even looking for.

Thanks,

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,390
Re: Looking for help with error logs.
« Reply #8 on: November 10, 2019, 04:44:23 PM »
Post the complete error.

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: Looking for help with error logs.
« Reply #9 on: November 10, 2019, 04:56:08 PM »
Here you go.

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 1,522
    • sbulen on GitHub
Re: Looking for help with error logs.
« Reply #10 on: November 10, 2019, 04:57:36 PM »
I'm getting a ton of these errors logged.
Quote
Parameter 1 to integrateTemplateGRN() expected to be a reference, value given

42.   Guest Registration Notification   1.4.2

I suspect it is the Guest Registration Notification (GRN) mod...
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: Looking for help with error logs.
« Reply #11 on: November 10, 2019, 05:06:20 PM »
Quote from: shawnb61
I suspect it is the Guest Registration Notification (GRN) mod...

I haven't used that mode for awhile and it's has not been enabled in setting.
I just unchecked the last two boxes in the attached screen shot to see if that makes any difference and it did not.

Would I have to uninstall the mod next to see if the error goes away?


Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,868
    • StoryBB/StoryBB on GitHub
Re: Looking for help with error logs.
« Reply #12 on: November 10, 2019, 05:06:39 PM »
If it is GRN, it's not the version on the mod site.

So... in your SMF settings table in the database there are a bunch of settings that all start with the word 'integrate'. Can you list all of them please?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,390
Re: Looking for help with error logs.
« Reply #13 on: November 10, 2019, 05:08:03 PM »
There's an empty function in GuestRegistrationNotification.php -

Code: [Select]

function template_grn_below() {}


Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,868
    • StoryBB/StoryBB on GitHub
Re: Looking for help with error logs.
« Reply #14 on: November 10, 2019, 05:09:19 PM »
There's an empty function in GuestRegistrationNotification.php -

Code: [Select]

function template_grn_below() {}



Yes, and SMF's structure mandates it be there given the way the mod works. When defining a new template layer, both the _above and _below pair have to be defined even if one or other is not used. This is not relevant to the issue at hand, either.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: Looking for help with error logs.
« Reply #15 on: November 10, 2019, 05:35:34 PM »
If it is GRN, it's not the version on the mod site.

So... in your SMF settings table in the database there are a bunch of settings that all start with the word 'integrate'. Can you list all of them please?

Do I get there using cPanel>Databases>phpMyAdmin?

If so I can log into my cpanel fine, but when I click the icon for phpMyAdmin it ask for me to login again as shown in the attachment.
I can't seem to log in to phpMyAdmin. Even after creating a second new user and password. Maybe I need to contact my host about accessing phpMyAdmin.

Or I'm I looking in the wrong place anyway for SMF settings table?

Thanks,


Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,390
Re: Looking for help with error logs.
« Reply #16 on: November 10, 2019, 06:07:16 PM »
Try logging in with database username/password.

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: Looking for help with error logs.
« Reply #17 on: November 13, 2019, 12:01:57 PM »
Try logging in with database username/password.


My host has told me it’s a known bug that they are working to fix. I’m just waiting on them to fix it before I can login. Hopefully it won’t be to much longer.