Can anyone see in this code why my insert and check username function is not working?

Hi guys.
I have an error that has me stumped.
I have a form that inserts text from a text field into a
mysql database and I have added a check user name function to check
if this number already exists.
Here's the page
http://www.thechallenge.net.au/redemption2.php
The error I get when using the page on the web is this
Duplicate entry '' for key 1
Can anyone help with this?

ducati1 wrote:
> Ok we are now getting somewhere.
> I have reset the mysql database as recommended and
everything works Except the
> pay pal receipt number is being entered into the
database as only numbers and
> no letters. For example when I entered 123456f it went
to the database as
> 123456 with no "f".
> What should I set the database and text field properties
to so it records all
> that might be in a pay pal receipt number?
I noticed previously you changed it to int, that means
integer, which is
a numeric datatype.
You want mixed characters and numbers? Is it always the same
length? If
it is, use a CHAR datatype and set it to the length you need,
CHAR(12)
for instance will let you use 12 characters. Even if the
number entered
isn't 12 characters, it will be stored as 12 characters, but
with spaces
where there are no characters. I personally never use this
unless I am
100% certain that its going to be exactly the same length,
otherwise
doing comparisons is problematic, as you need to TRIM the
white space.
If the length is going to vary, then use VARCHAR(12), this
let you use
up to 12 characters. It won't put extra spaces in. This is my
preference.
Now, if you are also storing double byte characters, like
foreign
characters, you might want to consider using NVARCHAR or
NCHAR.
Oh, these examples are based on MS SQL datatypes, so MySQL
might be
slightly different, so it may be worth checking the manual
first.
Dooza

