I want to be 100% clear on what I want to do here.
I am building my website on my local computer using PHPdesigner 2008. This includes a Debug feature which scans the .PHP file and tests it before I publish the page to my website. It uses the MySQL database to identify users and to store their preferences.
PHPdesigner 2008 allows you to link to the database and even to develop querys based on the table and field information that is retrieved. This was a major selling point for me.
Don't confuse this with other issues where users could not connect to their database from a file that was already uploaded. Mine works fine once the file is uploaded using "localhost" as the server, my user name as the user and my database password for the connection. I'd just like to be able to work on my website without constantly having to upload my file to test it.
The problem comes from attempting to run the debugger which stops on the mysql_connect(); line with an error of "unable to connect to the database". I've tried allowing connections in cpanel from my IP address but that didn't seem to do the trick. I've tried using 70.87.51.250:2028 as the server and giftlist.x10hosting.com:2028 as the server to see if I could avoid using "localhost" as the server. I tried exporting the database using phpMyAdmin in an attempt to setup a complete duplicate of the remote website on my system but heck if I know what to do with the exported SQL file from there or where it should be saved.
I've read that this might be because I need to set up a server on my machine. Sheesh! How hard can such a basic thing get? So I downloaded xampp and ran the server from a new E: drive partition on my machine (my attempt to run it from the C: drive failed). Either I don't have the server setup properly or this isn't working either.
So this forum is my last resort. Surely there has to be someone here who is familiar with this situation and has some suggestions for a solution? Any clarification or suggestions would be greatly appreciated. I'll also be posting to the PHPdesigner forums to see if it's an issue on their end.
And yes, I'm aware that there is currently a problem on the Ciroc servers that is being addressed but this issue occurred before the problem began.
Thanks,
Jeff
I am building my website on my local computer using PHPdesigner 2008. This includes a Debug feature which scans the .PHP file and tests it before I publish the page to my website. It uses the MySQL database to identify users and to store their preferences.
PHPdesigner 2008 allows you to link to the database and even to develop querys based on the table and field information that is retrieved. This was a major selling point for me.
Don't confuse this with other issues where users could not connect to their database from a file that was already uploaded. Mine works fine once the file is uploaded using "localhost" as the server, my user name as the user and my database password for the connection. I'd just like to be able to work on my website without constantly having to upload my file to test it.
The problem comes from attempting to run the debugger which stops on the mysql_connect(); line with an error of "unable to connect to the database". I've tried allowing connections in cpanel from my IP address but that didn't seem to do the trick. I've tried using 70.87.51.250:2028 as the server and giftlist.x10hosting.com:2028 as the server to see if I could avoid using "localhost" as the server. I tried exporting the database using phpMyAdmin in an attempt to setup a complete duplicate of the remote website on my system but heck if I know what to do with the exported SQL file from there or where it should be saved.
I've read that this might be because I need to set up a server on my machine. Sheesh! How hard can such a basic thing get? So I downloaded xampp and ran the server from a new E: drive partition on my machine (my attempt to run it from the C: drive failed). Either I don't have the server setup properly or this isn't working either.
So this forum is my last resort. Surely there has to be someone here who is familiar with this situation and has some suggestions for a solution? Any clarification or suggestions would be greatly appreciated. I'll also be posting to the PHPdesigner forums to see if it's an issue on their end.
And yes, I'm aware that there is currently a problem on the Ciroc servers that is being addressed but this issue occurred before the problem began.
Thanks,
Jeff
Last edited: