close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Having trouble getting started

Thread began 1/27/2010 5:37 pm by alan_croft399018 | Last modified 2/04/2010 6:40 pm by Jimmy Wu | 4263 views | 19 replies |

alan_croft399018

Having trouble getting started

Hi All
Am a dreamweaver user and have just purchased the "User Registration Solution Pack". I run a sporting association website in Melbourne Australia, VBSA.org.au WE have a php database running and would like to develop a members area. Am having trouble getting started - have created the table but cannot get the next step. It appears that he Connections/localhost.php file creates the global settings? Or am I totally lost?
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_localhost = "What goes in here?? is it the URL of the site?";
$database_localhost = "is this what dreamweaver refers to My SQL connection as the database name?";
$username_localhost = "please type your username";
$password_localhost = "please type your password";
$localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);
?>
Maybe I am just having a senior moment? Any assistance would be greatly appreciated

Sign in to reply to this post

Office Guy-172461

Have a look here:

connection

Sign in to reply to this post

alan_croft399018

Am I missing something? that is where I started and it does not really explain it?

Sign in to reply to this post

Office Guy-172461

Not sure what you else need.

The hostname is where your database server is. Usually localhost
$hostname_localhost = "localhost";

The database is whatever you named your database when you created it
$database_localhost = "databasename";

The username is the name of the user you created when you created your database
$username_localhost = "username";

The password is the password you assigned to the user when you created your database
$password_localhost = "password";

Sign in to reply to this post

alan_croft399018

Thanks for your patience, unfortunately mine is running out. Have it working, the information is inserting into the database, except for the verification email. I received the verification email but when I insert the url into the browser I get a 404 error
users_Confirm.php?ID=2&code=jsklRJR8bjdqQp6Bg606
it appears it is trying to navigate to the root directory of the site, have I missed a setting?
Thanks again for your assistance

Sign in to reply to this post

Office Guy-172461

Make sure that this is set properly:

$WAGLOBAL_Root_URL
= "" ;

You must end the path with a /

If you installed the pack in a folder called reg it would look like this:

$WAGLOBAL_Root_URL = "reg/" ;

Sign in to reply to this post

alan_croft399018

Sorry, this has gone on too long, it should be simple I am sure
Have set
$WAGLOBAL_Root_URL = "http://www.vbsa.org.au/Bus_Registration/" ;
And it returns
No such file or directory in /home/vbsaorga/public_html/Bus_Registration/users_Confirm.php on line 2
If I browse to
users_Registration_Simple.php
It brings up the file
So what am I doing wrong?

Sign in to reply to this post

Dani Chankhour

If the URL that you are seeing in the email is:

users_Confirm...R8bjdqQp6Bg606

Then you probably did not update your WA_Globals.php file after you updated it to:

$WAGLOBAL_Root_URL = "http://www.vbsa.org.au/Bus_Registration/" ;


The url you should see in the email should look something like this:

users_Confirm...R8bjdqQp6Bg606

Sign in to reply to this post

alan_croft399018

So... I removed the folder from the site and uploaded the Bus_Registration folder again
Got to the confirmation email and with this url ...
users_Confirm.php?ID=2&code=jsklRJR8bjdqQp6Bg606

this returned
Warning: require_once(../WA_SecurityAssist/WA_RandomPassword.php) [function.require-once]: failed to open stream: No such file or directory in /home/vbsaorga/public_html/Bus_Registration/users_Confirm.php on line 2

Fatal error: require_once() [function.require]: Failed opening required '../WA_SecurityAssist/WA_RandomPassword.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vbsaorga/public_html/Bus_Registration/users_Confirm.php on line 2

It's got me beat?

Sign in to reply to this post

Dani Chankhour

On your users_Confirm.php page, on line 2, the require once should like this:

require_once("WA_SecurityAssist/WA_RandomPassword.php");

instead of

require_once(../WA_SecurityAssist/WA_RandomPassword.php);


When moving the user registration files to a sub folder, you don't need to update the path, because they are document relative.

Sign in to reply to this post
loading

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...