jbutler
|
| Posted: 01/23/2003, 2:05 PM |
|
I've been trying out CCS as a way to develop Web apps in PHP for MySQL (on an Apache server). It looks promising, but one (little?) thing has got me stumped:
How can I get it to show me the "Live Page" and then publish it to my Web server?
I've installed the MySQL ODBC driver and succeeded in connecting to my MySQL server. I put the tutorial's Employees database on the server and everything worked as advertised until I hit the Live Page button. Then I got these message:
Generating Common Files
Generating "Default"
Error: Local Server Path is not provided
...and the page was not displayed. I'm confused. I don't have a "local server path" because my MySQL server is on a remote machine. Does one have to run a Web server on the same machine as CCS in order to see live data?
Oh, and when I publish it to my Webserver, the FTP process works correctly, but the pages don't look right. The data is not being imported into the pages. As you can see here:
http://www.tcf.ua.edu/employeesdir/Default.html
Thanks for any illumination!
Jeremy Butler
|
|
|
 |
jbutler
|
| Posted: 01/26/2003, 1:58 PM |
|
Through e-mail, I learned:
1. "Error: Local Server Path is not provided"
In order to get rid of this error please do the following:
In the Publish settings, set the 'Location' field 'Local/Network' then in the 'Server Path' enter the same path that is entered for 'FTP' and finally switch the location field back to 'FTP' and publish your project again.
2.
>Oh, and when I publish it to my Webserver, the FTP process works correctly, but the pages don't look right
That's because you are viewing the template file (*.html) while you should view the script file (*.php).
|
|
|
 |
|