Open STR82UII opened 2 years ago
Forgot to mention, the meta title tags of the blank pages is correct, the page's title shows in the tab etc
@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.
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:
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:
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:
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:
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:
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:
thrown in /home2/emailnam/public_html/extras/forum/forum_viewforum.php on line 479
I posted the error log on github, emptying it first then visited the error by clicking each of the forum links to create the error
I don't know how to switch to SEF urls in the forum, it doesn't show me anything like that in "URL Configuration" but you can see the main page URL is simply https://www.emailtoinmates.com/forum
The errors say line 479 but I don't understand the code, I'd be happy to let you or someone from e107 to look at it from the inside
On Wed, Aug 17, 2022 at 9:32 AM Jimako @.***> wrote:
@STR82UII https://github.com/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.
— Reply to this email directly, view it on GitHub https://github.com/e107inc/e107/issues/4852#issuecomment-1218169491, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2QGIYVQLCAB5EVX45BSDU3VZUAYTANCNFSM56XW3QVA . You are receiving this because you were mentioned.Message ID: @.***>
@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:
Do you know how to export e107 Data? Database/Tools/Export - and select forum tables and forum prefs.
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
Here is what I got
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
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
OK, this is from the "Export Site Data"
Sorry for the blank file, this is correct
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/
Did you get the email with your password?
Mine is Windows 10 In S Mode, it only allows installing Microsoft Store apps
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.
With latest 2.3.3 git it works correctly.
You could update forum plugin (only this one) from github version 2.3.3
Understood, I'll try to get that....
@STR82UII Does the issue still occur using the latest files from Github?
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