Copy link to clipboard
Copied
I have created a login page using PHP and MySql and it works fine on my local server. Then when I upload the files to my hosting service - it doesn't work. I have checked with them and they say it should work fine. Can anyone tell me if I am missing any files or what the problem is please?
Copy link to clipboard
Copied
Need more information - in what way does it not work? Login fails? PHP error message? Shows PHP code?
Copy link to clipboard
Copied
Thanks for helping on this. The login page does not even show on the website even though it is there under loginform.php
In Dw:
1. Under the 'databases' tab when I go to create a connection it fails to do so with no error message, so I cannot nominate the database with the user login data in.
2. When I click on 'server behaviours' to define the fields, the 'validate using connection' options are not present , so the 'user' table is also not available to select.
Pictures attached...
Copy link to clipboard
Copied
If you're getting a white/empty page when viewing the login page in the browser, it's probably running into a PHP error and the server is set to not display errors in the browser (usually the default). There should still be an error log where you can see what PHP is complaining about, but its location depends on how the server is configured (as the web host).
I won't be very helpful with the DW side of things since I don't use the server behaviors, sorry. I thought you said it was working locally, just not on the real server? Or is DW not able to connect to the local test database either?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thread moved to more appropriate forum:
Find more inspiration, events, and resources on the new Adobe Community
Explore Now