Solved

Moving Joomla to new server

Posted on 2014-02-23
3
683 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 110

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 110

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

636 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