Fork me on GitHub

Trouble after moving site to new server  Bottom

  • I'm having an odd problem with one of my modules after moving the site over to another server. Everything else works fine.

    The problem is that I can't log in... or create a new account... or do anything that requires me to enter in data. The stuff that was in there is still viewable.

    When I view the mysql log, it appears that the values sent into the mysql query are empty... as in, SELECT * FROM nuke_jobaccounts WHERE username='' ... there should be data between the ''s ... nothing changed from server to server, viewing the source side by side is identical.

    On the login page I can search over on the left hand side and it works correctly, so I know it's not a site wide POST issue.

    Any ideas?? icon_mad
  • What module is not working?
    i don't know a nuke_jobaccounts table...

    And, can you post some details of the server change?
    PHP 4 -> PHP 5
    MySQL 4 -> MySQL 5 ??

    --
    - Mateo T. -
    Mis principios... son mis fines
  • The module is phprofession

    php4 before and after
    mysql 4 before and after
    apache 2 before and after

    It's quite old, has been in use for a while... I think it's about time to write something new, anyway, but it'd be nice to get this up and running as well.
  • Any suggestions for things to look at?
  • And if you deactivate the 'phprofession' module manually
    in the pn_modules table, change it state to 2...

    phprofession have something to show when the user loggin in?

    --
    - Mateo T. -
    Mis principios... son mis fines
  • When I change the state to 2 it doesn't seem to act any differently...

    When i view the modules list in admin it says a new version was installed. I click upgrade, activate it, and it still acts the same.

    It seems like when it POSTs, nothing is actually sent to the server. blank username and password checked in mysql, when attempting to create a new account it says the passwords are blank when they're not, etc.
  • A possible solution is to replace the Users and Your_Account modules with clean files...

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Just wanted to post back saying I figured out what was going on...

    It's not the greatest solution, but apparently with the old server register globals was set to on... so on the new server it couldn't find any of the variables. So I just needed to set PHP to register globals.

This list is based on users active over the last 60 minutes.