Advertisement:

Author Topic: Trouble Installing Forum  (Read 1804 times)

Offline novic3

  • Semi-Newbie
  • *
  • Posts: 38
Re: Trouble Installing Forum
« Reply #40 on: May 18, 2018, 09:55:45 PM »
Thank you for your help guys I got the theme fixed however, Now I have TWO problems

#1 I don't see the smily faces.

#2 When I hit "http://freeadzworld.com" I only get to my domain parking page the only way I can get to my forum is if I type "http://freeadzworld.com/forum"

How do I fix these issues?

Thank you for your time.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,102
  • Gender: Male
    • Kindred-999 on GitHub
Re: Trouble Installing Forum
« Reply #41 on: May 18, 2018, 10:02:31 PM »
The first one is almost definitely still a path problem.   Check the smiley url setting in the admin tools

As for the second...  you will need to set up an htaccess redirect to bounce people to the subdirectory automatically.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline novic3

  • Semi-Newbie
  • *
  • Posts: 38
Re: Trouble Installing Forum
« Reply #42 on: May 18, 2018, 10:13:38 PM »
sorry I am still new. How would I do this? I have no idea how to program.

Thanks

Offline Chen Zhen

  • Sophist Member
  • *****
  • Posts: 1,143
  • Gender: Male
  • If you're going through hell, keep going!
    • Underdog-01 on GitHub
    • WebDev.ca
Re: Trouble Installing Forum
« Reply #43 on: May 19, 2018, 01:05:39 AM »
He means you can create a .htaccess file in your public_html path with some rules in it that force a redirect to /forum.

Option1:

ie.
domain park page path: ../public_html
your forum path: ../public_html/forum

then you create a .htaccess file in the public_html folder with the following in it:
Code: [Select]
RewriteEngine on
RewriteBase /forum

RewriteCond %{REQUEST_URI} !^/forum
RewriteRule .? /forum%{REQUEST_URI} [L]



Option2:

Alternately your CPanel may have an option to add redirects.
look at this video:
https://www.google.ca/search?q=cpanel+create+redirects&oq=cpanel+create+redirects&aqs=chrome..69i57j0.7390j1j8&sourceid=chrome&ie=UTF-8#kpvalbx=1



Option 3:
Manually edit your Apache httpd config file.
Imo you are not ready for this approach and/or do not have access to do so.
Cpanel actually does this for you when using Option 2.


Offline novic3

  • Semi-Newbie
  • *
  • Posts: 38
Re: Trouble Installing Forum
« Reply #44 on: May 19, 2018, 01:25:59 AM »
ok I think I got that part mostly fixed.

I have no idea what apache is and the inner components of the forum

what is the simplest way to fix the smilies?

Should I clear cookies maybe?


thx

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 49,850
Re: Trouble Installing Forum
« Reply #45 on: May 19, 2018, 06:17:29 AM »
you need to run the repair_settings.php file again as already suggested to fix all your URL's and paths.

What is repair_settings.php?

Offline novic3

  • Semi-Newbie
  • *
  • Posts: 38
Re: Trouble Installing Forum
« Reply #46 on: May 19, 2018, 12:32:46 PM »
ok I uploaded the folder and got it to work. Now what do I do to fix the smilies?

Thx
« Last Edit: May 19, 2018, 12:52:21 PM by novic3 »

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,343
  • Gender: Male
    • Macedonian electronics forum
