Support Forum

Problems after moving to a new server

98 Answers

New Answer

MP Mr Papa
Mr Papa
Member

okay, thanks…  about to head off to work and Andy is on vacation, so will be tonight at the earliest before I can look…

MP Mr Papa
Mr Papa
Member

your site is throwing many, many errors… most caused by a minify plugin (bwp minify)… those things are more trouble than they are worth… all of our forum stuff is already minimized anyways…   now this is mostly in the front end, but passing along…  it is also minimizing wp js/qjuery scripts in the admin which could be part of the problem too…

in the admin, I am getting a lot of strange file not found errors…

“NetworkError: 404 Not Found – http://www.xxxxxx.com/wp-includes/js/thickbox/thickbox.css?ver=20111117”

“NetworkError: 404 Not Found – http://www.xxxxxx.com/wp-includes/images/admin-bar-sprite.png?d=20111130”

“NetworkError: 404 Not Found – http://www.xxxxxx.com/wp-includes/js/thickbox/loadingAnimation.gif”

These are all standard wp files which leads me to wonder about the integrity of the wp install…

you are also running w3 total cache… have you told it to ignore the wp page the forum appears on for ALL caching types you are using?  you cannot cache the forum page because each page is dynamically generated (with its own internal caching) and output on a single wp page… so caching that wp page will cause the forum to not display properly…

as soon as I enable simple press, I am flooded with a dozens of wp js and jquery errors…  mostly more 404 errors…  just a sample

“NetworkError: 404 Not Found – http://www.******.com/wp-includes/css/admin-bar.css?ver=20111209”

“NetworkError: 404 Not Found – http://www.******.com/wp-includes/js/thickbox/thickbox.css?ver=20111117”

“NetworkError: 404 Not Found – http://www.******.com/wp-includes/js/jquery/ui/jquery.ui.widget.min.js?ver=1.8.16”

“NetworkError: 404 Not Found – http://www.******.com/wp-includes/js/jquery/ui/jquery.ui.core.min.js?ver=1.8.16”

“NetworkError: 404 Not Found – http://www.******.com/wp-includes/js/jquery/jquery.js?ver=1.7.1”

“NetworkError: 404 Not Found – http://www.******.com/wp-includes/js/jquery/ui/jquery.ui.position.min.js?ver=1.8.16”

“NetworkError: 404 Not Found – http://www.******.com/wp-includes/js/admin-bar.js?ver=20111130”

“NetworkError: 404 Not Found – http://www.******.com/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js?ver=1.8.16”

“NetworkError: 404 Not Found – http://www.******.com/wp-includes/js/jquery/ui/jquery.ui.sortable.min.js?ver=1.8.16”

“NetworkError: 404 Not Found – http://www.******.com/wp-includes/js/problem-with-post-edit-buttonoverIntent.js?ver=20090102”

“NetworkError: 404 Not Found – http://www.******.com/wp-includes/js/jquery/jquery.color.js?ver=2.0-4561m”

“NetworkError: 404 Not Found – http://www.******.com/wp-includes/js/thickbox/thickbox.js?ver=3.1-20111117”

“NetworkError: 404 Not Found – http://www.******.com/wp-includes/js/jquery/ui/jquery.ui.core.min.js?ver=1.8.16”

“NetworkError: 404 Not Found – http://www.******.com/wp-includes/js/jquery/ui/jquery.ui.widget.min.js?ver=1.8.16”

“NetworkError: 404 Not Found – http://www.******.com/wp-includes/js/jquery/ui/jquery.ui.position.min.js?ver=1.8.16”

additionally, other plugins such as sidebar login, tippy and others are throwing errors too…

so at this point, afraid not much clue as to why all those standard wp files cannot be found on your site…  have you tried disabling all other plugins and seeing if persists?

can you check the permissions on the simple press directory files and dirs?

perhaps check your server error log or consult with your host as to why those errors are thrown?  does the server run mod_security?

SP Stefano Prete
Stefano Prete
Member

Thank you so much for looking at it.

I have no idea where all those errors come from and I checked everything I was able to think about.

So I backed up the database and I am removing the whole site. I will try with a new installation and see how it goes. If everything is OK, I will import in the database the tables I need and see how it goes.

