close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Local testing login and registration pages

Thread began 2/22/2011 12:51 pm by sunsabbath76401977 | Last modified 2/23/2011 8:38 am by Jason Byrnes | 2567 views | 8 replies |

sunsabbath76401977Beta Tester

Local testing login and registration pages

Hi,
I there anyone who can help with my local testing server as it will not open stream.

Warning: require_once(Connections/db345740447.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\pizzapal.co.uk\users_LogIn.php on line 2

Fatal error: require_once() [function.require]: Failed opening required 'Connections/db345740447.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\pizzapal.co.uk\users_LogIn.php on line 2

I do not know what a stream is?
Same thing happens on the registration page.

Warning: require_once(Connections/db345740447.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\pizzapal.co.uk\users_Registration.php on line 1

Fatal error: require_once() [function.require]: Failed opening required 'Connections/db345740447.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\pizzapal.co.uk\users_Registration.php on line 1

Is this problem connected to the connections folder, file in Dreamweaver?
Got to go out now, so any reply will be in an hour.
Thanks for reading
Sabby76

Sign in to reply to this post

Jason ByrnesWebAssist

the error is saying that it cannot opren the Connections/db345740447.php file

send a copy of the users_LogIn.php file so i can look at the code.


it looks like it is trying to locate the connections file at:
C:\xampp\htdocs\pizzapal.co.uk\Connections\db345740447.php

Does that file exist at that location?

Sign in to reply to this post

sunsabbath76401977Beta Tester

Connections file

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_local = "localhost";
$database_local = "db345740447";
$username_local = "root";
$password_local = "9fk58fjk49de";
$local = mysql_pconnect($hostname_local, $username_local, $password_local) or trigger_error(mysql_error(),E_USER_ERROR);
?>

Sign in to reply to this post

Jason ByrnesWebAssist

i dont need the connections file.

can you send a copy of the login page in a zip archive.


also:
it looks like it is trying to locate the connections file at:
C:\xampp\htdocs\pizzapal.co.uk\Connections\db34574 0447.php

Does that file exist at that location?

Sign in to reply to this post

sunsabbath76401977Beta Tester

User Login php file

Please see attached zip file, thank you.

Attached Files
users_LogIn.zip
Sign in to reply to this post

Jason ByrnesWebAssist

you are not answering this question:
also:
it looks like it is trying to locate the connections file at:
C:\xampp\htdocs\pizzapal.co.uk\Connections\db34574 0447.php

Does that file exist at that location?
Edit/Delete Message

Sign in to reply to this post

sunsabbath76401977Beta Tester

Delay

Had to install winzip...
The file is called local.php in the connections folder.
I will change it over now...
Sabby76

Sign in to reply to this post

sunsabbath76401977Beta Tester

Bingo

Thank you Jason
What ever part of XAMMP runs the file, please which part is it?
Sabby76

Sign in to reply to this post

Jason ByrnesWebAssist

Create a new database connection and name it "db345740447" set it to connect to the database on your local xampp server. This is the connection name that the login page is looking for, it is giving the error because there is no connection with that name in the connections folder.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...