Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pls, Help! Restored Site is Not Displaying
#1
I urgently need help. I backed up my former forum by downloading straight from cpanel. Now it's not displaying through the new Cpanel hosting I bought. Check it: http://yorubaunity.org

Also, how can I auto delete bots' and spammers thousands post from my send forum: http://cppower.org
Reply
#2
The message clearly states you have issues establishing connection with your database.
Make sure the database credentials (hostname, username, password, database name) are correct and if required edit the credentials to correct in 'inc/config.php' and reupload.
If the problem still persists, contact your host.

For second issue, you can always ban an IP or range of IPs to visit to your site.
ACP > Configuration > Banning
Disclaimer: Don't be misguided looking at my usergroup and assume whatever I say is official. When I speak in community I am just a member with personal opinions.
Reply
#3
(07-13-2018, 10:39 AM)effone Wrote: For second issue, you can always ban an IP or range of IPs to visit to your site.
ACP > Configuration > Banning

Can't you modify the .htaccess file to include single IPs and a range of IPs?

Like what I have done with my .htaccess file? (NOTE: the list in the .htaccess is not exhaustive, just a partial list)

Code:
#this list includes network data on the following countries:
#GHANA
<Limit GET POST>
order allow,deny
deny from 41.57.116.0/22
deny from 41.57.192.0/18
deny from 41.66.192.0/18
deny from 41.74.80.0/20
deny from 41.75.48.0/20
deny from 41.76.24.0/21
deny from 41.77.64.0/21
deny from 41.78.40.0/22
deny from 41.78.124.0/22
deny from 41.78.144.0/22
deny from 41.79.96.0/22
I'm Serpius and You're Not
[Image: 5M7sb0n.png?1]
Reply
#4
(07-13-2018, 10:39 AM)effone Wrote: The message clearly states you have issues establishing connection with your database.
Make sure the database credentials (hostname, username, password, database name) are correct and if required edit the credentials to correct in 'inc/config.php' and reupload.
If the problem still persists, contact your host.

For second issue, you can always ban an IP or range of IPs to visit to your site.
ACP > Configuration > Banning

Thanks so much. I'll try that.
Reply
#5
@serpius we can do many things as a webmaster.
But as a reply to MyBB support thread we should obey the options covered in MyBB

Hope you understand.
Disclaimer: Don't be misguided looking at my usergroup and assume whatever I say is official. When I speak in community I am just a member with personal opinions.
Reply
#6
(07-13-2018, 02:09 PM)effone Wrote: @serpius we can do many things as a webmaster.
But as a reply to MyBB support thread we should obey the options covered in MyBB

Hope you understand.

I do understand, but the .htaccess file has been discussed quite a bit on MyBB.

If my memory serves me correctly, doesn't the initial full installation of the MyBB folder include the htaccess and htaccess-ngix file for the Admins to modify to their liking?
I'm Serpius and You're Not
[Image: 5M7sb0n.png?1]
Reply
#7
(07-13-2018, 02:09 PM)effone Wrote: @serpius we can do many things as a webmaster.
But as a reply to MyBB support thread we should obey the options covered in MyBB

Hope you understand.

I believe you should be presenting more than one option. In this case, IP Banning at a software level and in .htaccess. There’s even Cloudflare where you can block whole countries if you want to go down that path, as I have.
[Image: kAhpvOW.png]
Reply
#8
(07-13-2018, 10:31 PM)Ben Cousins Wrote:
(07-13-2018, 02:09 PM)effone Wrote: @serpius we can do many things as a webmaster.
But as a reply to MyBB support thread we should obey the options covered in MyBB

Hope you understand.

I believe you should be presenting more than one option. In this case, IP Banning at a software level and in .htaccess. There’s even Cloudflare where you can block whole countries if you want to go down that path, as I have.

In Cloudflare, too?

Hmm... I need to look into that more.

UPDATE: Yep, Cloudflare has the Firewall Access Rules option. I've put in a few countries. Let's see if that works.
I'm Serpius and You're Not
[Image: 5M7sb0n.png?1]
Reply
#9
(07-14-2018, 02:18 AM)Serpius Wrote:
(07-13-2018, 10:31 PM)Ben Cousins Wrote:
(07-13-2018, 02:09 PM)effone Wrote: @serpius we can do many things as a webmaster.
But as a reply to MyBB support thread we should obey the options covered in MyBB

Hope you understand.

I believe you should be presenting more than one option. In this case, IP Banning at a software level and in .htaccess. There’s even Cloudflare where you can block whole countries if you want to go down that path, as I have.

In Cloudflare, too?

Hmm... I need to look into that more.

UPDATE: Yep, Cloudflare has the Firewall Access Rules option. I've put in a few countries. Let's see if that works.

Yep. Cloudflare gives a graphical easy to use firewall.
[Image: kAhpvOW.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)