Warning: The author of this contribution does not provide support for it anymore.

Thanks for posts

I can't access my forum after installing Thanks for Posts - Thanks for posts

I can't access my forum after installing Thanks for Posts

by kay81 » Tue Jun 17, 2014 12:15 am

Hello,

I just finished installing the Thanks for Posts Mod. I installed manually like I did with the few mods I have installed. Everything went well. And I run the PHP file http://www.nigerianweddingforum.com/ins ... ks_mod.php

It took me to my forum. Then I deleted the install file and tried to access my forum again but I got the error below.

Parse error: syntax error, unexpected $end in /home2/host3681/public_html/index.php on line 160

So I re-uploaded the file and through the URL above tried accessing the site again. Everything went fine. I purged cache then refreshed Template, Theme and Imageset. Then I deleted the Install file. And activated the mod and did my setting. However when I tried to access my forum domain name I still get the error above.

Please can someone tell me what's going on?

Thanks for your time.
kay81
Registered User
Posts: 13
Joined: Thu May 08, 2014 5:01 am
Location: www.nigerianweddingforum.com
Name: Karo Itoje
Contact:

Re: I can't access my forum after installing Thanks for Post

by 5hocK » Tue Jun 17, 2014 1:56 pm

kay81 wrote: And I run the PHP file http://www.nigerianweddingforum.com/ins ... ks_mod.php

It took me to my forum.

It should take you to the installer (below)
thanks_for_post_installer.png

kay81 wrote:So I re-uploaded the file

Which one? Your backup, or a fresh copy? Did you redo the edits?
5hocK
Registered User
Posts: 3139
Joined: Wed Nov 23, 2011 7:00 pm
Location: UK
Contact:

Re: I can't access my forum after installing Thanks for Post

by kay81 » Tue Jun 17, 2014 10:11 pm

5hocK wrote:
kay81 wrote: And I run the PHP file http://www.nigerianweddingforum.com/ins ... ks_mod.php

It took me to my forum.

It should take you to the installer (below)
thanks_for_post_installer.png

kay81 wrote:So I re-uploaded the file

Which one? Your backup, or a fresh copy? Did you redo the edits?


That definitely wasn't where it took me. It took me to the forum Register page.

When I said I re-uploaded the file, I meant I reuploaded the install_thanks_mod.php You know after running it I was supposed to delete it. So I thought using that link passed as running it. So I deleted it. However when I did, I couldn't access my site's URL anymore. When I tried to, I get the error I mentioned. But when I re-uploaded the previously deleted PHP file, I can access my site through domain.com/install_thanks_mod.php

I did all edits I was supposed to do and didn't have any problem. I uploaded all files I was supposed to upload. So I don't know where the problem is coming from. Or isn't that the URL I was supposed to run?

Thanks for trying to help me sort this out.
kay81
Registered User
Posts: 13
Joined: Thu May 08, 2014 5:01 am
Location: www.nigerianweddingforum.com
Name: Karo Itoje
Contact:

Re: I can't access my forum after installing Thanks for Post

by 5hocK » Wed Jun 18, 2014 6:34 am

That's the screen you should see when you go to the URL example.com/install_thanks_mod.php - You have to click the Submit button to run the installer.
If you don't see that screen then you haven't installed the Mod correctly; all edits need to be correct (plus those for your style) and all files ned to be uploaded to the correct places (including style files if you're not using prosilver or subsilver2)

What happens if you clear your boards cache? Delete everything in the cache folder on the server except for index.htm and the .htaccess file.
5hocK
Registered User
Posts: 3139
Joined: Wed Nov 23, 2011 7:00 pm
Location: UK
Contact:

Re: I can't access my forum after installing Thanks for Post

by kay81 » Wed Jun 18, 2014 11:22 pm

5hocK wrote:That's the screen you should see when you go to the URL example.com/install_thanks_mod.php - You have to click the Submit button to run the installer.
If you don't see that screen then you haven't installed the Mod correctly; all edits need to be correct (plus those for your style) and all files ned to be uploaded to the correct places (including style files if you're not using prosilver or subsilver2)

What happens if you clear your boards cache? Delete everything in the cache folder on the server except for index.htm and the .htaccess file.


Hello,

I deleted everything in the cache folder of the server as you suggested and when I visited the link again domain.com/install_thanks_mod.php I saw exactly what you said I would. And I choose the Yes to display all results. And clicked submit. I got some errors. Please see the attached images for all the errors I got.

Image
Image
Image
Image
Image

What do I do next? I mean about these errors.

Plus when you visit my forum it still shows

Parse error: syntax error, unexpected $end in /home2/host3681/public_html/index.php on line 160


How do I correct that.

Thanks for your help so far. I really appreciate your time.
kay81
Registered User
Posts: 13
Joined: Thu May 08, 2014 5:01 am
Location: www.nigerianweddingforum.com
Name: Karo Itoje
Contact:

Re: I can't access my forum after installing Thanks for Post

by 5hocK » Fri Jun 20, 2014 4:39 pm

kay81 wrote:Please see the attached images for all the errors I got.

The error message says the database entries are already there, so you should be ok.
kay81 wrote:
Parse error: syntax error, unexpected $end in /home2/host3681/public_html/index.php on line 160
How do I correct that.

You need to check file edits (if they're right, the Mod works) - Start with index.php and your_style/template/index_body.html
Remember to clear cache afer editing.
5hocK
Registered User
Posts: 3139
Joined: Wed Nov 23, 2011 7:00 pm
Location: UK
Contact: