SMF Support > SMF 1.1.x Support

Forum suddenly down

(1/2) > >>

chinclub:
I am using 1.1.11.  I have not added any new mods or changed anything in over 6 months.  Today all of the sudden when you view any thread topic you get:

8: Undefined index: post_group
File: /home/chinclub/forum/Sources/Load.php
Line: 1118

If you view a profile you get:

8: Undefined index: pets
File: /home/chinclub/forum/Sources/Load.php
Line: 1120

(although interesting, my own profile is not broken)


Here are the load.php excerpts for both lines:


--- Code: ---1115 'group' => $profile['member_group'],
1116 'group_color' => $profile['member_group_color'],
1117 'group_id' => $profile['ID_GROUP'],
1118 'post_group' => $profile['post_group'],
1119        //another pets modification
1120 'pets' => $profile['pets'],
1121
1122 'post_group_color' => $profile['post_group_color'],

--- End code ---


I have two mods that work with the pets

SMFPets 0.2
SMFShop

I have made no changes to these or any other mod in forever.  What can I do to fix it?



chinclub:
I decided to try and just uninstall SMFPets but got an error.  I am willing to uninstall SMFShop but I'm a little afraid to do anything right now.

I am also willing to upgrade to a newer forum version if that would help.  Or would it be worse with the current problem?

MrPhil:
Get this first problem straightened out before trying to uninstall another mod, or upgrading to 1.1.16 (you are way out of date).

Remove mods in the reverse order you installed them (last one installed should be the first one removed). If they don't remove cleanly, go to the mod's page and "Parse" the instructions. Follow these instructions to see what changes it makes to the code, and see what was missed and you need to do manually (either to finish removing a mod, or to finish installing one). SMF will tell you the files it was unable to update in either case, and you need to manually edit per the "Parse" instructions if you tell it to go ahead with the mod install or removal. Needless to say, you need to be comfortable working with editing PHP code to pull this off.

As for the original problem, it's possible that your host upgraded something which broke your code (say, PHP level). You should look around for error logs and error files to see if they give any hints of trouble. It's unlikely that your host did a partial restore of an old backup (so you have mixed code levels). It's more likely a hacker got in and broke something while hacking your files. Check all the "last modified" dates on your files, looking for suspiciously recent changes, keeping in mind that some of those would be modified again when you tried removing the mod.

chinclub:
Well, I am now locked out of my admin panel!!  I am thinking I now have no choice but to upgrade?

redone:
What error messages are you receiving when attempting to login?

Navigation

[0] Message Index

[#] Next page

Go to full version