PDA

View Full Version : website not working after migrate



seachen
02-13-2011, 04:09 AM
I have a user host at my shared hosting server. it need to upgrade to dedicated server.

i try migrate it to new server. i use backup and restore method via directadmin. but at new server it cant working. may i know why like that.



I try migrate to another shared hosting server, it is working fine. Only this dedicated server cant working. May I know what thing missing?

zEitEr
02-13-2011, 07:33 AM
What error do you get? Or what exactly doesn't work?

seachen
02-13-2011, 08:00 AM
when you open that 2 link, you will notice the different on some part like title, and page content. but it is restore from backup. i dont noe why it cant work at dedicated server. seen like something is missing

zEitEr
02-13-2011, 08:20 AM
Neither do I. Probably PHP setting differ or permissions on some important files are not correct.

toml
02-13-2011, 08:33 AM
Try looking at the short tag setting in php. I noticed I saw <? and not <?php in the title. Either that or make sure all the opening tags are <?php

nobaloney
02-13-2011, 12:52 PM
It looks like it may be some kind of default language issue.

Jeff

seachen
02-13-2011, 11:26 PM
Hi,

May I know who can help me to check it? I will to pay for it.

Or who can teach me how to check the php setting

localhost
02-13-2011, 11:55 PM
I have a user host at my shared hosting server. it need to upgrade to dedicated server.

i try migrate it to new server. i use backup and restore method via directadmin. but at new server it cant working. may i know why like that.

Shared Hosting: http://www.unwall.net/

Dedicated Server: http://76.10.222.135/~je4u/

I try migrate to another shared hosting server, it is working fine. Only this dedicated server cant working. May I know what thing missing?
Please make to scripts with the folowing code on each server:



<?php phpinfo(); ?>


Then post the links here. A full PHPINFO should show all the issues in configuration.

seachen
02-14-2011, 12:17 AM
New Server


Shared Hosting Server

localhost
02-14-2011, 12:54 AM
First of all I recommend you to downgrade or at least use the same PHP version on both servers. You have 5.3 and 5.2, there are applications that don't work correctly with 5.3 because there are many deprecated or unsupported functions. Also lots where changed at lower level including public,private classes and functions.

This could cause issues or bugs.

seachen
02-14-2011, 02:01 AM
hi, may i know how to downgrade?

how much you charge? I like to hire you to help

localhost
02-14-2011, 02:55 AM
There are a lot of How To here.
Try to search the forums.

About hiring and charging, contact me via PM.

toml
02-14-2011, 05:55 AM
As I said in an earlier post, you need to enable the short_open_tag in your php.ini file. All your code requires that to be enabled, you can downgrade/upgrade and do anything else, but if this is not enabled then your site won't work as it is coded.

localhost
02-14-2011, 06:48 AM
As I said in an earlier post, you need to enable the short_open_tag in your php.ini file. All your code requires that to be enabled, you can downgrade/upgrade and do anything else, but if this is not enabled then your site won't work as it is coded.
I must Agree with this :)

seachen
02-14-2011, 07:29 AM
hi. thanks. my client have been fixed his problem.