Copy link to clipboard
Copied
Im pluggin right along and everything is connecting to the database for insert records form. I got all that in and then I got to hit preview and it says:
Warning: require_once(Connections/gparchive.php) [function.require-once]: failed to open stream:
Its been a couple of years since I have done this but since everything is connecting in the dw windows etc shouldnt the preview work as well?
Perfect example of if you dont use it you lose it, If anyone could point me back on track. Thanks!
Copy link to clipboard
Copied
Is this locally or on the server? If locally, is your site in the wwwroot directory of your PHP server? The site has to be there for PHP to see it.
Lawrence *Adobe Community Expert*
www.Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in ASP, PHP and CF
Copy link to clipboard
Copied
Yes the site is locally, for some reason it cant locate the connections folder no matter how its put in. But if I put the settings in the file Im using there is no problem. I am working around it, Im just not sure why it cant locate the original connections file when everything else maps correctly.
Copy link to clipboard
Copied
I guess there has something wrong that makes your folder failed to connect with MySQL. I think gparchive is the folder that you are working with, am I right?
Copy link to clipboard
Copied
I could be wrong AND late, but try uploading the 'connections' folder to your server. You can't make a database connection to the 'localhost' MySQL server without the script in this folder.
sorry I missed the part that you were developing locally ![]()
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more