Page 1 of 1

Forums UCP, MCP, ACP, and any user/extention related page keeps breaking

Posted: Thu Apr 18, 2019 3:13 am
by Rick Kraut
What version of phpBB are you using? 3.2.5
What is your board's URL? https://crushedgaming.com/forums/
Who do you host your board with? https://www.hostinger.com/
How did you install your board? used package provided by hostinger, and updated it.
What is the most recent action performed on your board? adding or removing extensions, or deleting their data, or clearing the cache
Is registration required to reproduce this issue? Yes
Do you have any MODs installed? no, no idea what a mod is.
Do you have any extensions installed? yes, i would actually like to srink this list down

Code: Select all

24 hour activity stats     
Advanced BBCode Box 
Authorized for urls 
Board Announcements 
Board Rules
Clipboard Image
Collapsible Forum Categories
Database Optimize & Repair Tool
Discord Join Button 
Hide Bots 
mChat     
Member time counter
Modern quote
Normal and Special Ranks
Notes
Online Status
Pages     
phpBB Countdown     
phpBB Topic Prefixes         
Pretty Topic             
Profile Flair         
Read other's topics Permission     
Remove Subject from Replies         
Seo Meta Description     
Simple mentions         
Steam Status         
Stop Forum Spam         
Tabbed stat-block         
Time to Read         
Topic Age Day         
Top Poster Of The Month         
Ultimate phpBB SEO Friendly URL         
Ultimate Points Extension         
Unique Visits Counter         
Username BBCode         
VigLink         
Word Count
What styles do you currently have installed? a modified version of Purplexion
What language(s) is your board currently using? English
Which database type/version are you using? MySQL(i) 10.2.17-MariaDB
What is your level of experience? pretty new to php and phpbb, have done some light coding in php over the 2 months we have had this forum.
What username can be used to view this issue? Testing support
What password can be used to view this issue? TestMePlease1
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? adding or removing extensions, or deleting their data, or clearing the cache
Please describe your problem. any and all pages that are user specific break after adding extensions, removing extensions (properly and improperly), deleting data of extensions, clearing cache. (note this affects even extensions that don't really have any database modification, such as AJAX userinfo

the only temporary fix I've found is to go back to a backup, which isn't really helpful, and in fact annoying. and requires going into the FTP connection every time...

another issue, idk if related, is that extension multi-page links
such as https://crushedgaming.com/forums/app.ph ... ll_of_fame
example of broken page: https://crushedgaming.com/forums/app.ph ... e?start=12 (as you can see its adding an extra "/forums/app.php/" this is impacting most if not all extentions that use a page system like this.

Re: Forums UCP, MCP, ACP, and any user/extention related page keeps breaking

Posted: Thu Apr 18, 2019 8:32 am
by Mick
  1. phpBB 3.2.5 does not support PHP Version 7.3.*, you need to downgrade to 7.2.* or lower.
  2. Your cookie domain shows crushedgaming.com and it should be .crushedgaming.com, note the leading dot see Knowledge Base - Fixing incorrect cookie settings.

Re: Forums UCP, MCP, ACP, and any user/extention related page keeps breaking

Posted: Thu Apr 18, 2019 8:42 am
by david63
Rick Kraut wrote:
Thu Apr 18, 2019 3:13 am
this affects even extensions that don't really have any database modification
All extensions modify the database

Re: Forums UCP, MCP, ACP, and any user/extention related page keeps breaking

Posted: Thu Apr 18, 2019 7:15 pm
by Rick Kraut
Mick wrote:
Thu Apr 18, 2019 8:32 am
  1. phpBB 3.2.5 does not support PHP Version 7.3.0, you need to downgrade to 7.2.* or lower.
  2. Your cookie domain shows crushedgaming.com and it should be .crushedgaming.com, note the leading dot see Knowledge Base - Fixing incorrect cookie settings.
This helped, now user pages, mcp, and extension made pages are fixed...

But acp is now a blank screen, when adding or removing an extension, or deleting its data. Clearing the cache doesn't cause any problems like last time.
(multi page lists for extensions were also fixed)

What's weird is I did the php 7.3 update a week ago id say almost to the hour...

If there is anything else that you would like me to test let me know.
edit: also updated cookies...

Re: Forums UCP, MCP, ACP, and any user/extention related page keeps breaking

Posted: Thu Apr 18, 2019 8:16 pm
by david63
Rick Kraut wrote:
Thu Apr 18, 2019 7:15 pm
What's weird is I did the php 7.3 update a week ago id say almost to the hour...
phpBB 3.2.5 is not compatible with PHP 7.3 - downgrade your PHP to 7.2

Re: Forums UCP, MCP, ACP, and any user/extention related page keeps breaking

Posted: Thu Apr 18, 2019 9:29 pm
by Rick Kraut
david63 wrote:
Thu Apr 18, 2019 8:16 pm
Rick Kraut wrote:
Thu Apr 18, 2019 7:15 pm
What's weird is I did the php 7.3 update a week ago id say almost to the hour...
phpBB 3.2.5 is not compatible with PHP 7.3 - downgrade your PHP to 7.2
i did...

Re: Forums UCP, MCP, ACP, and any user/extention related page keeps breaking

Posted: Thu Apr 18, 2019 10:54 pm
by stevemaury
Disable all extensions. Re-enable one at a time.

Re: Forums UCP, MCP, ACP, and any user/extention related page keeps breaking

Posted: Fri Apr 19, 2019 2:28 am
by Rick Kraut
stevemaury wrote:
Thu Apr 18, 2019 10:54 pm
Disable all extensions. Re-enable one at a time.
I repeat my statement...
But acp is now a blank screen, when adding or removing an extension, or deleting its data.

Re: Forums UCP, MCP, ACP, and any user/extention related page keeps breaking

Posted: Fri Apr 19, 2019 2:58 am
by AbaddonOrmuz
You can disable all extensions by running the following SQL sentence in phpMyAdmin:

Code: Select all

UPDATE phpbb_ext SET ext_active = 0 WHERE ext_active = 1;
Change phpbb_ if your table prefix is different.

After that you must purge the cache manually, that is, deleting all files and directories in the /cache/ directory except index.htm and .htaccess

Re: Forums UCP, MCP, ACP, and any user/extention related page keeps breaking

Posted: Fri Apr 19, 2019 3:11 am
by Rick Kraut
AbaddonOrmuz wrote:
Fri Apr 19, 2019 2:58 am
You can disable all extensions by running the following SQL sentence in phpMyAdmin:

Code: Select all

UPDATE phpbb_ext SET ext_active = 0 WHERE ext_active = 1;
Change phpbb_ if your table prefix is different.

After that you must purge the cache manually, that is, deleting all files and directories in the /cache/ directory except index.htm and .htaccess
it worked, didn't even need to go and manually delete the cache.

Re: Forums UCP, MCP, ACP, and any user/extention related page keeps breaking

Posted: Fri Apr 19, 2019 6:43 am
by david63
AbaddonOrmuz wrote:
Fri Apr 19, 2019 2:58 am
You can disable all extensions by running the following SQL sentence in phpMyAdmin:
That is not good advice. Whilst it will work sometimes there are some instances where it will cause even more problems.

The correct way is to follow this Knowledge Base - Disabling all extensions at once

Re: Forums UCP, MCP, ACP, and any user/extention related page keeps breaking

Posted: Fri Apr 19, 2019 2:13 pm
by AbaddonOrmuz
david63 wrote:
Fri Apr 19, 2019 6:43 am
That is not good advice. Whilst it will work sometimes there are some instances where it will cause even more problems.
Could you give me an example? You mention that in the article but you don't give reasons.

I just checked the script, "correctly" is sometimes subjective, for me is not correct to create a HTML using echo, for me doing it correctly would be to create a variable by concatenating or using the heredoc syntax.

Also the function get_active_ext() is not that useful, you could count the results from a single SQL query instead or doing it twice, one for COUNT() and other to get the data.

Re: Forums UCP, MCP, ACP, and any user/extention related page keeps breaking

Posted: Fri Apr 19, 2019 2:29 pm
by david63
AbaddonOrmuz wrote:
Fri Apr 19, 2019 2:13 pm
Could you give me an example? You mention that in the article but you don't give reasons.
The issue is where an extension uses the ext.php file to do some processing - particularly where it is removing something. If that is not removed in some extensions then the process is still active on the board but the rest of the code that would invoke it is missing.

As for using echo; If I remember correctly at the time of writing it was the only method available that could be guaranteed to work with any browser.