Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Errors on website WordPress

  • SOLVED

Hi,
I have just moved my website from a windows server to a Linux server due to slow loading times.

This was 15 minutes ago and now my site has numerous errors on the front page and error 404 on all pages.

GoDaddy says the transition could take 72 hours but it seems to be done already.

Do the errors mean that the move from Windows to Linux has already taken place or should I wait for the full 72 hours and hope the errors fix themselves?

If not how do I fix the errors and get my site back to normal?

site is inmcr.co.uk


Many Thanks

Jon

Answers (6)

2013-12-07

Dbranes answers:

<strong>a)</strong> You should define the session directory with:

ini_set( 'session.save_path', '/full/path/to/session/directory/' );


or


session_save_path( '/full/path/to/session/directory/' );


before you call:

session_start();

in the <em>/wp-content/themes/wpEventful/include/header-include.php</em> file.

<strong>b)</strong> You should make sure the folder

/full/path/to/session/directory/

or

/home/content/30/12043430/tmp/

is writable. You can most likely check and change the permissions via your ftp client.

<strong>c)</strong> Add this to your <em>wp-config.php</em> file:

// Enable WP_DEBUG mode
define('WP_DEBUG', TRUE );

// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', TRUE );

// Disable display of errors and warnings
define('WP_DEBUG_DISPLAY', FALSE );


to hide the errors on your page and write them into <em>debug.log</em> instead.


inmcr comments:

Many Thanks,

Could you access my account via FTP and make the required changes? I am fearful that I may make things worse if I start making changes.

R

Jon


Dbranes comments:

ps: I just sent you PM

2013-12-07

Arnav Joy answers:

first login to admin to panel and save permalink once again.
second open functions.php file of your theme and write following at top of it.

@ob_start();


inmcr comments:

I cannot login to wp-admin.

I have attached picture of what is shown

Thanks

Jon