Forums

PHP

This topic is locked

Phakt Table error

Posted 22 Mar 2002 17:43:16
1
has voted
22 Mar 2002 17:43:16 Jonathan Manning posted:
Hello people,

I have php, mysql, apache, and Phakt setup on my winXP computer, I am succesfully using Ultradev to make pages that talk to all the above without any problems, the pages I make display correctly on my computer.

But... when I upload to my server, it says "Table 'ccvn.downloads' doesn't exist"
I know that that table doesn't exist, because my database is called ccvn and the table I am querying is called downloads. Anyone have any idea why this is happening, when on my computer it works perfectly. I have uploaded the connections folder and adob folder that UD creates.

Cheers

Replies

Replied 24 Mar 2002 19:31:29
24 Mar 2002 19:31:29 Tim Green replied:
OK, there is a problem of another kind going on here.

ccvn.downloads actually breaks down to database.tablename so it is saying that in your ccvn database it cannot find the downloads table.

The chances are what is happening is that you are uploading the connection file to your server, but you aren't amending it before you do so.

I suspect that the server is trying to connect to your local database, and (quite rightly) failing.

Try amending your connection parameters so they are correct for your Web Host. Also, don't forget to transfer your database tables over to your remote host before testing your pages. This is also a common cause for errors like this.

I hope this helps.

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>

Reply to this topic