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

CS3 database connection to server

Guest
Jun 04, 2008 Jun 04, 2008
I've just created my first database driven website - it works perfect on my local testing server . . . I've uploaded the files and database to my remote server and nothing works. I've made sure my database name and user name is the same . . . oh please can someone direct me?
TOPICS
Server side applications
660
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

correct answers 1 Correct answer

Deleted User
Jun 06, 2008 Jun 06, 2008
Horray - I figured it out - I double checked my user name and password in the "connection" php file that DW created - It didn't match what my server had.

Thanks!

Deborah
Translate
LEGEND ,
Jun 05, 2008 Jun 05, 2008
yosemitelover wrote:
> I've just created my first database driven website - it works perfect on my
> local testing server . . . I've uploaded the files and database to my remote
> server and nothing works. I've made sure my database name and user name is the
> same . . . oh please can someone direct me?
>

Got a link? That way we can see what the error message is.

Steve
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
Guest
Jun 05, 2008 Jun 05, 2008
There is no error message, just a blank screen. I'm beating my head against the wall! The webhosting people think it's my code . . . but if it works on my testing server how can that be? What about the connection I created in DW? It's pointing to "localhost" - if my remote server has me place files in their /html/ folder, should my connection be localhost/html?
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
LEGEND ,
Jun 05, 2008 Jun 05, 2008
If it is PHP your web host probably has error display turned off and you can't see the error.

--
Ken Ford
Adobe Community Expert - Dreamweaver/ColdFusion
Fordwebs, LLC
http://www.fordwebs.com


"yosemitelover" <webforumsuser@macromedia.com> wrote in message news:g28nbf$5t4$1@forums.macromedia.com...
> There is no error message, just a blank screen. I'm beating my head against the
> wall! The webhosting people think it's my code . . . but if it works on my
> testing server how can that be? What about the connection I created in DW? It's
> pointing to "localhost" - if my remote server has me place files in their
> /html/ folder, should my connection be localhost/html?
>
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
LEGEND ,
Jun 05, 2008 Jun 05, 2008
Oops sorry, hit send too quick.

Try adding this to the top of your php page:

<?php

error_reporting(E_ALL);

?>

If that does not work try this:

<?php

ini_set('error_reporting', E_ALL);

?>

--
Ken Ford
Adobe Community Expert - Dreamweaver/ColdFusion
Fordwebs, LLC
http://www.fordwebs.com


"Ken Ford" <newsgroups1@fordwebs.com> wrote in message news:g28nrs$6dj$1@forums.macromedia.com...
> If it is PHP your web host probably has error display turned off and you can't see the error.
>
> --
> Ken Ford
> Adobe Community Expert - Dreamweaver/ColdFusion
> Fordwebs, LLC
> http://www.fordwebs.com
>
>
> "yosemitelover" <webforumsuser@macromedia.com> wrote in message news:g28nbf$5t4$1@forums.macromedia.com...
>> There is no error message, just a blank screen. I'm beating my head against the
>> wall! The webhosting people think it's my code . . . but if it works on my
>> testing server how can that be? What about the connection I created in DW? It's
>> pointing to "localhost" - if my remote server has me place files in their
>> /html/ folder, should my connection be localhost/html?
>>
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
Guest
Jun 05, 2008 Jun 05, 2008
sorry, that didn't work - still a blank screen. This is my first attempt to create this type of website and my first time using DW (but worked with GoLive for 10 years) - anyway, what about the "connections" folder that DW created. Should that be placed on my server's root or /html folder?
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
LEGEND ,
Jun 05, 2008 Jun 05, 2008
Yes the Connections folder needs to be uploaded to the root of the web site, that is the file that is used to connect to the
database.

Might want to ask your host how to turn on error display temporarily, and then turn it back off.

--
Ken Ford
Adobe Community Expert - Dreamweaver/ColdFusion
Fordwebs, LLC
http://www.fordwebs.com


"yosemitelover" <webforumsuser@macromedia.com> wrote in message news:g28p6u$7qr$1@forums.macromedia.com...
> sorry, that didn't work - still a blank screen. This is my first attempt to
> create this type of website and my first time using DW (but worked with GoLive
> for 10 years) - anyway, what about the "connections" folder that DW created.
> Should that be placed on my server's root or /html folder?
>

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
Guest
Jun 05, 2008 Jun 05, 2008
Thanks for your help, Ken - I placed the "connections" folde in the root - still no luck - I have to "muster-up" the energy to talk to my web hosting company . . . was on the phone with them yesterday - they are clueless. I entered a "support ticket" - waiting to hear back from them. In the meantime, do you think I can get support from Adobe?
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
LEGEND ,
Jun 05, 2008 Jun 05, 2008
It is not an Adobe issue, it is an issue with your web host.

There is an error happening and you need to know what the error is to fix it.

--
Ken Ford
Adobe Community Expert - Dreamweaver/ColdFusion
Fordwebs, LLC
http://www.fordwebs.com


"yosemitelover" <webforumsuser@macromedia.com> wrote in message news:g28qfh$93i$1@forums.macromedia.com...
> Thanks for your help, Ken - I placed the "connections" folde in the root -
> still no luck - I have to "muster-up" the energy to talk to my web hosting
> company . . . was on the phone with them yesterday - they are clueless. I
> entered a "support ticket" - waiting to hear back from them. In the meantime,
> do you think I can get support from Adobe?
>
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
LEGEND ,
Jun 05, 2008 Jun 05, 2008
.oO(Ken Ford)

>Oops sorry, hit send too quick.
>
>Try adding this to the top of your php page:
>
><?php
>
>error_reporting(E_ALL);
>
>?>
>
>If that does not work try this:
>
><?php
>
>ini_set('error_reporting', E_ALL);
>
>?>

This only works if there's no parse error in the script, so these
directives should be set in the php.ini or .htaccess if possible.
You also might want to check the setting of display_errors.

Micha
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
LEGEND ,
Jun 05, 2008 Jun 05, 2008
Some host amend the Db name and the username with the hosting account
username like this:
username: username_user
database: username_DbName

look in host FAQ, or at phpMyAdmin to see the name convention.

Jeff

"Dooza" <doozadooza@gmail.com> wrote in message
news:g287l9$jj5$1@forums.macromedia.com...
> yosemitelover wrote:
>> I've just created my first database driven website - it works perfect on
>> my local testing server . . . I've uploaded the files and database to my
>> remote server and nothing works. I've made sure my database name and user
>> name is the same . . . oh please can someone direct me?
>>
>
> Got a link? That way we can see what the error message is.
>
> Steve


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
Guest
Jun 05, 2008 Jun 05, 2008
The name and username of my database are the same on my testing & remote server. I made sure they matched
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
Guest
Jun 06, 2008 Jun 06, 2008
LATEST
Horray - I figured it out - I double checked my user name and password in the "connection" php file that DW created - It didn't match what my server had.

Thanks!

Deborah
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