Similar Messages

  • Can anyone please explain this code to me?

    I am a new (junior)programmer?Can anyone please explain this code to me in lame terms? I am working at a client location and found this code in a project.
    _file name is AtccJndiTemplate.java_
    Why do we use the Context class?
    Why do we use the properties class?
    package org.atcc.common.utils;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Properties;
    import java.util.logging.Logger;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import org.springframework.jndi.JndiTemplate;
    public class AtccJndiTemplate extends JndiTemplate
      private static Logger logger = Logger.getLogger(AtccJndiTemplate.class.getName());
      private String jndiProperties;
      protected Context createInitialContext()
        throws NamingException
        Context context = null;
        InputStream in = null;
        Properties env = new Properties();
        logger.info("Load JNDI properties from classpath file " + this.jndiProperties);
        try
          in = AtccJndiTemplate.class.getResourceAsStream(this.jndiProperties);
          env.load(in);
          in.close();
        catch (NullPointerException e) {
          logger.warning("Did not read JNDI properties file, using existing properties");
          env = System.getProperties();
        } catch (IOException e) {
          logger.warning("Caught IOException for file [" + this.jndiProperties + "]");
          throw new NamingException(e.getMessage());
        logger.config("ENV: java.naming.factory.initial = " + env.getProperty
    ("java.naming.factory.initial"));
        logger.config("ENV: java.naming.factory.url.pkgs = " + env.getProperty
    ("java.naming.factory.url.pkgs"));
        logger.info("ENV: java.naming.provider.url = " + env.getProperty
    ("java.naming.provider.url") + " timeout=" + env.getProperty("jnp.timeout"));
        context = new InitialContext(env);
        return context;
      public String getJndiProperties()
        return this.jndiProperties;
      public void setJndiProperties(String jndiProperties)
        this.jndiProperties = jndiProperties;
    }

    Hi,
    JNDI needs some property such as the
    java.naming.factory.initial
    java.naming.provider.url
    which are needed by the
    InitialContext(env);
    where env is a properties object
    Now if you can not find the physical property file on the class path
    by AtccJndiTemplate.class.getResourceAsStream(this.jndiProperties);
    where the String "jndiProperties" get injected by certain IOC ( inverse of control container ) such as Spring framework
    if not found then it will take the property from the system which will come from the evniromental variables which are set during the application start up i.e through the command line
    java -Djava.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory -Danother=value etc..
    I hope this could help
    Regards,
    Alan Mehio
    London,UK

  • I just got a new iMac yesterday. I connected my Itouch and it would appear I have lost all my songs! Can anyone help? This is my first Mac and I am very intimidated by it.I

    I just got a new iMac yesterday. I connected my Itouch and it would appear I have lost all my songs! Can anyone help? This is my first Mac and I am very intimidated by it.I

    How did you get your songs onto your iPod Touch?
    If purchase directly from iTunes you can download them again.
    If your iPod is synced to iTunes on a Windows PC, then, sync your iPod to that computer.
    If this is your first Mac, are you migrating from a Windows PC?
    You may be interested in Apple's support pages on switching to Mac from PC.
    http://www.apple.com/support/switch101/

  • HT1212 My iPhones screen is broken(a black screen and the touch function does not work). I want to back it up, however I can't unlock it. I don't need to fix it, but i do need the information back up to new iPhone. How can i back it up?

    My iPhones screen is broken(a black screen and the touch function does not work).I want to back it up, however I can't unlock it. I don't need to fix it, but i do need the information back up to new iPhone. How can i back it up?

    i don't see a way for you to back up your phone, because it will require you to unlock the phone. 

  • Can anyone help with this code

    i am trying to create a html5 video gallery for my website  I was wondering if anyone can help me with this code :  Am i missing something got this from the adobe widget browser i can get the button fuctions but i can not seem to get the video to play or work.. 

    This is the full page i am still working on it but the video code which i posted earlier is not working...    
    123456789101112131415
    Home
    Biography
    To Be Lead
    Gallery
    Videos
    Memorial Page
    Wallpaper
    Blog
    Forum
    Contact
    Randy Savage Bio
    Randy's Facts 101
    His Early Career
    Randy's Career in the WWF
    Randy's Career in WCW
    The Mega Powers  
    Mega powers Bio Mega Powers Facts 101 
    PM to fans and Elizabeth
    Randy's Radio interview
    His Death
    Elizabeth Hulette 
    Elizabeth Bio Elizabeth Facts 101 Her Career in the WWF Her Career in WCW Later Life Farewell to a Princess Elizabeth's Radio Interview Elizabeth Death 
    Sherri Martel
    Gorgeous George
    Team Madness
    Early Years
    ICW Gallery
    WWF Gallery
    WCW Gallery
    NWO Gallery
    Memorial Page for Randy
    Memorial Page for Elizabeth
                          Video of the Month    
    Site Disclaimer
    Macho-madness is in no way in contact with World Wrestling Entertainment. All photos are copyright to World Wrestling Entertainment or their respective owners and is being used under the fair copyright of Law 107.
    ©macho-madness.net All right's Reserved.  
            Affiliates
    Want to be an affiliate, elite, or partner site? Email: [email protected] with the list of things below.
    Place in the subject of email: “Randy Savage Online Affiliation”.
    Name: 
    Email: 
    Site Name: 
    Site URL: 
    When Will The Site Be Added?:
                        To see A List Click Here...
    ©macho-madness.net All right's Reserved.  
    Offical Links

  • Can anyone tell from this log why my mac keeps crashing and forcing a restart?

    Can anyone tell fromm the log below why my iMac keeps randomly crashing and forcing a restart? It is happening way too often now and it's driving me crazy!
    Only just a few days ago I wiped my drive clean and installed a fresh OS copy of mountain lion, I then though it may be a Ram issue but a thorough test said everything was ok and I had a memory monitor window open last time it crashed which showed that barely any of the memory was in use!?
    Really need some help here guys!
    Thanks in advance!
    Sat Mar 16 23:28:12 2013
    panic(cpu 1 caller 0xffffff801e6b7bd5): Kernel trap at 0xffffff7f9fc0c643, type 6=invalid opcode, registers:
    CR0: 0x000000008001003b, CR2: 0x000000010b90a01c, CR3: 0x0000000021411000, CR4: 0x0000000000000660
    RAX: 0x0000000000000000, RBX: 0xffffff81068d3ef0, RCX: 0x0000000000000000, RDX: 0x0000000000000000
    RSP: 0xffffff81068d3ed0, RBP: 0xffffff81068d3f20, RSI: 0x000000000505a5a5, RDI: 0x0000000000000000
    R8:  0xffffff803128dc90, R9:  0x0000000000000000, R10: 0x00000000ffffffff, R11: 0xffffff801ec7de88
    R12: 0x0000000000000008, R13: 0xffffff8031c2b000, R14: 0xffffff8032ff7400, R15: 0xffffff8031357c00
    RFL: 0x0000000000010246, RIP: 0xffffff7f9fc0c643, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x000000010b90a01c, Error code: 0x0000000000000000, Fault CPU: 0x1
    Backtrace (CPU 1), Frame : Return Address
    0xffffff81068d3b70 : 0xffffff801e61d626
    0xffffff81068d3be0 : 0xffffff801e6b7bd5
    0xffffff81068d3db0 : 0xffffff801e6ce4ed
    0xffffff81068d3dd0 : 0xffffff7f9fc0c643
    0xffffff81068d3f20 : 0xffffff801ea49e4a
    0xffffff81068d3f60 : 0xffffff801e63dcde
    0xffffff81068d3fb0 : 0xffffff801e6b26b7
          Kernel Extensions in backtrace:
             com.apple.driver.AirPort.Brcm4331(602.15.22)[5BDCA43F-AD42-3F05-BCCF-BC364D17E1 5F]@0xffffff7f9fb92000->0xffffff7f9fd83fff
                dependency: com.apple.iokit.IOPCIFamily(2.7.2)[B1B77B26-7984-302F-BA8E-544DD3D75E73]@0xffff ff7f9ecda000
                dependency: com.apple.iokit.IO80211Family(500.15)[4282DF5A-86B9-3213-B9B1-675FAD842A94]@0xf fffff7f9fb26000
                dependency: com.apple.iokit.IONetworkingFamily(3.0)[28575328-A798-34B3-BD84-D708138EBD17]@0 xffffff7f9f534000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    12C60
    Kernel version:
    Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
    Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
    Kernel slide:     0x000000001e400000
    Kernel text base: 0xffffff801e600000
    System model name: iMac9,1 (Mac-F2218FA9)
    System uptime in nanoseconds: 1004867458646
    last loaded kext at 27493449253: com.apple.driver.AppleHWSensor          1.9.5d0 (addr 0xffffff7fa067d000, size 36864)
    last unloaded kext at 115937665473: com.apple.driver.AppleFileSystemDriver          3.0.1 (addr 0xffffff7fa08c0000, size 8192)
    loaded kexts:
    com.paceap.kext.pacesupport.snowleopard          5.9
    com.Cycling74.driver.Soundflower          1.6.6
    com.digidesign.iokit.DigiDal          10.3.4f181
    at.obdev.nke.LittleSnitch          3876
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.driver.AppleBluetoothMultitouch          75.15
    com.apple.iokit.IOBluetoothSerialManager          4.0.9f33
    com.apple.driver.AGPM          100.12.69
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AudioAUUC          1.60
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AppleHDA          2.3.1f2
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport          4.0.9f33
    com.apple.driver.AppleMikeyDriver          2.3.1f2
    com.apple.driver.ApplePolicyControl          3.2.11
    com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
    com.apple.driver.AppleLPC          1.6.0
    com.apple.driver.AppleUpstreamUserClient          3.5.10
    com.apple.driver.AppleBacklight          170.2.3
    com.apple.driver.AppleMCCSControl          1.0.33
    com.apple.GeForce          8.0.0
    com.apple.driver.AppleIRController          320.15
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          34
    com.apple.iokit.SCSITaskUserClient          3.5.1
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.2.2
    com.apple.driver.AppleUSBHub          5.2.5
    com.apple.driver.AppleFWOHCI          4.9.6
    com.apple.driver.AirPort.Brcm4331          602.15.22
    com.apple.driver.AppleAHCIPort          2.4.1
    com.apple.nvenet          2.0.19
    com.apple.driver.AppleUSBEHCI          5.4.0
    com.apple.driver.AppleUSBOHCI          5.2.5
    com.apple.driver.AppleEFINVRAM          1.6.1
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleHPET          1.7
    com.apple.driver.AppleACPIButtons          1.6
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.6
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          196.0.0
    com.apple.nke.applicationfirewall          4.0.39
    com.apple.security.quarantine          2
    com.apple.driver.AppleIntelCPUPowerManagement          196.0.0
    com.apple.driver.IOBluetoothHIDDriver          4.0.9f33
    com.apple.driver.AppleMultitouchDriver          235.28
    com.apple.iokit.IOSerialFamily          10.0.6
    com.apple.kext.triggers          1.0
    com.apple.iokit.IOSurface          86.0.3
    com.apple.iokit.IOBluetoothFamily          4.0.9f33
    com.apple.driver.DspFuncLib          2.3.1f2
    com.apple.iokit.IOAudioFamily          1.8.9fc10
    com.apple.kext.OSvKernDSPLib          1.6
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.iokit.AppleBluetoothHCIControllerUSBTransport          4.0.9f33
    com.apple.driver.AppleHDAController          2.3.1f2
    com.apple.iokit.IOHDAFamily          2.3.1f2
    com.apple.driver.AppleGraphicsControl          3.2.11
    com.apple.driver.AppleSMC          3.1.4d2
    com.apple.driver.IOPlatformPluginLegacy          1.0.0
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.IOPlatformPluginFamily          5.2.0d16
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.nvidia.nv50hal          8.0.0
    com.apple.NVDAResman          8.0.0
    com.apple.iokit.IONDRVSupport          2.3.5
    com.apple.iokit.IOGraphicsFamily          2.3.5
    com.apple.driver.AppleUSBHIDKeyboard          165.5
    com.apple.driver.AppleHIDKeyboard          165.5
    com.apple.iokit.IOUSBHIDDriver          5.2.5
    com.apple.driver.AppleUSBMergeNub          5.2.5
    com.apple.driver.AppleUSBComposite          5.2.5
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.5.1
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.iokit.IOAHCISerialATAPI          2.5.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.5.1
    com.apple.iokit.IOUSBUserClient          5.2.5
    com.apple.iokit.IOFireWireFamily          4.5.5
    com.apple.iokit.IO80211Family          500.15
    com.apple.iokit.IOAHCIFamily          2.2.1
    com.apple.iokit.IONetworkingFamily          3.0
    com.apple.iokit.IOUSBFamily          5.4.0
    com.apple.driver.NVSMU          2.2.9
    com.apple.driver.AppleEFIRuntime          1.6.1
    com.apple.iokit.IOHIDFamily          1.8.0
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          220
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          344
    com.apple.iokit.IOStorageFamily          1.8
    com.apple.driver.AppleKeyStore          28.21
    com.apple.driver.AppleACPIPlatform          1.6
    com.apple.iokit.IOPCIFamily          2.7.2
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.corecrypto          1.0

    Right so I decided to erase my harddrive completely using disk utility, then went on to install a fresh version of mountain lion (both by holding down cmd-r when booting up)
    With a fresh system I tried what had previously casued a kernel crash, which wa copying a video to my downloads folder, selecting it and then hitting spacebar to preview it, the video plays fine for about a minute then it jolts, freezes and then retarts with a white screen saying I need to restart.
    Below is the report, im so confused!
    Sun Mar 17 18:57:28 2013
    panic(cpu 0 caller 0xffffff80106b7e95): Kernel trap at 0xffffff80106ed48c, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0xffffef8033827c10, CR3: 0x0000000010d61000, CR4: 0x0000000000000660
    RAX: 0xffffef8033827bd8, RBX: 0xffffff803382bf00, RCX: 0x0000000000000001, RDX: 0xffffff803382bf00
    RSP: 0xffffff80eb473d40, RBP: 0xffffff80eb473d50, RSI: 0x0000000000000002, RDI: 0xffffff803382bf00
    R8:  0x0000000000000001, R9:  0x0000000000000000, R10: 0xffffff802e9386de, R11: 0x000000000000005e
    R12: 0x000000001206ffb6, R13: 0xffffff8021d35b70, R14: 0xffffff80eb473e38, R15: 0xffffff803382bf00
    RFL: 0x0000000000010202, RIP: 0xffffff80106ed48c, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0xffffef8033827c10, Error code: 0x0000000000000000, Fault CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80eb4739e0 : 0xffffff801061d626
    0xffffff80eb473a50 : 0xffffff80106b7e95
    0xffffff80eb473c20 : 0xffffff80106cd4dd
    0xffffff80eb473c40 : 0xffffff80106ed48c
    0xffffff80eb473d50 : 0xffffff8010905256
    0xffffff80eb473d80 : 0xffffff80106ed787
    0xffffff80eb473df0 : 0xffffff801090502b
    0xffffff80eb473ea0 : 0xffffff80106f93bf
    0xffffff80eb473ed0 : 0xffffff80106f2af7
    0xffffff80eb473f30 : 0xffffff80106f9339
    0xffffff80eb473f50 : 0xffffff80109e063a
    0xffffff80eb473fb0 : 0xffffff80106cdd23
    BSD process name corresponding to current thread: launchd
    Mac OS version:
    12D78
    Kernel version:
    Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64
    Kernel UUID: 3EB7D8A7-C2D3-32EC-80F4-AB37D61492C6
    Kernel slide:     0x0000000010400000
    Kernel text base: 0xffffff8010600000
    System model name: iMac9,1 (Mac-F2218FA9)
    System uptime in nanoseconds: 882306338748
    last loaded kext at 401615756667: com.apple.iokit.IOSCSIBlockCommandsDevice          3.5.5 (addr 0xffffff7f926f4000, size 86016)
    last unloaded kext at 723627002193: com.apple.iokit.IOUSBMassStorageClass          3.5.1 (addr 0xffffff7f926e3000, size 69632)
    loaded kexts:
    com.apple.driver.AppleBluetoothMultitouch          75.19
    com.apple.iokit.IOBluetoothSerialManager          4.1.3f3
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.driver.AudioAUUC          1.60
    com.apple.filesystems.autofs          3.0
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.driver.AppleUpstreamUserClient          3.5.10
    com.apple.driver.AGPM          100.12.87
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.GeForce          8.1.0
    com.apple.driver.AppleHDA          2.3.7fc4
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AppleMikeyDriver          2.3.7fc4
    com.apple.driver.AppleBacklight          170.2.5
    com.apple.nvenet          2.0.19
    com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport          4.1.3f3
    com.apple.driver.ApplePolicyControl          3.3.0
    com.apple.driver.AirPort.Brcm4331          614.20.16
    com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
    com.apple.driver.AppleLPC          1.6.0
    com.apple.driver.AppleMCCSControl          1.1.11
    com.apple.driver.AppleIRController          320.15
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          34
    com.apple.iokit.SCSITaskUserClient          3.5.5
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.3.1
    com.apple.driver.AppleFWOHCI          4.9.6
    com.apple.driver.AppleUSBHub          5.5.5
    com.apple.driver.AppleEFINVRAM          1.7
    com.apple.driver.AppleAHCIPort          2.5.1
    com.apple.driver.AppleUSBEHCI          5.5.0
    com.apple.driver.AppleUSBOHCI          5.2.5
    com.apple.driver.AppleHPET          1.8
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleACPIButtons          1.7
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.7
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          196.0.0
    com.apple.nke.applicationfirewall          4.0.39
    com.apple.security.quarantine          2
    com.apple.driver.AppleIntelCPUPowerManagement          196.0.0
    com.apple.driver.AppleMultitouchDriver          235.29
    com.apple.driver.IOBluetoothHIDDriver          4.1.3f3
    com.apple.iokit.IOSerialFamily          10.0.6
    com.apple.kext.triggers          1.0
    com.apple.iokit.IOSurface          86.0.4
    com.apple.nvidia.nv50hal          8.1.0
    com.apple.NVDAResman          8.1.0
    com.apple.driver.DspFuncLib          2.3.7fc4
    com.apple.iokit.IOAudioFamily          1.8.9fc11
    com.apple.kext.OSvKernDSPLib          1.6
    com.apple.iokit.IOBluetoothFamily          4.1.3f3
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.iokit.AppleBluetoothHCIControllerUSBTransport          4.1.3f3
    com.apple.driver.AppleHDAController          2.3.7fc4
    com.apple.iokit.IOHDAFamily          2.3.7fc4
    com.apple.driver.AppleGraphicsControl          3.3.0
    com.apple.iokit.IONDRVSupport          2.3.7
    com.apple.iokit.IO80211Family          522.4
    com.apple.iokit.IONetworkingFamily          3.0
    com.apple.driver.NVSMU          2.2.9
    com.apple.driver.AppleSMC          3.1.4d2
    com.apple.driver.IOPlatformPluginLegacy          1.0.0
    com.apple.driver.AppleSMBusPCI          1.0.11d0
    com.apple.driver.IOPlatformPluginFamily          5.3.0d51
    com.apple.driver.AppleSMBusController          1.0.11d0
    com.apple.iokit.IOGraphicsFamily          2.3.7
    com.apple.driver.AppleUSBHIDKeyboard          170.2
    com.apple.driver.AppleHIDKeyboard          170.2
    com.apple.iokit.IOUSBHIDDriver          5.2.5
    com.apple.driver.AppleUSBMergeNub          5.5.5
    com.apple.driver.AppleUSBComposite          5.2.5
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.5.5
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.iokit.IOAHCISerialATAPI          2.5.1
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.5.5
    com.apple.iokit.IOFireWireFamily          4.5.5
    com.apple.iokit.IOUSBUserClient          5.5.5
    com.apple.iokit.IOAHCIFamily          2.3.1
    com.apple.iokit.IOUSBFamily          5.5.5
    com.apple.driver.AppleEFIRuntime          1.7
    com.apple.iokit.IOHIDFamily          1.8.1
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          220.2
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          345
    com.apple.iokit.IOStorageFamily          1.8
    com.apple.driver.AppleKeyStore          28.21
    com.apple.driver.AppleACPIPlatform          1.7
    com.apple.iokit.IOPCIFamily          2.7.3
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.corecrypto          1.0

  • I cannot see why DVD @CCESS and DVD-ROM content are not working properly

    Hi,
    I am very new to DSP, and I know I am missing a piece of the jigsaw, but I do not know what it is. I used a tutorial from creative cow to try and make the @CCEESS function work, but no dice… for now at least. When I did a build/format (to the HDD) everything went fine. I mounted the image, and I could see the DVD @CCESS folder and the DVD–ROM content on the DVD image. When I went to play the image, the button did not work. The content I am trying to use with @CCESS is a PDF file.
    The tutorial I followed was this: http://library.creativecow.net/articles/alexzander_alex/dvdaccess.php
    By the way, I am using is 4.2.2
    Help or just counsel is appreciated.

    As Eric said - DVD@ccess is really not that useful. It was a way to get documents like PDFs to automatically launch in the application (like Acrobat) when watching a DVD on a computer. Since they can't launch on a set top player the technology was already limited. Then the whole issue of getting it to work on a PC arose - it simply wasn't reliable. I managed to produce one disc that was replicated with @ccess links, but I knew the parameters for it's use in advance and managed to get it to work. It doesn't work on modern machines.
    For a while there was a Sonic app which was much better at getting this sort of thing to work, but you had to work on a OC to set it up. Sonic pulled the app shortly after I bought it (sigh) and never replaced it. The fact is, automating document launches and web links is actually pretty tricky on a DVD, the results were variable and it never really enhanced your discs like you wanted to think it would!
    If all you want to do is include a PDF file on the disc, and alert viewers to it being there, you only need to use the ROM content functions not @ccess, and you can use a menu screen to give instructions to people to let them know how to find it.

  • Can anyone explain what this code does.

    <b>Below is the FM for a  SAP Exit Variable ( 0FPER - Fiscal Period Variable ) , I would really appreciate if someone can give some explanation what does the code do.</b>
    FUNCTION RSVAREXIT_0F_FPER.
    ""Lokale Schnittstelle:
    *"       IMPORTING
    *"             VALUE(I_VNAM) LIKE  RSZGLOBV-VNAM
    *"             VALUE(I_VARTYP) LIKE  RSZGLOBV-VARTYP
    *"             VALUE(I_IOBJNM) LIKE  RSZGLOBV-IOBJNM
    *"             VALUE(I_S_COB_PRO) TYPE  RSD_S_COB_PRO
    *"             VALUE(I_S_RKB1D) TYPE  RSR_S_RKB1D
    *"             VALUE(I_S_RKB1F) TYPE  RRO01_S_RKB1F
    *"             VALUE(I_THX_VAR) TYPE  RRO01_THX_VAR
    *"       EXPORTING
    *"             VALUE(E_T_RANGE) TYPE  RSR_T_RANGESID
    *"       EXCEPTIONS
    *"              UNKNOWN_VARIABLE
    *"              UNEXPECTED_VARTYPE
    *"              INVALID_PERIV
    *"              VARIABLE_INITIAL
    *"              NO_REPLACEMENT
      data:
      l_s_range   type rs_s_range,
      ld_periv    type rro01_s_rkb1f-periv,
      ld_curdate  like sy-datum,
      ld_poper    like t009b-poper,
      ld_fiscyear like t009b-bdatj.
      refresh e_t_range.
      clear l_s_range.
      l_s_range-sign = 'I'.
      l_s_range-opt  = 'BT'.
      case i_vartyp.
        when rro04_c_vartyp-formula.
    *--- Determine fiscal year variant
          call function 'BWCO_FISCVARNT_GET'
               exporting
                    i_s_rkb1d        = i_s_rkb1d
                    i_s_rkb1f        = i_s_rkb1f
                    i_thx_var        = i_thx_var
               importing
                    e_periv          = ld_periv
               exceptions
                    no_replacement   = 1
                    unknown_variable = 2
                    others           = 3.
          case sy-subrc.
            when 0.
            when 2.
              raise unknown_variable.
            when others.
              raise no_replacement.
          endcase.
          if ld_periv is initial.
            raise invalid_periv.
          endif.
    *--- Determine current fiscal year
          ld_curdate = sy-datum.
          call function 'DATE_TO_PERIOD_CONVERT'
               exporting
                    i_date         = ld_curdate
                    i_periv        = ld_periv
               importing
                    e_buper        = ld_poper
                    e_gjahr        = ld_fiscyear
               exceptions
                    input_false    = 1
                    t009_notfound  = 2
                    t009b_notfound = 3
                    others         = 4.
          if not sy-subrc is initial.
            raise invalid_periv.
          endif.
    *--- Determine the highest fiscal period in the current fiscal year
          CALL FUNCTION 'GET_ACCOUNT_OF_PERIODS'
               EXPORTING
                    I_GJAHR         = ld_fiscyear
                    I_PERIV         = ld_periv
               IMPORTING
                    E_ANZBUPER      = ld_poper
               EXCEPTIONS
                    INPUT_FALSE     = 1
                    T009B_NOTFOUND  = 2
                    T009_NOTFOUND   = 3
                    OTHERS          = 4
          IF SY-SUBRC <> 0.
                raise invalid_periv.
          ENDIF.
    *--- fill value ranges
          l_s_range-low = ld_poper.
          append l_s_range to e_t_range.
        when others.
          raise unexpected_vartype.
      endcase.
    endfunction.

    1) Fiscal year variant is determined using Function Module - 'BWCO_FISCVARNT_GET'
    2) With Fiscal variant & Current Date as input to Function Module - 'DATE_TO_PERIOD_CONVERT' gets Fiscal Year.
    3) With Fiscal year & variant as input to 'GET_ACCOUNT_OF_PERIODS' gets 
    the highest fiscal period in the current fiscal year

  • Some water it fell to the hole where I can put my air plugs or air phones? And now the sound its not working. What should I do?

    What should I do when water fell on the hole where my air plugs goes and where I can hear some music?

    Best to take the iPhone to the Apple genius bar and have them ckeck it out...see if it can be cleaned and restored or needs replacement.  Water and electronics do not play well together.

  • HT1665 I am trying to connect my Samsung Bluetooth device with my new Iphone 4S.  Can anyone explain how this is done?

    I am trying to connect my Samsung Bluetooth device to my new Iphone 4s. Can anyone explain how this is don?

    Which Samsung Bluetooth device?
    Please note that the iPhone will not pair with other phones, tablets, etc for purposes of file transfer.

  • TS1559 nothing works with fixing my bluetooth on iphone 4. i cant sinc with my kia optima via bluetooth can anyone help me. none of the solutions that apple lists in their resolution section works.

    My bluetooth on my iphone does not sinc with my kia optima.  Can anyone help with this?  No solution listed by apple in their resolution section works with my phone.

    So what's the symptom you're seeing?  Can you go to Settings > General > Bluetooth and turn bluetooth on?
    Can you go to your Kia and turn its bluetooth on and have it discover nearby devices?

  • My search function does not work. How can I fix it?

    Hello
    I need help I just bough a macbook 13 inch, with snow leopard
    and the search function does not work.
    The window opens but when I write the name i searh it gives me no results.
    How can i fix it?
    Do i need really to re install all snow leopard?
    thanks
    pt

    Hello paola t & welcome to the forums
    I need help I just bough a macbook 13 inch
    It may be that Spotlight hasn't completed indexing just yet - is there a dot (indicates busy) inside the magnifying icon top right?
    Also, check System Preferences/Spotlight to see what if any exclusions are configured, etc.

  • HT5313 I have been trying for weeks to download update 10.7.5 and cannot do so.  I do get a message at the end - "connection reset by peer".  Can anyone shed any light on why I cannot download this update and what the message may mean?  Thanks.

    I have been trying for weeks to download update 10.7.5 and cannot do so.  I do get a message at the end - "connection reset by peer".  Can anyone shed any light on why I cannot download this update and what the message may mean?  Thanks.

    Take a look at this discussion and the ones listed under "more like this" in the right column:
    https://discussions.apple.com/thread/4166820?start=0&tstart=0

  • My ipad's screen has gone completely blank. I can't see anything. Have attempted to update and restore it, but to no avail. Does anyone have an idea on how to resolve this issue?

    My ipad's screen has gone completely blank. I can't see anything. Have attempted to update and restore it, but to no avail. Does anyone have an idea on how to resolve this issue?

    Try Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Can Anyone help with this problem im getting?

    hi all
    Im trying to write some code in java which displays a playable connect 4 board and im getting the following error and dont get why!
    AppletTest.java [161:1] click(java.awt.Point,Move) in ImagePanel cannot be applied to (java.awt.Point)
    click(e.getPoint());
    ^
    I kinda know what the problem is but can anyone see any obvious solutions, could really use a fresh pair of eys on it!
    class ImagePanel extends Panel
         private static final int SIZE=30;
         private static final int GAP=10;
         private static final int ROWS=6;
         private static final int COLS=7;
         private Color mColour;
         private Color [][] mCounters;
            private Move lastComputerMove;
            private Move aMove;
                private controller game;
         private Player computer;
         private HumanPlayer human;
         private ConnBoard board;
         ImagePanel()
              reset();
              addMouseListener(new MouseAdapter() {
                   public void mousePressed(MouseEvent e) {
                        click(e.getPoint());
              private void click(Point point, Move aMove) // works out which row and column the player is putting it in
                   int row = (point.y / (SIZE+GAP)*ROWS) / ROWS;
                   int col = (point.x / (SIZE+GAP)*COLS) / COLS;
                            if(aMove.maker().getNumber() == ConnBoard.FIRST_PLAYER_NUMBER)
                                if (mCounters[col][row] == null) {
                                    for (row=ROWS-1; row >= 0; row--) {
                                            if (mCounters[col][row] == null){
                                                    mCounters[col][row] = mColour;
                                                    repaint();           // adds the disc to the game board
                                                  mColour = mColour == Color.YELLOW ?
                                                     Color.RED : Color.YELLOW;
                                                    return;
                            else
                                JOptionPane.showMessageDialog(this,
                                "Its the Computers Move!","Not Your Turn",
                                JOptionPane.ERROR_MESSAGE);
                    private void clickComp(Move aMove)
                        repaint();
              private void alert() // is called if any of the check methods are returned as true
                   int option = JOptionPane.showConfirmDialog(this,
                        (mColour==Color.YELLOW ? "Yellow" : "Red") +
                             " wins. Another Game?", "Game Over",
                        JOptionPane.YES_NO_OPTION);
                   if (option == JOptionPane.YES_OPTION)
                        reset();
                   else
                        System.exit(0);
         public void reset()
              mCounters = new Color[COLS][ROWS];
              mColour = Color.YELLOW;
              repaint();
         public void paint (Graphics g) // painting the game board
              g.setColor(Color.BLUE);
              g.fillRect(0, 0, getSize().width, getSize().height);
              for (int col=0; col<COLS; col++) {
                   for (int row=0; row<ROWS; row++) {
                        g.setColor(mCounters[col][row] == null ?
                             Color.WHITE : mCounters[col][row]);
                        g.fillOval(
                             GAP+((GAP+SIZE)*col),
                             GAP+((GAP+SIZE)*row),
                             SIZE, SIZE);
         }// end of making the board GUI
         public Dimension getPreferredSize()
                   return new Dimension(
                   ((SIZE+GAP)*COLS)+GAP,
                   ((SIZE+GAP)*ROWS)+GAP);
                    public void gameStarted()
                lastComputerMove = null;
                reset();
            public void gameStopped()
                if(board.isGameOver())
                    if(board.getBoardStats().getScore(human) != 0)
                        alert();
                    else if(board.getBoardStats().getScore(computer) != 0)
                        alert();
                    else
                        alert();
            public void gameRestarted()
                lastComputerMove = null;
                reset();
            public void moveMade(Move aMove)
                int col = aMove.toInt();
                int row = board.numberOfChipsInColumn(col) - 1;
                if(aMove.maker().getNumber() == ConnBoard.FIRST_PLAYER_NUMBER)
                else
                    clickComp(aMove);
                    lastComputerMove = aMove;
    }

    ... Hmm. This post looks very, very familiar to another one that was posted in the last couple days.
    The problem is that at line 161, you have the code:
    click(e.getPoint());
    in the constructor ImagePanel()
    but the contract for your click method requires both a Point AND a Move. Since you only provide the point, it's asking for the move.
    the code should look like:
    click(e.getPoint(), someMove);
    Here's a hint. anytime you get a message that says :
    xxxx cannot be applied to yyyyy,
    it means that the method your looking for has been found, but you are not passing it the right parameters.
    - Adam

Maybe you are looking for

  • Organizing Files is moving all folders up one level???

    I noticed just recently that when I use the Automatically Add To iTunes folder that Artist folder was being created at the top level of the Library folder, rather than under Music. I tried checking and unchecking Pref for Organzing to no vail. iTunes

  • HT2438 Do I need QuickTime Pro to do this?

    Will it work?  I am pretty much a novice.  I viewed a VHS format video on the TV and re-recorded it using the IPhone.  I want to be able to upload the movie clip to YouTube so that my kids can see old movies of themselves online.  Would that be possi

  • New OS system safari now running slow and crashing repeatedly

    Can someone please tell me why my Macbook Air running Safari with just 3 windows open in Safari is now running incredibly slow, barely downloading either java or flash text and invariably causing it to crash with the spinning rainbow appearing almost

  • How to include the missing PF status in screen

    Hello All, How to include the missing Pf-status in screen? Regards, Lisa.

  • ITunes rearranges my playlists ALPHABETICALLY when burning to CD !

    When I carefully put together a playlist from my library...I put the individual songs in a specific order. But when I click on 'burn disc' it automatically rearranges the songs into ALPHABETICAL order ! How to I get it to leave the songs on the playl