Using the login and authentication wizard through Dreamweaver 8

can anybody tell me what these error messages are? I have
that logon.php file in that directory. I am not sure what these
messages mean?
when page loads I get these.......
Warning: open(/tmp\sess_df7e67aa92cb740cee4bce1b9ac58406,
O_RDWR) failed: No such file or directory (2) in
c:\phpdev5\www\user_logon.php on line 5
Warning: open(/tmp\sess_df7e67aa92cb740cee4bce1b9ac58406,
O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Failed to write session data (files). Please verify
that the current setting of session.save_path is correct (/tmp) in
Unknown on line 0
when I hit submit I receive this message....
Warning: Cannot add header information - headers already sent
by (output started at c:\phpdev5\www\user_logon.php:5) in
c:\phpdev5\www\user_logon.php on line 40

here is the code I am using..
<?php require_once('Connections/COnn2.php'); ?>
<?php
// *** Validate request to login to this site.
//////////when I delete this---if (!isset($_SESSION)) {
session_start();}-----it gets rid of the error messages but
when I logon I go the registration page either and not the logon
page,
$loginFormAction = $_SERVER['PHP_SELF'];
if (isset($_GET['accesscheck'])) {
$_SESSION['PrevUrl'] = $_GET['accesscheck'];
if (isset($_POST['firstname'])) {
$loginUsername=$_POST['firstname'];
$password=$_POST['lastname'];
$MM_fldUserAuthorization = "";
$MM_redirectLoginSuccess = "User_login.html";
$MM_redirectLoginFailed = "registration.html";
$MM_redirecttoReferrer = false;
mysql_select_db($database_COnn2, $COnn2);
$LoginRS__query=sprintf("SELECT id, f_name FROM auth_users
WHERE id='%s' AND f_name='%s'",
get_magic_quotes_gpc() ? $loginUsername :
addslashes($loginUsername), get_magic_quotes_gpc() ? $password :
addslashes($password));
$LoginRS = mysql_query($LoginRS__query, $COnn2) or
die(mysql_error());
$loginFoundUser = mysql_num_rows($LoginRS);
if ($loginFoundUser) {
$loginStrGroup = "";
//declare two session variables and assign them
$_SESSION['MM_Username'] = $loginUsername;
$_SESSION['MM_UserGroup'] = $loginStrGroup;
if (isset($_SESSION['PrevUrl']) && false) {
$MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
header("Location: " . $MM_redirectLoginSuccess );
else {
header("Location: ". $MM_redirectLoginFailed );
?>
any suggestions??

Similar Messages

  • Error while using the 'Form and Report' wizard

    Hello,
    I’m trying to create a form and report on EMP, using the APEX wizards, but I’m getting the following error message:
    ORA-20001: Unable to create query and update page. ORA-20001: Unable to create query and update page. ORA-20001: Unable to create form on table. ORA-20001: Error creating shortcut id="" ORA-00001: unique constraint (FLOWS_030100.WWV_FLOW_SHORTCUT_IDX1) violated
    This is something local, on my APEX instance only, but any ideas what is wrong here?
    Thanks,
    Arie.

    Hi Scott,
    >> Do you happen to know where that PL/SQL shortcut came from? Created by you or an apex wizard?
    The original shortcut was probably created by an APEX wizard, but then I changed its type to ‘PL/SQL Function Body’. The shortcuts are not included in the translatable components, so I need a function to determine the application language, and issue the message accordingly.
    >> The type of the shortcut is not part of that constraint
    So changing the shortcut type back to the type I need, after the wizard finished its job, should not have any side effects. Correct?
    >> and the sequence always seems to be 1
    And we don’t have access to it, so we can’t change it manually.
    >> Our bug
    Can you please fill a bug report on that?
    I will post an enhancement request about including shortcuts in the translatable components, but I’ll appreciate you mention this issue also.
    Appreciate your time and efforts,
    Arie.

  • Seeing the X on the padlock and a slash through the https on the address line when I use Outlook Web App

    I run exchange 2013 on windows 2008 R2 with a cert from VeriSign that is about 2 years away from expiration. I have a user who uses our Outlook Web App from home and keeps complaining he is "seeing the red X on the padlock and a slash through the https
    on the address line when he uses Outlook Web App"
    I go to EAC and the cert seems fine - ALTHOUGH I get a cert error on my IE when I login into EAC. So I'm wondering if I have a cert problem.
    Any help would be appreciate.
    RJM

    Hi,
    According to your description, I understand that login OWA and return an certificate warning.
    If I misunderstand you concern, please do not hesitate to let me know.
    I want to double confirm whether all user or some special user experience this issue. If only few of user face this problem, please try to double check the Trusted Root Certification Authorities Certificate Store in IE.
    Otherwise, please run below command to double check the status of Exchange certificate:
    Get-ExchangeCertificate | FL Identity,Subject,Status,RootCAType,NotAfter,NotBefore
    If the certificate expired, please pay attention to below link to renew Exchange Certificate:
    https://social.technet.microsoft.com/Forums/office/en-US/5dc21f0f-5e09-469f-90a8-efcbfd56f884/renewing-exchange-2013-certificate?forum=exchangesvrgeneral
    Thanks
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Allen Wang
    TechNet Community Support

  • I have bought an used Iphone 5. I dont have the password for the existing login id of the old owner. How do i use the phone and change the log in id?

    I have bought an used Iphone 5. I dont have the password for the existing login id of the old owner. How do i use the phone and change the log in id?

    Unfortunatly the only way that you can get it off is to get the old user to input the password.  You may need to contact that old user and see if he can put the old password in.  hope this helps.

  • I just bought the new ipod touch, but when I try to sync it I get told to use the cloud and download from there.  How do I sync it to my itunes so that I get all my songs without going through cloud? Otherwise if this isn't possible I am taking this back!

    I just bought the new ipod touch, but when I try to sync it I get told to use the cloud and download from there.  How do I sync it to my itunes so that I get all my songs without going through cloud? Otherwise if this isn't possible I am taking this back!

    Thanks for no help... but for anyone else, turn off itunes match on the ipod

  • How to cycle through scenes using the up and down buttons??? (Please help, novice!)

    Hi,
    I'm currently trying to teach myself how to use flash CS5 and actionscript 3 and apart from doing small amounts of programing here and there I'm a complete novice.
    I have 36 photographs taken at 10-degree angles, making an object and i have each image in a different scene, with hidden buttons asigned to different parts of the object so that whenever you hover your mouse over them it provides some more information.
    What I want to do is to be able to cycle through these images in the different scenes using the up and down buttons on the keyboard.
    I'm hoping that I'm at least half way there having assigned the 'hot-spots' but I'm just stuck on the final part... please help!!!!
    Many thanks in advance!
    Harry

    If you are talking about the arrow keys on the keyboard you will have to use a Keyboard Event listener and take note of the constant value for resulting KeyCode
    This website seems to have a handle on it:
    http://www.republicofcode.com/tutorials/flash/as3keyboard/
    There is another method that allows you to listen just to the keys you want (up and down):
    http://www.flex888.com/598/using-keycodes-in-actionscript-3.html

  • After hibernation, when trying to login to MacBook Air, it does not accept my password. I have to shut off and then get prompted with the following: Mac OS X wants to use the "login" keychain. I put in the password there and it works. any suggestions?

    after hibernation, when trying to login to MacBook Air, it does not accept my password. I have to shut off and then get prompted with the following: Mac OS X wants to use the "login" keychain. I put in the password there and it works. any suggestions?

    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
    Keychain Access ▹ Preferences ▹ First Aid
    If the box marked Keep login keychain unlocked is not checked, check it.
    Select
    Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.

  • How to use the user and role API's and where to use it

    Hi All,
    I have configured SSO for my UCM11g. Now my application authenticates through the Oracle SSO login page. Currently it is working with SQL authenticator.
    Now, i have to use LDAP authenticator. when i will configure the LDAP authenticator, i have to use the user and role API's to fetch the user profile information from LDAP. i have got the API's which will be used to fetch the respected information, but i am not getting as where i will write those java programs and how this API will be used in my application. what settings i need to do on it so that application uses the API's. ?
    Please can anyone help me on this.
    thanks,
    Saurabh

    Hi, Mithu,
    Thanks a lot for your help in advance.
    I have carefully read the document: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6b66d7ea-0c01-0010-14af-b3ee523210b5.
    Now, I think I have to set the processor of every actions in every process if I use the GP for processing the workflow.
    I am better to hope that I can set the processor to the role for every actions in every process in the runtime through get the organizational structure in the WDA(webdynpro for java or webdynpro for java). Thus, the customer don't set the processor to the role for every action in every process when runing in the GP.   I don't know how to do this. 
    Whether the function is not supported in the GP? If so, I have to config two organizational structure: in the R/3 and in the Portal. I don't think our customer don't receipt this solution.
    Do you give me some hints? Thanks a lot.  My email: [email protected]
    Thanks again.
    Thanks & Regards,
    Tao

  • Why am I recently unable to use my mouse to scroll email topics or content?  I can only use the up and down arrows keys to scroll.

    Why am I recently unable to use my mouse to scroll email topics or content?  I can only use the up and down arrows keys to scroll. I am able to use my mouse to scroll through internet searches.  It only seems to have affected my email messages.

    Try a restart.
    Do a backup, using either Time Machine or a cloning program, to ensure files/data can be recovered. Two backups are better than one.
    Try setting up another admin user account to see if the same problem continues. If Back-to-My Mac is selected in System Preferences, the Guest account will not work. The intent is to see if it is specific to one account or a system wide problem. This account can be deleted later.
    Isolating an issue by using another user account
    If the problem is still there, try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don't do them all at once.
    Safe Mode - Mavericks
    Safe Mode - About

  • Safari wants to use the "login" keychain. -- Why can't Safari remember???

    When I launch the Safari application, I get a dialogue box with a message indicating the following:
    Safari wants to use the "login" keychain.
    Please enter the keychain password.
    Password:
    Cancel -- OK
    When I get this dialogue box, I enter the login keychain password in the Password text box, and I click the OK button. Then, Safari proceeds as normal. This is extremely annoying, because it happens almost every time that I launch Safari.
    This only started to happen after I upgraded on Monday to Mac OS X Leopard version 10.5. During the Leopard upgrade, I had problems with the keychain passwords, and so I then upgraded again with the new "Login and Keychain Update 1.0". But, the problems with Safari forgetting the login keychain password continue.
    The strange thing is that there is NO option in the dialogue box to indicate that Safari should REMEMBER the password. The option does NOT exist, so I can NOT click the Remember box.
    I also went into the Keychain Access utility and double-checked and confirmed that my First Aid preferences were properly CHECKED for "Synchronize login keychain password with account" and also "Keep login keychain unlocked". Both of these preferences options are checked. So, I can't understand why Safari cannot remember the login keychain password?
    I have this exact same problem with the Mail application, as well.
    And, it looks like many many people are having the same problem -- See the following link to related discussions:
    http://discussions.apple.com/thread.jspa?messageID=5679135&#5679135
    Can anyone please help? -- When is Apple going to release a fix for this problem? -- Has anyone received any kind of acknowledgement from Apple that they are aware of this problem and that they intend to fix it?
    Please help !!!

    I had the same experience and found a solution.
    After the upgrade, I had a login keychain (the default) and my original username keychain. Both are in the chain of keychains, but since it has a choice, Mail keeps asking you to confirm.
    I moved all the entries out of username into login, deleted username, and all is well.
    Note that Keychain asks for your password on EACH ITEM that it moves, which can be tedious. So I changed the keychain password to a single character, just for the duration, then changed it back to something secure.
    If, on the other hand, you don't have two keychains, then I can offer no suggestion.

  • I have a macbook pro with 10.6.8 on it but I need to do a clean re install and my CD is 10.4.6. Can I use the CD and then are my OS updates to 10.6.8 free?

    I have a macbook pro with 10.6.8 on it but I need to do a clean re install and my CD is 10.4.6. Can I use the CD and then are my OS updates to 10.6.8 free?
    Also can I use iMac OS install disks on a MacBookPro?

    You will have to buy Snow Leopard:
    You can purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard - Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order. You also should find it at your local Apple retailers.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.

  • How to edit the find-and-replace dialog in Dreamweaver 8

    For over 13 years I have been a happy user of Macromedia Dreamweaver 8. And I still see no reason to use any other program for editting PHP.
    However, 1 thing has been bugging me for years. In the find-and-replace dialog there is a select "Find in". The options are in a dropdown.
    I want this select to be a multiselector (not in functionality, but just so I don't need to click to get the dropdown, but just one click to select).
    I read in the help at 'Customizing the appearance of dialog boxes' at point 4
    On your disk, find the appropriate HTM file in the Configuration/Objects, Configuration/ Commands, or Configuration/Behaviors folder.
    I've been searching but can not find the code for that dialog, althou it should be easy. Also did a search for that 'save' image, because once I find that, I can find this form, but its not in the macromedia folder.
    how to edit the find-and-replace dialog in Dreamweaver 8?

    It's looks less like an image and more like a form drop list to me.
    Yes its a dropdown list. But to find the code for that select I tried to find the htm file that code is on by searching for the save-image which is also on that page (next to the yellow folder). I did a search on all folders in c:/programfiles/macromedia and that image is not in there. If I could find the image name, I could search the code for that and should find that htm (or javascript) which is outputting it, then the select must be near to that.
    I also searched the code for the various texts on the page and got many hits, but not from the dialog page. I can't search dll files, so maybe thats where that code is in.

  • Where is the update records form wizard in dreamweaver cc?

    Where is the update record form wizard in dreamweaver cc?
    Does anyone know of a website or a reference manual about dreamweaverCC?  every example and tutorial online are mostly about older versions of Dreamweaver.  Some brainiac at Adobe thought, why don't we change the whole freaking interface around so nobody can figure out where anything is anymore with the new version....&^$@^#$^^

    Simply choose Server Behaviours --> + --> Update Record

  • Hi, why do we use the break and continue structure?

    Hi, I was wondering why do we use the break and continue structure in some program such as:
    for ( int i = 1; i <= 10; i++ ) {
    if ( i == 5 )
    break;
    So, now why do we use those codes, instead of achiving the same results by not using the if structure.
    I am new in java so I can be totaly wrong that is why my question come to you guys.
    I will appriciate if you let me understand more.

    I may not completely understand your question, but - imagine the following scenario:
    // Looking for some value in a long, unsorted list
    Object target = null;
    int index = -1;
    for (int i = 0; i < list.size(); i++) {
        Object curObject = list.get(i);
        if (curObject.equals(source)) {
            target = source;
            index = i;
    if (target != null){
        System.out.println("Found it at " + index);
    }You will always run through the entire long list, even if the thing you are looking for is the first thing in the list. By inserting a break statement as:
    // Looking for some value in a long, unsorted list
    Object target = null;
    int index = -1;
    for (int i = 0; i < list.size(); i++) {
        Object curObject = list.get(i);
        if (curObject.equals(source)) {
            target = source;
            index = i;
            break;
    if (target != null){
        System.out.println("Found it at " + index);
    }You can skip whatever's left in the list.
    As for continue, yes, I suppose you could use a big if, but that can get burdensome - you end up with code like:
    for (int i = 0; i < list.size(); i++) {
        Object curObject = list.get(i);
        // you want to do the rest only if some condition holds
        if (someCondition) {
            // do some stuff -
            // And you end up with lots of code
            // all in this if statement thing
            // which is ok, I suppose
            // but harder to read, in my opinion, than the
            // alternative
    }instead of
    for (int i = 0; i < list.size(); i++) {
        Object curObject = list.get(i);
        // you want to do the rest only if some condition holds
        if (!someCondition) {
            continue;
        // do some stuff -
        // And you end up with lots of code
        // all outside of any if statement thing
        // which is easier to read, in my opinion, than the
        // alternative
    }Hope that helped
    Lee

  • Using the Import Test Data Wizard

    Using Oracle HTMLDB 1.6.0.00.87
    Whenever we try to use the import test data wizard, even using a simple text file such as: "Forname","Surname"
    Joe,Bloggs
    the file does not import correctly. We are trying to import to a new table and uploading a txt file with the above content. What we get in the set table properties is something like: Column Names : rom_wwv_flow_file_objects
    Data Type:VARCHAR2
    Format:
    Column Length: 30
    Upload: Yes
    Row 1: Where n
    Any ideas? We tried the same test at the UK Oracle user group conference with success. Is there a set up problem on our server?
    Cheers
    Ty

    Problem solved.
    Ensure the correct character is set when importing.

Maybe you are looking for

  • Does iphone 4s supports Sim access profile

    Does any one know if the Sim access profile supported by the new Iphone 4s?

  • 15-d037dx - How to turn off touchpad?

    How is the touchpad turned on and off on this model? It's making typing very difficult not being able to turn it off. I've tried the usual upper left corner hold, tap, etc., and I've dug around for options in the control panel. I can't seem to figure

  • IPhone restored...need help

    I retsored my iPhone. Now I want to restore the last backup but it sais I have to enter a password. The password for my apple ID does not do it. Does anybody know what I have to do or which password is required? Please help I don't want to lose all m

  • Unable to load plugin

    Hi, Intermitently we can see the following error. We see the following in the error logs of the directory: [24/Apr/2005:15:28:24 -0400] - Sun-ONE-Directory/5.2 B2003.143.0020 (64-bit) starting up [24/Apr/2005:15:28:26 -0400] - ERROR<4138> - plugin_de

  • Downloaded H&R block tax software on windows machine, how can I transfer it

    I bought the tax software on Dell's software sight, I made sure that the software was Mac compatible. When I went to download the software, I found out that it could not downloaded on a mac:( Others had success downloading it to a windows machine and