Site is down (403 Access denied)

Second that :slightly_smiling_face:

I’m ready to try it. Worst case scenario - I’ll be building site from scratch, which I have already done a few times.

Fortunately, I got that covered. I guess, we’ll see how it goes :grinning::crossed_fingers:

The full step-by-step guide is here. Make sure to ask if you have trouble following it:

  1. Create a new hosting account.
  2. Remove the domain from your old account.
  3. Get a clean copy of WordPress. Do not use softaculous.
  4. Add the domain to your new account.

Make sure not to install WordPress at this step.

  1. Go to your old DB and check the wpmi_options table. Tell me what is the value of active_plugins, template, and stylesheet.

This is used to determine what plugins and theme you are using right now. It would be better if you can figure it out yourself, but if not, I can help.

  1. Extract WordPress locally.
  2. Download the required plugins (usually from WordPress.org) and put the extracted files into wp-content/plugins.
  3. Do the same for theme, and put the files into wp-content/themes.

This is to make sure the pages won’t broke due to a missing plugin or theme.

  1. Create a new DB inside the new account.
  2. Remember the following info of the new DB:
    • DB Name
    • DB Host
    • Account Username
    • Account password.
  3. Import the DB:
    1. Open phpMyAdmin of the new DB.
    2. Hit “Import” tool in the tab.
    3. Upload the backup you just got (hopefully you got it!) and restore from the backup.

This will transfer the old DB data to the new DB.

  1. Copy the wp-config-sample.php into wp-config.php. Then change the following lines (All the info is from the new DB and new account) :
/** The name of the database for WordPress */
define( 'DB_NAME', 'DB Name' );

/** Database username */
define( 'DB_USER', 'Account Username' );

/** Database password */
define( 'DB_PASSWORD', 'Account password' );

/** Database hostname */
define( 'DB_HOST', 'DB Host' );

and this line:

$table_prefix = "wpmi_";
  1. Upload all the content to the new account, inside the htdocs folder.

The final structure should look like this:

htdocs
    - wp-admin
    - wp-content
    - wp-includes
    - index.php
    - ...

Make sure to use a desktop ftp client like FileZilla, instead of the online file manager.

  1. If you previouly have an active SSL certificate for your old site, you’ll have to go to “Free SSL Certificate” and either reinstall or request for a new certificate.

Now after all these steps, if everything goes well, you should be able to see your site without images.

Then it’s the boring job: fix the images.

5 Likes

Them there all files disapear…
More then 10 hours and no reply from admin ?

1 Like

Website URL

http://bloxbux.rf.gd/

Error Message

403 Access denied

Other Information

My files are gone and i worked so hard at the website

1 Like

It’s not looking good at the moment. Seems like two or more volumes have been affected and all the website files on these volumes have been lost.

Let’s be patient and wait for a reply from the admin. Mistakes happen all he time.

I’m sorry for not communicating about this issue before.

It seems like something happened to hosting volumes vol1_7 and vol1_8. I don’t know yet what exactly happened, or if there is any chance your website files can be recovered.

I’ve created an outage topic about this. I will update it as soon as I know more.

8 Likes

Nice, the forum has blocked me for 15 hours for being too active :grinning:

Thanks Frank419, this really helps me out. But Jeezless, what have I got myself into?! :grimacing:

I’m not starting to fix anything until the issue has been dealt with, but since we’re on this topic, is my understanding correct, that I have to import the database into the copy of Wordpress installed locally on my computer? Just out of curiosity, will it work, if I install the fresh WP on the hosting along with all the plugins and then restore the database from a backup?

You weren’t wrong about that, that’s for sure

Active plugins:
envira-gallery-lite
image-widget-rb
pagelayer
popularfx-templates
simply-gallery-block
w3-total-cache
wp-statistics

Both “template” and “stylesheet” simply say “neve”

I never said you should install WordPress locally — the local operations only make sure that all the necessary files are there.

You’ll have to create a new hosting account, create a new DB inside that new account, and put the backup into that new DB.

You actually get a neat list, glad you are actually clever on this one! You can now easily know what plugins you are using; you may try searching these plugins on wordpress.org now.

As for the theme, it’s obvious you are using the Neve theme. I’m sure that theme is on wp.org so you can download it.

It’s also possible to do this, if you follow this approach then you can easily install plugins and themes in your dashboard.

But you’ll still have to change $table_prefix to "wpmi_" in wp-config.php after importing the DB, in order to connect your new site to the old DB.

3 Likes

Yeah, this seems like the way to go. I think I’ll try that. Thanks a bunch for the detailed instruction, you’ve brought me a few steps closer to fixing my page.

As I suspected, there’s no magic trick, and to get the site goes back online requires a lot of elbow-grease, one way or another. Maybe I should invest in a paid accout with a backup option. Room for thought :sweat_smile:

I cannot really disagree with this one; automatic backups are just that helpful. But you still have to learn about manually backing up websites.

2 Likes

Even if your provider makes backups of your account, it’s still good to have your own backups, or at least know how to make them.

If your hosting provider has a problem which results in the backups not being created, or being created incorrectly, then you don’t have usable backups. Or they store the backups on the same servers which holds your website, so when the server breaks, those backups are gone too (server issues cascading to the backup storage is surprisingly common).

And if your accounts get suspended or terminated for whatever reason (suspected abuse, non-payment, technical error, or just because the host doesn’t like you), you may be unable to access the backups your provider made for you.

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.