Solved

Moving Joomla to new server

Posted on 2014-02-23
3
668 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Echo vs ?><?php  html code 4 44
Show confirmation alert in Jquery 14 38
PHP Healthcheck 2 81
Materializecss - Different Behaviors in Browser's 1 17
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

948 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

22 Experts available now in Live!

Get 1:1 Help Now