Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forum_viewforum.php only displays {---CAPTION---} and {---BREADCRUMS---} #4852

Open
STR82UII opened this issue Aug 17, 2022 · 18 comments
Open
Labels
status: awaiting feedback This issue may be fixed and is awaiting the original poster to confirm the fix. type: bug A problem that should not be happening

Comments

@STR82UII
Copy link

STR82UII commented Aug 17, 2022

Bug Description

forum_viewforum.php only displays {---CAPTION---} and {---BREADCRUMS---} on this page. My forum is here https://www.emailtoinmates.com/forum and if you click one of the topic/forum links it will show you what it's doing. (or not doing as it were).

The veiwtopic.php page displays the individual topics properly but those pages can't be reached because of the error.(https://www.emailtoinmates.com/extras/forum/forum_viewtopic.php?id=19)

Upgraded from a v .7 site a month ago and it's done it since, original was working properly.
Server has PHP 7.4

@STR82UII STR82UII added the type: bug A problem that should not be happening label Aug 17, 2022
@STR82UII
Copy link
Author

Forgot to mention, the meta title tags of the blank pages is correct, the page's title shows in the tab etc

@Jimmi08
Copy link
Contributor

Jimmi08 commented Aug 17, 2022

@STR82UII check your error logs. This look ({---CAPTION---} and {---BREADCRUMS---}) is when there is fatal error on the page.

And you should switch to SEF-URLs for forum, if you can.

@STR82UII
Copy link
Author

From Error_log after clicking all sections/forums:

text/x-generic error_log ( ASCII text )
[18-Aug-2022 19:05:47 UTC] PHP Fatal error: Uncaught Error: Call to a member function setVars() on null in /home2/emailnam/public_html/extras/forum/forum_viewforum.php:479
Stack trace:
#0 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(421): forum_viewforum_front->parse_thread(Array)
#1 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(56): forum_viewforum_front->init()
#2 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(565): forum_viewforum_front->__construct()
#3 {main}
thrown in /home2/emailnam/public_html/extras/forum/forum_viewforum.php on line 479
[18-Aug-2022 19:05:50 UTC] PHP Fatal error: Uncaught Error: Call to a member function setVars() on null in /home2/emailnam/public_html/extras/forum/forum_viewforum.php:479
Stack trace:
#0 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(421): forum_viewforum_front->parse_thread(Array)
#1 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(56): forum_viewforum_front->init()
#2 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(565): forum_viewforum_front->__construct()
#3 {main}
thrown in /home2/emailnam/public_html/extras/forum/forum_viewforum.php on line 479
[18-Aug-2022 19:05:52 UTC] PHP Fatal error: Uncaught Error: Call to a member function setVars() on null in /home2/emailnam/public_html/extras/forum/forum_viewforum.php:479
Stack trace:
#0 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(421): forum_viewforum_front->parse_thread(Array)
#1 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(56): forum_viewforum_front->init()
#2 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(565): forum_viewforum_front->__construct()
#3 {main}
thrown in /home2/emailnam/public_html/extras/forum/forum_viewforum.php on line 479
[18-Aug-2022 19:05:55 UTC] PHP Fatal error: Uncaught Error: Call to a member function setVars() on null in /home2/emailnam/public_html/extras/forum/forum_viewforum.php:479
Stack trace:
#0 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(421): forum_viewforum_front->parse_thread(Array)
#1 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(56): forum_viewforum_front->init()
#2 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(565): forum_viewforum_front->__construct()
#3 {main}
thrown in /home2/emailnam/public_html/extras/forum/forum_viewforum.php on line 479
[18-Aug-2022 19:05:58 UTC] PHP Fatal error: Uncaught Error: Call to a member function setVars() on null in /home2/emailnam/public_html/extras/forum/forum_viewforum.php:479
Stack trace:
#0 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(421): forum_viewforum_front->parse_thread(Array)
#1 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(56): forum_viewforum_front->init()
#2 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(565): forum_viewforum_front->__construct()
#3 {main}
thrown in /home2/emailnam/public_html/extras/forum/forum_viewforum.php on line 479
[18-Aug-2022 19:06:47 UTC] PHP Fatal error: Uncaught Error: Call to a member function setVars() on null in /home2/emailnam/public_html/extras/forum/forum_viewforum.php:479
Stack trace:
#0 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(421): forum_viewforum_front->parse_thread(Array)
#1 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(56): forum_viewforum_front->init()
#2 /home2/emailnam/public_html/extras/forum/forum_viewforum.php(565): forum_viewforum_front->__construct()
#3 {main}
thrown in /home2/emailnam/public_html/extras/forum/forum_viewforum.php on line 479

@STR82UII
Copy link
Author

STR82UII commented Aug 18, 2022 via email

@Jimmi08
Copy link
Contributor

Jimmi08 commented Aug 18, 2022

@STR82UII what version of e107 are you using? Maybe it was fixed because I tried it with latest version of forum plugin and no issue with legacy urls. It would be nice to have your forum data, can you catch me on gitter? I would like to help you (if I am able) because I run 2 big forums and I want to have something like this fixed. Lately there was some fixes of subforum. But with your data I am able to test it with latest e107 version.

Ad SEF-URL, you should see something like this:
image

Do you know how to export e107 Data? Database/Tools/Export - and select forum tables and forum prefs.

@STR82UII
Copy link
Author

That URL configuration is on/activated as shown in your post. I turned it off to test and get the same error.

The site was recently updated/upgraded to V2.3.2

In "tools/Database", the only option is to backup site data, backup. If you can give me your email address, I can give you admin privileges

@STR82UII
Copy link
Author

Here is what I got

@Jimmi08
Copy link
Contributor

Jimmi08 commented Aug 18, 2022

You should be part of https://gitter.im/e107inc/e107 it is the quickest way how to get help and a way how to do private chat

deleted email

@Jimmi08
Copy link
Contributor

Jimmi08 commented Aug 18, 2022

In "tools/Database", the only option is to backup site data, backup. If you can give me your email address, I can give you admin privileges

image

@STR82UII
Copy link
Author

OK, this is from the "Export Site Data"

@STR82UII
Copy link
Author

e107Export_2022-08-18a.zip

Sorry for the blank file, this is correct

@STR82UII
Copy link
Author

Glitter wants me to use "Matrix" but I'm using windows 10 in S mode so it won't install.

I just created a main admin account for you at https://www.emailtoinmates.com/

@STR82UII
Copy link
Author

Did you get the email with your password?

@STR82UII
Copy link
Author

Mine is Windows 10 In S Mode, it only allows installing Microsoft Store apps

@Jimmi08
Copy link
Contributor

Jimmi08 commented Aug 18, 2022

This doesn't fix your problem but why you was getting legacy urls:
Your forums didn't have SEF-URL versions. You didn't know this before displaying this field.

image

@Jimmi08
Copy link
Contributor

Jimmi08 commented Aug 18, 2022

With latest 2.3.3 git it works correctly.
You could update forum plugin (only this one) from github version 2.3.3
image

@STR82UII
Copy link
Author

Understood, I'll try to get that....

@Moc
Copy link
Member

Moc commented Sep 5, 2022

@STR82UII Does the issue still occur using the latest files from Github?

@Moc Moc added the status: awaiting feedback This issue may be fixed and is awaiting the original poster to confirm the fix. label Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: awaiting feedback This issue may be fixed and is awaiting the original poster to confirm the fix. type: bug A problem that should not be happening
Projects
None yet
Development

No branches or pull requests

3 participants