I've established a connection to the database, and I'm close to being able to use phpbt on my webserver. The problem is that for some reason, various php files within the phpbt environment seem to be generating references to files on my home computer, which is where I expanded the phpbt archive prior to uploading the files to my webserver account. (Using GoLive 6.0.1 for the ftp upload.)
If I view the page source code within my browser when I access the www.domain.com/bugz/index.php page on my webserver, (bugz is the direcctory where I placed phpbt) this bit of text appears near the top of the page:
Anywhere there's supposed to a reference to a file stored on the webserver, the href always looks like "../../../../../../../SD%20Downloads/phpbt-1.0rc5/xxxxxxx" instead of "www.domain.com/bugz/xxxx" . (There are different folders, but they're all within the "bugz" folder.) I don't know enough about php scripting to figure out what might be wrong with the php files that dump out html to the browser, so I'm stuck, unable to get the php scripts to generate absolute references to the files on my webserver.
Another possibility that occurred to me is that the directory location in which the phpbt file tarball is expanded somehow gets written into the files. If this is the case, it would explain why the phpbt files I uploaded to the webserver keep spitting out references to file locations on my personal computer.
The final possibility I can come up with is that GoLive is retaining some information about the original location of the files imported to my site files, and this is contaminating the php scripts. I don't think this info would be uploaded to the webserver, and I've never had problems like this with any other files. Php is new to me, and I'm not up to speed on how to use it, so this file reference quirk is a real mystery and I'm searching for any plausible explanation I have a shot at resolving.
Does anyone know how I should modify the phpbt php scripts to get them to generate links to the proper files on my webserver, rather than the files on my home computer?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've established a connection to the database, and I'm close to being able to use phpbt on my webserver. The problem is that for some reason, various php files within the phpbt environment seem to be generating references to files on my home computer, which is where I expanded the phpbt archive prior to uploading the files to my webserver account. (Using GoLive 6.0.1 for the ftp upload.)
If I view the page source code within my browser when I access the www.domain.com/bugz/index.php page on my webserver, (bugz is the direcctory where I placed phpbt) this bit of text appears near the top of the page:
href="../../../../../../../SD%20Downloads/phpbt-1.0rc5/templates/default/styles/print.css"
Anywhere there's supposed to a reference to a file stored on the webserver, the href always looks like "../../../../../../../SD%20Downloads/phpbt-1.0rc5/xxxxxxx" instead of "www.domain.com/bugz/xxxx" . (There are different folders, but they're all within the "bugz" folder.) I don't know enough about php scripting to figure out what might be wrong with the php files that dump out html to the browser, so I'm stuck, unable to get the php scripts to generate absolute references to the files on my webserver.
Another possibility that occurred to me is that the directory location in which the phpbt file tarball is expanded somehow gets written into the files. If this is the case, it would explain why the phpbt files I uploaded to the webserver keep spitting out references to file locations on my personal computer.
The final possibility I can come up with is that GoLive is retaining some information about the original location of the files imported to my site files, and this is contaminating the php scripts. I don't think this info would be uploaded to the webserver, and I've never had problems like this with any other files. Php is new to me, and I'm not up to speed on how to use it, so this file reference quirk is a real mystery and I'm searching for any plausible explanation I have a shot at resolving.
Does anyone know how I should modify the phpbt php scripts to get them to generate links to the proper files on my webserver, rather than the files on my home computer?