REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
404 Error on every forum and thread
#1
Exclamation 
Hey guys

I have recently moved my myBB forum over to a new server. I took care to back up the directory and database and transfer it all over and it seemed to have worked apart from now all link headers from forums and threads are not found.

I'm guessing it is either to do with an incorrect transfer or my .htaccess file.

I now have a vps (not sure if mod-rewrite is available). I also have the google SEO plugin installed with the error "Your host does not seem to support mbstring. This may cause problems with UTF-8." not sure if that plays a part in this.

My .htaccess content:
Code:
RewriteEngine on

# Some hosts require RewriteBase to make RewriteRules work.
RewriteBase /forums/

# Google SEO workaround for search.php highlights:
# Make this rule the first rewrite rule in your .htaccess!
RewriteRule ^([^&]*)&(.*)$ http://illuminatus.lovebyte.co.uk/forums/$1?$2 [L,QSA,R=301]

# Google SEO 404:
ErrorDocument 404 /forums/misc.php?google_seo_error=404

# Google SEO workaround for search.php highlights:

# Google SEO Sitemap:
RewriteRule ^sitemap\-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]

# Google SEO URL Forums:
RewriteRule ^Forum\-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]

# Google SEO URL Threads:
RewriteRule ^Thread\-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

# Google SEO URL Announcements:
RewriteRule ^Announcement\-([^./]+)$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]

# Google SEO URL Users:
RewriteRule ^User\-([^./]+)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]

# Google SEO URL Calendars:
RewriteRule ^Calendar\-([^./]+)$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]

# Google SEO URL Events:
RewriteRule ^Event\-([^./]+)$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]

Link to the forum:
http://illuminatus.lovebyte.co.uk/forums/

Any help will be greatly appreciated.

Thanks

Nathan
Reply
#2

MyBB SQL Error
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Query:
[READ] Unable to connect to MySQL server
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Image Verfication Error. Arya 3 1,890 Dec 21, 2016, 06:13 AM
Last Post: walter
  MySubscription error.. AJRiley 3 1,803 Jun 19, 2016, 11:54 PM
Last Post: Jiant
  MyAwards SQL error when clicking "Activate" in Plugins Gh0st 1 1,228 Feb 11, 2016, 03:26 PM
Last Post: Gh0st
  image thread and post moderation mybb 1.8.x elsinick 1 2,108 Jul 06, 2015, 07:06 AM
Last Post: Nisva
  How to disable thread views count nightwolf 1 1,709 Mar 28, 2015, 10:06 AM
Last Post: Nasyr

Forum Jump:


Users browsing this thread: 1 Guest(s)