Results 1 to 3 of 3

Thread: Fatal error occuring on web

  1. #1
    Junior Member
    Join Date
    Mar 2008
    Age
    40
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Reputation
    10

    Default Fatal error occuring on web

    Hi guys..

    i'm making a website, trying to create a registration page but i get an error:

    Fatal error: Call to undefined function virtual() in /.../public_html/test form2.php on line 1

    when i test the page out.

    this is just a test page i'm trying to make.
    the test form 2.php line 1 is:

    <?php virtual('/Connections/databasetest2.php'); ?>

    And the databasetest2.php file code is:
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_databasetest2 = "localhost";
    $database_databasetest2 = "username_testdatabase2";
    $username_databasetest2 = "username";
    $password_databasetest2 = "xxxxxx;
    $databasetest2 = mysql_pconnect($hostname_databasetest2, $username_databasetest2, $password_databasetest2) or trigger_error(mysql_error(),E_USER_ERROR);
    ?>


    i'm not good with coding. that's why i was using dreamweaver. Any idea on how to go about fixing this? do you need more info?

    My second question is.. is there any extensions available, hopefully free or cheap, which allows me to register users, have login sections, send records to database in mySQL etc....?


    Thankyou



Look Here ->
  • #2
    Senior Member
    Philquad's Avatar
    Join Date
    Jan 2008
    Location
    nelson bay
    Age
    55
    Posts
    3,872
    Thanks
    192
    Thanked 1,305 Times in 783 Posts
    Rep Power
    666
    Reputation
    16938

    Default

    use this

    its easier
    https://www.facebook.com/philquad68

  • #3
    Junior Member
    Join Date
    Mar 2008
    Age
    40
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Reputation
    10

    Default

    I tried phhFormGenerator, but did not really find it that effective. But I did download a dreamweaver extension to get the form to work.
    I'm still having the error problem though- this time i'm trying to load the data back onto the website from the database!
    what is with this virtual function? and why doesn't it work? it is automatically generated by dreamweaver, so i don't understand why it doesn't work...

  • Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •