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

Problem with Binding in Dynamic Webpage

Guest
Dec 24, 2008 Dec 24, 2008
I can link to my database (when I click 'test', it says connect successful), and I am fairly sure I setup my virtual server correct. I followed all the instructions that were given in the "how to create a php environment tutorial"

In the two tests suggested, I failed only the date.time one, though I think that's because I haven't setup my php.ini timezone yet.

With all that said, for some reason I am having trouble with binding.

Here are the exact steps to better illustrate my problem:

I create a new connection under the "database" tab.
I then click the "binding" tab and press the "+" sign thing.
It reads the database under my connection correctly and displayed all the correct fields that I created.
HOWEVER, when I press the "test" button. It just displays the "unknown error" error message.

I am currently using XP Home and Dreamweaver CS4. I have setup the whole server thing using the latest AppServ (2.6.0 p.s. I don't understand what's the difference between that and 2.5.10 except that one seems to be newer... but both are released at the same time...), which I believe included:

Apache 2.2.8
PHP 6.0.0-dev
MySQL 6.0.4-alpha
phpMyAdmin-2.10.3

I am very new at making dynamic webpages, (in fact, my second day at it) It would be very helpful if the suggestions given are not in "computer terms" (since I understand about less than half of them. I don't even know what I am doing with the whole server thing except to follow every single instructions and tutorials that I can find.)

Thanks for the help.
TOPICS
Server side applications
384
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 ,
Dec 25, 2008 Dec 25, 2008
Bih Wang wrote:
> I followed all the
> instructions that were given in the "how to create a php environment tutorial"

Which tutorial?

> I am currently using XP Home and Dreamweaver CS4. I have setup the whole
> server thing using the latest AppServ (2.6.0 p.s. I don't understand what's
> the difference between that and 2.5.10 except that one seems to be newer... but
> both are released at the same time...), which I believe included:
>
> Apache 2.2.8
> PHP 6.0.0-dev
> MySQL 6.0.4-alpha
> phpMyAdmin-2.10.3

I have never heard of AppServ until now, but you have definitely chosen
the wrong version. Both PHP 6 and MySQL 6 are alpha versions, and very
unreliable. I suggest that you uninstall AppServ, and use XAMPP 1.7.0
for Windows instead. You can obtain it from here:

http://www.apachefriends.org/en/xampp-windows.html

Choose the basic package installer.

> I am very new at making dynamic webpages, (in fact, my second day at it) It
> would be very helpful if the suggestions given are not in "computer terms"
> (since I understand about less than half of them.

Everybody is a beginner at some time, so there's nothing wrong in not
knowing technical terms. However, if you intend to develop PHP websites
with Dreamweaver, you will need to learn a lot quickly. The first
technical term you need to understand is "alpha". It means software in
the early stages of development. Alpha software usually has a lot of
bugs, and can be very unstable. You should never use it unless you're an
expert. Once the most serious bugs have been sorted out, the next
development stage is called beta. Again, you should never use beta
software unless you're sure of what you're doing. The version of AppServ
that you chose is definitely not for a beginner.

As for the "unknown error" you received, it could be as a result of
using alpha software. Another possible cause is that the Windows
firewall or some other security software is blocking access between
Dreamweaver and MySQL.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS4",
"PHP Solutions" & "PHP Object-Oriented Solutions"
http://foundationphp.com/
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
Dec 25, 2008 Dec 25, 2008
LATEST
Cool thanks! I somehow thought of the reverse for some reason (alpha being near final and beta being... well beta) But that actually clears up so much questions in my mind... so they always release 2 versions, 1 being unreliable and the other being more tested.

(As for AppServ, it's suggested by some of the books I bought and the screenshot they had seemed easy enough, being very graphical and stuff.)

So I just have to go back and look for a version that doesn't have an "a" or "b" at the end. Thanks for the help!
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