Re: Trouble Installing Forum
« Reply #47 on: May 19, 2018, 01:46:58 PM »
Change the required paths/URLs to the adequate ones. Most of the time, the suggested values (below the field in which you're supposed to enter the paths/URLs) are correct. Try with the suggested values (click on them to automatically add them in the field above) and report back.

BTW, Apache is a HTTP server.
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline novic3

  • Semi-Newbie
  • *
  • Posts: 38
Re: Trouble Installing Forum
« Reply #48 on: May 19, 2018, 03:45:38 PM »
Change the required paths/URLs to the adequate ones. Most of the time, the suggested values (below the field in which you're supposed to enter the paths/URLs) are correct. Try with the suggested values (click on them to automatically add them in the field above) and report back.

BTW, Apache is a HTTP server.

should I hit "restore all settings"?

what values should I type? thx

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 49,850
Re: Trouble Installing Forum
« Reply #49 on: May 19, 2018, 05:21:41 PM »
yes you can click on restore all settings, then you dont need to type anything just click the save button.

Offline novic3

  • Semi-Newbie
  • *
  • Posts: 38
Re: Trouble Installing Forum
« Reply #50 on: May 19, 2018, 06:19:39 PM »
splended! I hit restore settings and my forum is screwed up beyond belief!

Sorry to vent its my fault lol

But how do I fix it. Now it says my connection is not private and I cannot acces the Admin CP

Offline novic3

  • Semi-Newbie
  • *
  • Posts: 38
Re: Trouble Installing Forum
« Reply #51 on: May 20, 2018, 02:05:47 AM »
yes you can click on restore all settings, then you dont need to type anything just click the save button.

sorry to vent earlier. Sorry to bump and be a pain however my forum is totally inaccessable now. (see photo)

I can't login

before in the repair settings php their was no queryless url however when I ran the file again I did not see the error.

what do I do?

thx

Offline Chen Zhen

  • Sophist Member
  • *****
  • Posts: 1,143
  • Gender: Male
  • If you're going through hell, keep going!
    • Underdog-01 on GitHub
    • WebDev.ca
Re: Trouble Installing Forum
« Reply #52 on: May 20, 2018, 03:02:36 AM »

Somehow you set your url paths as HTTP over TLS (HTTPS) but at the moment you have yet to set up a TLS certificate.
At this point you can likely click on "Advanced" & then tell it to proceed to the website.
Eventually you are going to have to set up a TLS certificate for your domain which you should be able to do in your CPanel.
Just use Let's Encrypt because it is free.

Here is a video on how to enable/install a Let's Encrypt certificate for your domains using CPanel:
https://www.youtube.com/watch?v=89VM3RTI5F8



 

Offline novic3

  • Semi-Newbie
  • *
  • Posts: 38
Re: Trouble Installing Forum
« Reply #53 on: May 20, 2018, 11:18:11 AM »

Somehow you set your url paths as HTTP over TLS (HTTPS) but at the moment you have yet to set up a TLS certificate.
At this point you can likely click on "Advanced" & then tell it to proceed to the website.
Eventually you are going to have to set up a TLS certificate for your domain which you should be able to do in your CPanel.
Just use Let's Encrypt because it is free.

Here is a video on how to enable/install a Let's Encrypt certificate for your domains using CPanel:
https://www.youtube.com/watch?v=89VM3RTI5F8

you mean and SSL? I looked up that clip you sent me however my cpanel is not set up the way it is in the turorial: I don't have the "lets encrypt" option.

Is their another?

thx

Offline Chen Zhen

  • Sophist Member
  • *****
  • Posts: 1,143
  • Gender: Male
  • If you're going through hell, keep going!
    • Underdog-01 on GitHub
    • WebDev.ca
Re: Trouble Installing Forum
« Reply #54 on: May 20, 2018, 11:43:58 AM »
Who is your host?
Is it Namecheap?
Are you using a shared hosting package?

Offline shawnb61

  • Support Specialist
  • Sr. Member
  • *
  • Posts: 945
    • sbulen on GitHub
Re: Trouble Installing Forum
« Reply #55 on: May 20, 2018, 11:49:35 AM »
At the moment, it feels like you are wrestling with two separate issues. 

First is trying to get a clean install up & running.  Second is implementing https. 

My suggestion is that you focus on one at a time.   First step, since you don't have a certificate at this time, I suggest you change all your URLs to http.   ALL of them.   Look very carefully throughout repair_settings.php.

Once things are working via http, you should figure out how to implement https.  There is a step-by-step process for doing so here:
https://www.simplemachines.org/community/index.php?topic=555034.0

One of your first challenges will be where to get the cert from.  If you don't have LetsEncrypt on your cPanel, then you may find it helpful to discuss options with your host.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline Chen Zhen

  • Sophist Member
  • *****
  • Posts: 1,143
  • Gender: Male
  • If you're going through hell, keep going!
    • Underdog-01 on GitHub
    • WebDev.ca
Re: Trouble Installing Forum
« Reply #56 on: May 20, 2018, 12:01:48 PM »
Namecheap by default offers paid TLS certificates for shared hosting although you can request them to install the Lets Encrypt CPanel plug-in.
Their paid certificates may cost you about $50 USD/yr and Lets Encrypt is free.
They are different types though, I will give you some links with the info.

Instructions for Namecheap paid TLS certificates:
https://www.namecheap.com/support/knowledgebase/article.aspx/9387/2218/how-do-i-install-an-ssl-using-your-cpanel-plugin

Info about inquiring the Let's Encrypt plug-in to be installed from Namecheap:
https://community.letsencrypt.org/t/namecheap-response-to-lets-encrypt/51411



Quote
Eventually you are going to have to set up a TLS certificate for your domain...

You don't need to do it now but eventually you will have to.
As shawnb61 suggests, you can change all the https links to http in your repair_settings.php file for now.
When you get your certificate then you can change them back to https

Also note that you should remove the repair settings file when you are not using it.
Upload it again when you need to adjust paths but always remove it when you are done.
 

Offline novic3

  • Semi-Newbie
  • *
  • Posts: 38
Re: Trouble Installing Forum
« Reply #57 on: May 20, 2018, 12:45:59 PM »
don't I have my certificate already?

I bought namecheap hosting and it came with it.

thx

Offline Chen Zhen

  • Sophist Member
  • *****
  • Posts: 1,143
  • Gender: Male
  • If you're going through hell, keep going!
    • Underdog-01 on GitHub
    • WebDev.ca
Re: Trouble Installing Forum
« Reply #58 on: May 20, 2018, 01:02:27 PM »
It looks like they may give you 1 year for free as part of your hosting package.
Then follow instructions from this link:
https://www.namecheap.com/support/knowledgebase/article.aspx/9387/2218/how-do-i-install-an-ssl-using-your-cpanel-plugin

Offline novic3

  • Semi-Newbie
  • *
  • Posts: 38
Re: Trouble Installing Forum
« Reply #59 on: May 20, 2018, 04:49:34 PM »
Ok I think I got it does it look like I have the SSL now?

thx for your time :)