Results 1 to 6 of 6

Thread: Moved working script to new server

  1. #1
    Join Date
    Mar 2008
    Posts
    25
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default Moved working script to new server

    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!

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    check that the PHP version and the php.ini files are the same

  3. #3
    Join Date
    Mar 2008
    Posts
    25
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default

    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?

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    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
    Jeremy | jfein.net

  5. #5
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    Quote Originally Posted by JRF2k View Post
    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

  6. #6
    Join Date
    Mar 2008
    Posts
    25
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default

    This is an MS Access database. How do you check the properties?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •