close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

System Not Working Online

Thread began 7/24/2010 7:13 am by hbibizadeh396670 | Last modified 7/26/2010 3:28 pm by Jason Byrnes | 1367 views | 5 replies |

hbibizadeh396670

System Not Working Online

I have created a complete User Registration System using Security Assist and CSS Form Builder.

When I test it locally it seems to work fine.

But when I test it online, it does not work.

When I click register, the page just seems to go blank. I don’t know what the issue is but I will provide a link below so you can see for yourself.

users_Registration.php

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

When a PHP page displays blank, it means a php error has occurred, but error reporting is not enabled on the web server.

Add the following code at line 1 to turn error reporting on:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
Sign in to reply to this post

hbibizadeh396670

After adding the script to the Registration page, I get these errors


Notice: Undefined variable: database_Connection in /customers/ashperfectimage.com/ashperfectimage.com/httpd.www/user_login/Templates/users_Registration.php on line 40

Notice: Undefined variable: Connection in /customers/ashperfectimage.com/ashperfectimage.com/httpd.www/user_login/Templates/users_Registration.php on line 40

Warning: mysql_select_db() expects parameter 2 to be resource, null given in /customers/ashperfectimage.com/ashperfectimage.com/httpd.www/user_login/Templates/users_Registration.php on line 40

Notice: Undefined variable: Connection in /customers/ashperfectimage.com/ashperfectimage.com/httpd.www/user_login/Templates/users_Registration.php on line 41

Warning: mysql_query() expects parameter 2 to be resource, null given in /customers/ashperfectimage.com/ashperfectimage.com/httpd.www/user_login/Templates/users_Registration.php on line 41

Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of your users_Registration.php page.

Sign in to reply to this post

hbibizadeh396670

I have attached a copy of the system. Again the system works locally, but not online for some reason. The pages are in the templates folder.

Thanks

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

Jason ByrnesWebAssist

it looks like you have not modified the connections/database.php file with the correct information to make a connection to the remote mySQL server.

You will need to modify the database connection server to properly connect to your hosts mysql server.

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