Solved

Moving Joomla to new server

Posted on 2014-02-23
3
659 Views
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:

http://www.designer-kitchens.co.uk/

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
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.designer-kitchens.co.uk
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 (.*) http://designer-kitchens.co.uk/$1/ [R=301,L]

#Change http://designer-kitchens.co.uk to http://www.designer-kitchens.co.uk (Optional)
RewriteCond %{HTTP_HOST} ^designer-kitchens.co.uk$
RewriteRule ^/?(.*)$ http://www.designer-kitchens.co.uk/$1 [R=301,L]
#### Rewrites http://www.designer-kitchens.co.uk/2012test to http://www.designer-kitchens.co.uk/
## 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?
0
Comment
Question by:petewinter
  • 2
3 Comments
 
LVL 108

Accepted Solution

by:
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.
0
 

Author Closing Comment

by:petewinter
ID: 39880632
Many thanks. Problem solved.
0
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 39880658
Yeah, that looks a zillion times better.  You might still want to check out the validator:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.designer-kitchens.co.uk%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

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
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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 …

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now