News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Tidy Child Boards error - SMF 2.0.19

Started by Vedaddz, January 28, 2024, 03:08:03 PM

Previous topic - Next topic

Vedaddz

so the thing i'm trying to fix rn is whenever i add the tidy child boards mod to my forum (i know it doesn't get updates anymore, but it's just too good), i get an error, and the error is HTTP Error 500. i tried to change my php version multiple times, tried everything i saw but couldn't get it to work.. anybody got a fix?

Arantor

What's the actual error?

HTTP 500 is literally "something went wrong" - there should be an error log on the server somewhere.
Holder of controversial views, all of which my own.


Sir Osis of Liver

When in Emor, do as the Snamors.
                              - D. Lister

Vedaddz

Quote from: Arantor on January 28, 2024, 03:14:10 PMWhat's the actual error?

HTTP 500 is literally "something went wrong" - there should be an error log on the server somewhere.
I'm not sure, do you know where they store logs on Namecheap, or should i just live chat and ask them?

Quote from: Sir Osis of Liver on January 28, 2024, 03:19:12 PMWhere did you get the package?


I think i got it from a website smfhacks or something like that, because the github version doesn't change anything (the child boards stay like normal)

Sir Osis of Liver

Attached is Arantor's legit package.  Uninstall what you have and try this.
When in Emor, do as the Snamors.
                              - D. Lister

Vedaddz

Quote from: Sir Osis of Liver on January 28, 2024, 03:35:40 PMAttached is Arantor's legit package.  Uninstall what you have and try this.



Done, still getting the HTTP error. I'll try to find the logs tomorrow, since i'm on phone rn and can't really do much.

Sir Osis of Liver

TCB installs normally in 2.0.19 running in php 8.0.  You may have a conflict with another mod.

When in Emor, do as the Snamors.
                              - D. Lister

Vedaddz

Quote from: Sir Osis of Liver on January 28, 2024, 04:00:26 PMTCB installs normally in 2.0.19 running in php 8.0.  You may have a conflict with another mod.



Only other mod i have is yet another youtube bbcode i think is called

Sir Osis of Liver

You'll have to check for forum and server errors.

Both packages install successfully on test install.
When in Emor, do as the Snamors.
                              - D. Lister

Vedaddz

Quote from: Arantor on January 28, 2024, 03:14:10 PMWhat's the actual error?

HTTP 500 is literally "something went wrong" - there should be an error log on the server somewhere.

PHP Fatal error: Cannot redeclare tidyChildBoards() (previously declared in /home/.../public_html/Sources/Subs-BoardIndex.php:286) in /home/.../public_html/Sources/Subs-BoardIndex.php on line 387

the ... is cpanel username, i had to hide it.

Vedaddz

Quote from: Vedaddz on January 29, 2024, 04:18:30 AM
Quote from: Arantor on January 28, 2024, 03:14:10 PMWhat's the actual error?

HTTP 500 is literally "something went wrong" - there should be an error log on the server somewhere.

PHP Fatal error: Cannot redeclare tidyChildBoards() (previously declared in /home/.../public_html/Sources/Subs-BoardIndex.php:286) in /home/.../public_html/Sources/Subs-BoardIndex.php on line 387

the ... is cpanel username, i had to hide it.

I fixed this but now after installing the mod it has no functionality, like the mod didn't change anything, it's still the Child Boards: stuff

Steve

And this is after you changed the default settings?
My pet rock is not feeling well. I think it's stoned.

Sir Osis of Liver

Just a guess, but looks like you have some remnant code from multiple TCB installs/uninstalls.  TCB edits two files, /Sources/ManageSettings.php and /Sources/Subs-BoardIndex.php.  You can try to find the code and remove it, or, since you only have one other mod installed, upload a clean set of 2.0.19 files and start fresh.
When in Emor, do as the Snamors.
                              - D. Lister

Vedaddz

Quote from: Sir Osis of Liver on January 29, 2024, 11:56:42 AMJust a guess, but looks like you have some remnant code from multiple TCB installs/uninstalls.  TCB edits two files, /Sources/ManageSettings.php and /Sources/Subs-BoardIndex.php.  You can try to find the code and remove it, or, since you only have one other mod installed, upload a clean set of 2.0.19 files and start fresh.


I already did that, that's how i fixed the PHP Fatal error

Quote from: Steve on January 29, 2024, 08:31:47 AMAnd this is after you changed the default settings?

Wdym?

Steve

I'm going off memory which isn't that great these days but doesn't the mod redirect to it's settings after installation?
My pet rock is not feeling well. I think it's stoned.

Vedaddz

Quote from: Steve on January 29, 2024, 02:09:19 PMI'm going off memory which isn't that great these days but doesn't the mod redirect to it's settings after installation?

No, it doesn't.. Where can i find the settings??

Steve

@Arantor would probably know more than I can remember. Somewhere there are settings for number of boards in a column and what you want them called. I don't have a 2.0 installation to check it for you.

Edit: looking at the mod's support topic it says the settings are in Features and Options.
My pet rock is not feeling well. I think it's stoned.

Vedaddz

#17
Quote from: Steve on January 29, 2024, 03:00:22 PM@Arantor would probably know more than I can remember. Somewhere there are settings for number of boards in a column and what you want them called. I don't have a 2.0 installation to check it for you.

Edit: looking at the mod's support topic it says the settings are in Features and Options.

Tysm :D! Do you maybe know how to put an icon next to it, like a favicon?

Edit: found it, thanks everyone for help!

Arantor

Quote from: Steve on January 29, 2024, 03:00:22 PM@Arantor would probably know more than I can remember.

I wrote the first version of this mod in 2009, I don't remember :P
Holder of controversial views, all of which my own.


Steve

Quote from: Arantor on January 29, 2024, 03:53:47 PMI don't remember
It only gets worse the older you get.  :P

@Vedaddz - you're quite welcome.  :)
My pet rock is not feeling well. I think it's stoned.

Advertisement: