Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: MaryLouW on February 15, 2019, 07:09:32 PM

Title: Missing Index
Post by: MaryLouW on February 15, 2019, 07:09:32 PM
Help!   I did a booboo and cannot access my forum!  All was going just fine until someone mentioned that the "Like" button stopped working.  I had installed LikePost2.0.5 some time ago without any problems.  It stopped working one other time so I  just uninstalled it and re-installed and once again all was fine.

Today, I uninstalled it, hoping to get the same results as before...  reinstall but now, the only thing visible is my background and banner.  No index, no nothing.  I don't have any idea what I need to do to get back to where I was.

I cannot log in because I'm already logged in.  Tried it using another browser, got the login screen, but only got the background and banner.  I think I need HELP!  What can I do to get my forum back?
Title: Re: Missing Index
Post by: Kindred on February 15, 2019, 07:59:43 PM
do you have a backup of the files?
Title: Re: Missing Index
Post by: MaryLouW on February 15, 2019, 08:03:53 PM
Unfortunatley, I do not.  I didn't think uninstalling  something would  cause such a problem. 

I just realized that I didn't post the url of the forum which is http://pirc-forum.com
Title: Re: Missing Index
Post by: br360 on February 15, 2019, 08:07:08 PM
I can see and access your entire forum now. Can you try clearing your browser's cache?

Also, it's possible your host does daily back ups and if you ever need a back up, you can reach out to them. Just know they may charge you a fee and there is no guarantee their back up is recent. They could back up once a week or month
Title: Re: Missing Index
Post by: MaryLouW on February 15, 2019, 08:54:12 PM
OH my gosh, you're right... it's all there!  I did empty the cache on Chrome.  Got the same results.  So, tried Edge and FireFox. All gave me the same results.  Since I put up that theme for Valentine's day, I wouldn't have thought it would be in the FF or the Edge cache since I haven't used either of them in months.

So, I loaded up CCleaner and cleaned house, rebooted, and when I came back, sure enough, my forum was all there!  Thanks for letting me know!!

I am sure my host, which I've had for the last 11 years has backups and they don't charge me to do that.  Some years back, I had to do a restore.

So now, I'm going looking for that "like" button again because my users love it!  Thanks for the HELP!!  Seriously, I always feel better when I KNOW I can get help here if I need it, and even if I don't need it!  Thanks for being there.
Title: Re: Missing Index
Post by: Sir Osis of Liver on February 15, 2019, 09:03:54 PM
Hey, MaryLou.  I have admin access at http://pirc-forum.com/index.php/theme=1, but your default theme, StValPink, is broken.
Title: Re: Missing Index
Post by: MaryLouW on February 15, 2019, 09:08:48 PM
OH!  Apparently, all my custom themes are broken?  I never use the one I see there now.  I wanted to switch back to PIRC Blues but now, I'm afraid to do it!   Any suggestion?   Sure glad you were able to get in because I couldn't!

Do I dare install the Like Mod again? That's the one that I uninstalled when everything went bad.  How did you get to the default blue screen?  I couldn't even log in because I was already logged in.
Title: Re: Missing Index
Post by: Sir Osis of Liver on February 15, 2019, 09:11:34 PM
Switched to PIRC Blues, looks ok.  You can get in with link in my previous post if theme is broken, it will load into Curve.
Title: Re: Missing Index
Post by: MaryLouW on February 15, 2019, 09:18:44 PM
THANK YOU!!!!  It's all back to normal once again!    :) :) :)

Do I dare install the Like mod again?

Since my valentine theme isn't working, I am wondering if my other holiday themes will work?  I copied the link you gave me and put it in a safe place just in case!!
Title: Re: Missing Index
Post by: Sir Osis of Liver on February 15, 2019, 09:20:28 PM
Hold on, I'll have a look.

It didn't uninstall cleanly, left some code in index.template.php in a couple of themes I looked at, possibly in other files.  Reinstall crashed the forum probably because it added duplicate code.  Would have to manually remove remnant code from all files.  You have ver. 2.0.5, current version is 2.1.2, don't know if code is the same.  You could ask vbgamer in mod support topic -

https://www.simplemachines.org/community/index.php?topic=506743.0
Title: Re: Missing Index
Post by: MaryLouW on February 16, 2019, 02:19:31 AM
Finally!  All is as it should be!  I found the later version of the Like button, deleted the file from the server for the old one then installed the newer version.  That works perfectly.  And.. to my surprise, so do ALL of my themes, even the Valentine one! 

I don't like to mess with the code.  I'm just lucky that I've been able to keep this forum up and running for the last 15 years!  Of course, I did have a lot of help from you guys here - you're always so willing to help which gives me the confidence to play with the little things like installing mods and changing colors.   It's funny how installing the Like mod again fixed everything. 

Anyway, all is well and as always,my many thanks to you guys here who are my heros!! :)