Moving Joomla to new server

Posted on 2014-02-23
Last Modified: 2014-02-23
I have moved the below Joomla website to a new server and now I am just getting lots of error:

What do they mean and how do I resolve? I think the previous server uses a lower version of php.

Also the Joomla website on the previously server was in a "2012test" folder instead on the root. This was the previous .htaccess file code:

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
order deny,allow
deny from all
AuthUserFile /home/virtual/site42/fst/var/www/html/_vti_pvt/service.pwd
AuthGroupFile /home/virtual/site42/fst/var/www/html/_vti_pvt/service.grp

######## Joomla ############
# Added by Monty
Options +FollowSymLinks
RewriteEngine On
# End comment added on 2011-11-21
RewriteBase /

# Add trailing slash if path does not contain a period or end with a slash
RewriteCond %{REQUEST_URI} !(\.|/$)
RewriteRule (.*)$1/ [R=301,L]

#Change to (Optional)
RewriteCond %{HTTP_HOST} ^$
RewriteRule ^/?(.*)$$1 [R=301,L]
#### Rewrites to
## Added this to allow existing files and directories to work
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
## Now the rewrite of subdir to rootdir
RewriteCond %{REQUEST_URI} !^/2012test
# Added to include comment by Patrick on 2011-10-14 see comment below
RewriteRule ^$ 2012test/index.php [L]
# End comment added on 2011-10-14 ... 
RewriteRule ^(.*)$ 2012test/$1 [L]

RewriteCond %{REQUEST_URI} !^/2012test
RewriteRule ^(.*)$ 2012test/$1 [L]

Open in new window

What do I need to remove / change to my this website work in my root folder on the new server?
Question by:petewinter
  • 2
LVL 109

Accepted Solution

Ray Paseur earned 500 total points
ID: 39880600
That will probably be a good looking web site once we get rid of the messages!  

The messages occur because the PHP installation is set to tell you about violations of E_STRICT programming standards.  The PHP error reporting settings have changed a bit recently in an effort to force PHP programmers to adopt some better coding practices.  Apparently Joomla is a bit behind in adopting these coding practices.

Find your PHP settings for error reporting (maybe .htaccess, maybe php.ini) and change to use this:

error_reporting(E_ALL ^ E_STRICT)

There may be other changes needed but that should help a great deal.

Author Closing Comment

ID: 39880632
Many thanks. Problem solved.
LVL 109

Expert Comment

by:Ray Paseur
ID: 39880658
Yeah, that looks a zillion times better.  You might still want to check out the validator:

It looks like there is an HTML4 Doctype, but the site also uses HTML5 attributes in some of the tags.  It's not a big deal, but setting the Doctype correctly may help with cross-browser issues, especially in things like jQuery.

Thanks for the points and thanks for using EE, ~Ray

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question