News:

Join the Facebook Fan Page.

Main Menu

Trouble Installing Forum

Started by novic3, May 17, 2018, 09:45:03 PM

Previous topic - Next topic

novic3

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.

Kindred

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.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

novic3

sorry I am still new. How would I do this? I have no idea how to program.

Thanks

Chen Zhen

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:

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.


My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

novic3

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

Illori

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?

novic3

#46
ok I uploaded the folder and got it to work. Now what do I do to fix the smilies?

Thx

GigaWatt

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?"..."

novic3

Quote from: GigaWatt 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.

should I hit "restore all settings"?

what values should I type? thx

Illori

yes you can click on restore all settings, then you dont need to type anything just click the save button.

novic3

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

novic3

Quote from: Illori 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.

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

Chen Zhen


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





My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

novic3

Quote from: Chen Zhen 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

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

Chen Zhen

Who is your host?
Is it Namecheap?
Are you using a shared hosting package?

My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

shawnb61

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

Chen Zhen

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.

My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

novic3

don't I have my certificate already?

I bought namecheap hosting and it came with it.

thx

Chen Zhen

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

My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

novic3

Ok I think I got it does it look like I have the SSL now?

thx for your time :)

Advertisement: