Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Uploading Login Page to Web Hosting Service

New Here ,
Oct 12, 2009 Oct 12, 2009

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?

TOPICS
Server side applications
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 12, 2009 Oct 12, 2009

Need more information - in what way does it not work? Login fails? PHP error message? Shows PHP code?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 12, 2009 Oct 12, 2009

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...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 12, 2009 Oct 12, 2009

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 12, 2009 Oct 12, 2009

Hi. The login page works fine on my local server, I am using MAMP. Its when I copied the files to my website host that I have encountered problems. I cannot get Dw to connect to the database to get it working. This is the error message I get. Any ideas?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Oct 12, 2009 Oct 12, 2009
LATEST

Thread moved to more appropriate forum: 

DW Application Dev forum

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines