Log in

View Full Version : Moved working script to new server



JRF2k
04-22-2008, 03:06 PM
Hello,

We have moved a PHP Database app to a different server and now it is not writing to the database any longer. I have made sure that the system DSN is setup exactly the way it was on the other machine it was moved from. When I access the site on the new server I get an IE message saying that MSIE's Enhanced Security Configuration is enabled.

I went into the Security and Privacy section and added the site as a trust internal site, but this still doesn't work.

Is there anything else I need to check? All the paths in the scripts have been updated and I can't really see anything that would cause the script not to run.

Any help is appriciated!

Thanks!

boogyman
04-22-2008, 06:10 PM
check that the PHP version and the php.ini files are the same

JRF2k
04-23-2008, 03:05 PM
The versions are the same - both have v5.2.

I copied the INI over, but it still will not write to the DB. I am using XITAMI as the webserver and it is set up identically to the one on the working server.

I've rechecked the paths again and the scripts involved and they all look fine. Is there any server security that would be hampering this?

Nile
04-23-2008, 03:08 PM
I'm guessing you can if they have the same versions, it won't make a problem to do that, so try copying it over.
Hope this Helps,
Nile

boogyman
04-23-2008, 04:11 PM
I've rechecked the paths again and the scripts involved and they all look fine. Is there any server security that would be hampering this?

Also check that your database server properties are the same.
EG MySQL 4 / MySQL4.2.1 etc...

If you set the php server / web server and the mysql server all up exactly the same, the only other thing I can suggest to to check the permissions for the user you are trying to insert with...
EG. that they have "INSERT" permissions

JRF2k
06-27-2008, 09:25 PM
This is an MS Access database. How do you check the properties?