Thank you so much once again.

EK Edward Koon
Edward Koon
Member

What hosting company are you using? The reason i ask is standard Linux hosting is far from standard.

Some hosts run Mod Security and have to white list some scripts in order for them to work. I used a host like that once, and every time i installed a car dealers script the host had to white list it. You might want to see if your error logs have any mod security lines in them.

And it wouldn’t hurt to contact your hosts support dept either.

Also do you have a WordPress statement in your .htaccess file? Assuming you are running wp from your http home directory.

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

MP Mr Papa
Mr Papa
Member

Stefano, yes it was very strange. which db tables are you importing?  sp was showing as being a fresh install when I looked last night…  do the wp db prefixes match?

SP Stefano Prete
Stefano Prete
Member

Yes Steve, the db tables match.

I just checked with Firebug and it shows no error this time.

I have uninstalled SP completely and upload it again. As soon as I activate it, the problems start.

I switched off every single plugin as well, but it still doesn’t work. Absurd…

As Fido suggested, I need to ask my hosting if there is a mod_security activated. Could that cause the problem?

 

P.S.= I just sent an email to the hosting and I’m waiting for a reply. I will keep you updated. Thanks again.

SP Stefano Prete
Stefano Prete
Member

OK, the hosting replied.

mod_security is activated. He told me it’s not possible to deactivate it, but he said there are other websites running SP on that server…

At this point, I am completely lost…

EK Edward Koon
Edward Koon
Member

Do you have access to your sites error logs? If so look see if there is anything from SP in there. If so email your host and ask them to white list it.

I would request white listing the SP plugin, and sp-resources directories.

MP Mr Papa
Mr Papa
Member

yes, either get him to whitelist simple press or do something like: http://www.webhostingtalk.com/showthread.php?t=888019

SP Stefano Prete
Stefano Prete
Member

OK, it was my intention to redesign the website completely, therefore I decided to start.

I have installed WP in a subdomain, installed SP and all went well. So I guess the problem was related to something I cannot figure out.

The only problem now is, the forum is not showing up in the page where it should…

The page “Forum” has been created, in “Integration” everything seems fine, but nothing shows up.

The page “Forum” is completely empty.

I’m getting headache…

MP Mr Papa
Mr Papa
Member

completely empty means a total white page? no content at all??? or do you just mean no forum content???

on forum – integration – page and permalink, play with the display multiple and display in loop options… you may have a wp theme doing odd things…

SP Stefano Prete
Stefano Prete
Member

Bingo!

Steve, I ticked “” and now everything works!

Now I will try and import the old db tables into the new db and see how it goes. Hopefully I will not lose any topic and post.

Thank you so much once again! wink

MP Mr Papa
Mr Papa
Member

ah, using the Gantry Framework by any chance?  only one we know so far that does not use wp_head…

but good news indeed!

SP Stefano Prete
Stefano Prete
Member

Steve, the problems seem neverending! hahaha laugh

Yes, I use Gantry on the new site I am setting up. I have installed SP, uploaded the database and “nearly” everything went fine.

Two things are not working:

– When I land on the page FORUM, a red small window pops up at the top of the page with “Invalid database query”. It happens on that page only. I checked all the settings, switch every WP plugin on and off and nothing changed. But the worst part of it is, I cannot edit any member profile. The profile opens normally, but when I go to “Edit user profile” it only shows the tab “Buddies and adversaries”, nothing else.

– Second problem, I have installed the plugin “Template Tags and Widgets“. The only widget that I have available is “Recent forum posts”, no others.

Do you have an idea about how to solve these issues? Everything else is working OK so far.

Thank you wink

YS Yellow Swordfish
Yellow Swordfish
Member

We can get the widget question out of the way quickly. There is only the one widget currently but there are several more template tags and shortcodes available in that plugin. If you tell us what you are looking for we can point you in the right direction if one exists.

Can you run the page please that displays the Invalid Database Query and then immediately go to the forum admin > Toolbox > Error Log. The top entry will probably show the query error. Can you copy (just the one entry) and paste it into a reply here and we can see what the cause is.