Not possible to output CFTREEITEM in a CFC function?

Hi there,
I am parsing a sorted list of strings (in the form of a/b/c/,
a/b/c, /a/c/d etc.) and trying to make a treeview out of it.
I have the CFFORM and CFTREE tag in the top function and the
code that generate CFTREEITEM in a subfunction, but I got the
following error:
Context validation error for tag cftreeitem.
The tag must be nested inside a cftree tag.
It seems that ColdFusion doesn't recognize that calling code
is already nested inside a CFTREE tag in the top function. I
extract the code generating CFTREEITEMs to a sub function because
it is called multiple times from different context, it would be a
lot of hassle and quite stupid to "inline" it.
If what I am trying is, for whatever reason, not possible,
would it be possible then to have the sub function generate the
code into a string and somehow dynamically evaluate that?
Any hints or tips will be greatly appreciated!
Billy

Hi there,
I am parsing a sorted list of strings (in the form of a/b/c/,
a/b/c, /a/c/d etc.) and trying to make a treeview out of it.
I have the CFFORM and CFTREE tag in the top function and the
code that generate CFTREEITEM in a subfunction, but I got the
following error:
Context validation error for tag cftreeitem.
The tag must be nested inside a cftree tag.
It seems that ColdFusion doesn't recognize that calling code
is already nested inside a CFTREE tag in the top function. I
extract the code generating CFTREEITEMs to a sub function because
it is called multiple times from different context, it would be a
lot of hassle and quite stupid to "inline" it.
If what I am trying is, for whatever reason, not possible,
would it be possible then to have the sub function generate the
code into a string and somehow dynamically evaluate that?
Any hints or tips will be greatly appreciated!
Billy

Similar Messages

  • SSFCOMPOSER - 154 - No output request open. End not possible.

    Hi Experts,
    I'm trying to print multiple smartforms using FMs SSF_OPEN and SSF_CLOSE. Inside the main program RBDAPP01 (Inbound processing for IDOCS) there is a loop at the IDOCS to be processed. Deep within the processing, we have a custom FM being called which prints smartforms. Since there is a loop at the calling main program, I have organized the code in the custom FM such that the first IDOC calls SSF_OPEN and the last IDOC calls SSF_CLOSE, so that all IDOCS in between will be able to print their smartforms. Here is the call stack:
    8
    SAPLZCUSTOM                   
    ZCUSTOMPROGRAM                             
    113
    FUNCTION                     
    ZCUSTOMPROGRAM                                         
    7
    SAPLPPC1                               
    ZCUSTOMPROGRAM     
    136
    FUNCTION                     
    KK2A_GET_DATA_FROM_IDOC                                     
    7
    SAPLPPC1                               
    LPPC1U01                               
    1
    FUNCTION                     
    KK2A_GET_DATA_FROM_IDOC                                     
    6
    SAPLBD20                               
    LBD20F0A                               
    454
    FORM                         
    IDOCS_PASS_TO_APPLICATION                                   
    5
    SAPLBD20                               
    LBD20F0B                               
    69
    FORM                         
    IDOCS_PROCESS                                               
    4
    SAPLBD20                               
    LBD20U05                               
    260
    FUNCTION                     
    IDOC_INPUT                                                  
    3
    SAPLEDIR                               
    LEDIRU02                               
    182
    FUNCTION                     
    IDOC_START_INBOUND                                          
    2
    SAPLBD12                               
    LBD12U04                               
    37
    FUNCTION                     
    APPLICATION_IDOC_POST_IMMEDIAT                              
    1
    RBDAPP01                               
    RBDAPP01                               
    388
    EVENT                        
    START-OF-SELECTION                                          
    The problem is:
    1. When I only have 1 IDOC being processed, SSF_OPEN and SSF_CLOSE happens in the custom FM at the same time. This creates a successful spool.
    2. Whereas, when I have 2 or more IDOCS, SSF_OPEN happens in the first IDOC, but then it goes back to the calling program, and then when the last IDOC is encountered SSF_CLOSE is called. The FM SSF_CLOSE in this scenario calls the exception INTERNAL_ERROR (sy-subrc = 2).
    The system message is SSFCOMPOSER - 154 - No output request open. End not possible.
    Why is this happening? Is it because that other programs (calling programs) may have affected the status of SSF_OPEN? It seems that the SSF_OPEN is no longer open.
    Thanks in Advanced,
    Jack

    No, it will not hold the smartform open, but you don't need to hold it open in order for printout to be accumulated in one spool. Spool system does the accumulation automatically, provided the spool requests that are to be added to an existing spool request are:
    - generated in the same transaction and
    - have the same attributes (such as user, title, output device, client from which the request was issued, number of copies, priority, cover sheet setting, archive mode, and ABAP session number).
    Important is: where do OUTPUT_OPTIONS like printer come from currently? Is print parameters popup displayed on first Idoc for user to choose printer and options? Or do you use USER_SETTINGS = 'X' to simply take over defaults from user master? If the print options dialog is displayed, it needs to be controlled as well so it's displayed only once.
    Assuming print options come from the user in dialog, the logic without explicit open/close could look somewhat like this:
    On first idoc:
    - call SSF_OPEN  importing  JOB_OUTPUT_OPTIONS to display print options dialog; move-corresponding JOB_OUTPUT_OPTIONS to global OUTPUT_OPTIONS;
    - set OUTPUT_OPTIONS-TDNEWID = 'X' and clear  OUTPUT_OPTIONS-TDFINAL, to ensure new spool will be started (overriding user choices for these parameters!);
    - if the user has set OUTPUT_OPTIONS-TDIMMED = 'X' save it globally and clear it;
    - set CONTROL_PARAMETERS-NO_OPEN = 'X';
    On subsequent idoc:
    - clear OUTPUT_OPTIONS-TDNEWID;
    - clear CONTROL_PARAMETERS-NO_OPEN;
    On last idoc:
    - set OUTPUT_OPTIONS-TDFINAL = 'X' (this is not absolutely necessary, but prevents further appending to the spool);
    - restore OUTPUT_OPTIONS-TDIMMED from the value saved on first idoc;
    Calling Smartform:
    - set CONTROL_PARAMETERS-NO_DIALOG = 'X';
    - call smartform passing OUTPUT_OPTIONS and CONTROL_PARAMETERS;
    The logic is somewhat complicated; I'd wrap it in a class (singleton, which would be de-instantiated after last idoc) to avoid global data and code other than simple method call(s) in FM.
    Even if you decide to refactor the logic, it would still be important to understand, I think, why the current logic does not work (where and why smartform gets closed)... Maybe there are some nasty "surprises" somewhere, and your current algorithm should work.
    cheers
    Janis

  • Error in Smartform:  Nested output of tables is not possible....

    Hi ,
      I am getting the below error while executing the smartform.
    Nested output of tables is not possible
    Message ID: SSFCOMPOSER
    Message Numer : 171
    could any one plese help me?
    Thanks & Regards,
    surendra

    Dear
    AS i reply in thread ,
    this error comes  with  some problem in functional Module .
    as we know that two FM use in smartforms -
    SSF_function_mudule
    call   funcion .
    so you check both and  i hope you handle this problem .
    Regards,
    Ravi

  • Error in Smartform: No output request open.End not possible..

    Hi Experts,
    I am getting below mentioned error while trying to execute smartform..
    NO OUTPUT REQUEST OPEN..END NOT POSSIBLE..
    Message no. SSFCOMPOSER154.
    Help me to resolve the issue..
    Thanks in advance..
    Hampanna Kamatar

    Hi experts,
    I am getting the same error and found found that its because ssfcstat-tdopen getting false in the FM ssfcomp_close.
    if ssfcstat-tdopen = c_false.
        err_comp ssf_err_close_unstarted 'A' 154 space space space space.
      endif.
    I want to know the reason why and where exactly the field is getting populated with c_false.
    ps: I am using a Zprogram and it PRINTS FOR FEW DELIVERIES AND THIS ERROR FOR FEW DELIVERIES.

  • Still not possible (4.0 EA3) to copy displayed column headings from ref cursor output.

    Hi,
    I've created an enhancement request to allow displayed column headings from ref_cursor output to be copied.
    This is still not possible (4.0 EA3)
    The ref cursor data can be copied, but not the headings..
    See July 2012 discussion of problem in comments at
    http://www.thatjeffsmith.com/archive/2011/12/sql-developer-tip-viewing-refcursor-output/

    Hi,
    I think you're out of luck... except if you're on 11g where you can use DBMS_SQL.TO_CURSOR_NUMBER to convert the REF CURSOR to a DBMS_SQL cursor, and then benefit from the DBMS_SQL package to get column details.
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_sql.htm#CHDJDGDG

  • No table line started. Output to cell not possible

    Hi Everybody:
    I have developed a smartform where in if i give single record as input, it comes fine, but if more than one record is given thru selection scr, the error comes  No table line started. Output to cell not possible when page break is issued.
    Pls help as to why is it coming,
    I also tried SF TRACE, but when i display the error, it says Cannot read from the database.
    Best Regards, Neetu

    To print the internal table's data in the smartform you should use the TABLE.
    LIke define a TABLE, inside the table define required table types.
    Put your data inside your main ... under the Table by using one of the line type.
    Regards,
    Naimesh Patel

  • Can it not possible that i can retrive it for all line items in a single qu

    I have to make report for my application in which I am facing a following problem:
    In the application there are multiple suppliers and each supplier having multiple line items and each item having multipale events. each evant having three status GREEN,RED and BLUE.
    When a user select 'all suppliers' to show the the status time span for a supplier (i.e. for a supplier how many parts and upto how much time parts are in blue, red and green status)
    to show the cumulative status time span I have to find out a event for each line item which is having nearest lower entry time from the lower part of the given time span.for this i have write following query
    SELECT * FROM parts_events
    WHERE vendorid = ? AND partid = ?
    AND visible = 'visible' AND active = 1
    AND entrytime = (SELECT MAX(entrytime) as
    entrytime from parts_events
    WHERE vendorid = ?
    AND partid = ?
    AND entrytime < ?
    AND visible = 'visible'
    AND active = 1)
    the problem is that i have to fire this query for each line item, can it not possible that i can retrive it for all line items in a single query?

    maybe if you can post some sample data and output will help us analyze more youre requirement.

  • When I connect my Mac Mini 2011 with Lion to a TV via HDMI and an earphone cable is plugged in, it´s not possible to choose sound out via hdmi, as opposed to connection via minidisplay port. Anybody knows how to fix this?

    When I connect my Mac Mini 2011 with Lion to a TV via HDMI and an earphone cable is plugged in, it´s not possible to choose sound out via hdmi, as opposed to connection via the minidisplay port. Anybody knows how to fix this?

    Was just on the phone with Apple about this.
    The solution was as follows for me anyway...
    Go to your Finder
    Choose the Go Menu
    Choose Computer
    Choose your Macintosh Hard Drive
    Choose your "Library" Folder
    Choose the "Preferences" Folder
    There should be a folder called "Audio"
    Move that whole folder to the trash
    Empty the Trash
    Restart from the Apple Menu
    When you are back up and running;
         Choose System Preferences from the Apple Menu
         Choose Sound
          In the output tab you should now be able to make the HDMI "Sticky"
          Enjoy your sound over HDMI and no more dirty knees or broken backs unplugging the desktop speakers!
    Mac Mini 2011 2.5Ghz 8 GB of RAM - Planar 17" VGA via display port adapter and Samsung 26" LCD TV via HDMI

  • Is it possible to output multiple clips from a multitrack session, at the same time?

    I'm using Audition CC 2014.2
    on Windows 7 Pro x64
    I am trying to figure out how to output several clips from a multitrack session, at the same time.
    A session like this:
    Is it possible to output 5 files right now?
    I can select each one (or even multiple) and use File > Export > Multitrack Mixdown > Selected Clips to do one at a time only.
    I'm hoping for a way to give each clip (or group of clips) a predefined filename, by perhaps using markers or something like that, which would then allow me to faster "automate" the exporting of each section into a different sound file.
    This ability would be really helpful when using a single multitrack session to generate multiple sounds and a change to globally applied effects is made and all sounds now need to be updated.
    Any ideas?

    They are, yes, but I'm also working with multitrack sessions using clips made from various different sound files.
    Ahh ok, use markers?
    So, this sort of thing isn't possible in multitrack mode then?
    If not, it sounds I'll have to "mix down" my multitrack session into a single file and set up the markers in Waveform Edit view.
    That's an extra step I'd have to do, and after editing the multitrack session, surely some markers . . . oh wait, no . . . every time I output the new mix down file from the multitrack I'd need to redo all the markers. Drat . . .
    Honestly, I am very new to Audition, but I'm about to plow into it, big-time, and I'm hoping for a nice non-destructive and fast workflow that'll enable me to output sets of sounds from the same multitrack session.
    But, it seems like this functionality is currently missing.

  • Can the individual form response be sent via e-mail to us in the PDF form format (not the raw output we see currently when using e-mail notifcation) each time a user submits a reponse?

    Hi, we basically have an on-line job application that we need to be sent to us via e-mail notification every time a user submits a response, not with the raw data output from the form fields like the current e-mail notification setting allows, but as an actual PDF attachment that mirrors the format of the on-line form, with the user response data in it. We need this to be automated and sent to a central HR e-mail to distro to others. It would be essentially the same thing as a user downloading a PDF form, filling it out, then e-mailing it back to us, but using the submit options via the Form Central server instead. Is this even possible and, if so, is there any documentation on it? I have not found anything clear in searching for this same topic.

    No this is not possible within Formscentral. You could export a PDF without a submit button (an option when saving your form as PDF) and then in Acrobat add a submit button to your form and have it automatically sent to the email of your choice. This kind of workflow falls outside the scope of Formscentral.
    Andrew

  • Runtime error in WebDynpro - Access via 'NULL' object reference not possibl

    Hi,
        Structure of the CONTEXT in the VIEW::
         WDSCREEN1
              --> IMPORTING
                         --> S_KUNNR   <- its a select option
              --> EXPORTING
                        --> T_REPORT  <- Which is table to hold the output data (with 4 fields)
       In the context area i have root node (WDSCREEN1) and Sub nodes are IMPORTING and EXPORTING and child nodes as shown above. When i am referring them everything is fine except T_REPORT.
    * Declaration
      DATA:  node                  TYPE REF TO if_wd_context_node,
                  node_exporting TYPE REF TO if_wd_context_node,
                  node_importing  TYPE REF TO if_wd_context_node,
                  node_report       TYPE REF TO if_wd_context_node,
      node           = wd_context->get_child_node( wd_this->wdctx_wdscreeb1 ).
      node_exporting = node->get_child_node( wd_this->wdctx_exporting ).
      node_importing = node->get_child_node( wd_this->wdctx_importing ).
    * Bind the data to the context
      node_report = node_exporting->get_child_node( name = 'T_REPORT` ).
      node_report->bind_elements( lt_report ).
    Its giving run time error 'Access via 'NULL' object reference not possible. ' when it comes to ' node_report->bind_elements( lt_report ).' I checked the content while debugging and found that it was initial. Not sure why Node_report is initial. all others have data.
    node ->
    node_exporting ->
    node_importing ->
    node_report ->

    http://wiki.sdn.sap.com/wiki/display/EP/PointersforTroubleshootingPortalRuntime+Errors
    Hope this helps.
    -Veer

  • Is it possible to output to div monitor and s-video at the same time?

    I'm editing video and want to see the broadcast results on the fly (ie monitor and tv side by side, same image onscreen). Is it possible to output to div monitor and s-video at the same time? Maybe thru a splitter cable. I'm concerned about resolution issues.

    This is not possible with a mini.

  • Parameter validation failed. It is not possible to provide valid values for all parameters

    I'm trying to test passing in parameter values from the URL.    I have RS 2008 .   I created an ultrasimple report based on a stored procedure output.  There is no validation, No available values, No default values.  
    I'm trying to run the report like this:
    /Reports/Pages/Report.aspx?ItemPath=%2fProduction%2fDBA+Reports%2fTest&iTest=1
    I get:
    Parameter validation failed. It is not possible to provide valid values for all parameters. (rsParameterError)
    the one int parameter is iTestId 
    The RS log file says the following:
    processing!ReportServer_0-54!9138!01/25/2013-09:22:51:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Parameter validation failed. It is not possible to provide valid values for all parameters., ;
      Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Parameter validation failed. It is not possible to provide valid values for all parameters.
    What am I missing?

    Hi F-ram,
    From your description, you want to pass multiple parameters via URL, right? To pass multiple parameters through URL, we can use an ampersand (&) to separate them. For example, I have a report with two parameters p1 and p2. The report is deployed in a
    folder on the Report Server. When I navigate to the report on the Report Server, I can see the report URL is http://localhost/ReportServer_SQL2008NEW/Pages/ReportViewer.aspx?%2fFolder%2fReport&rs:Command=Render.
    If I need to pass parameters through URL, I can just add &p1=value1&p2=value2 at the end of the URL and the entire URL would be http://localhost/ReportServer_SQL2008NEW/Pages/ReportViewer.aspx?%2fFolder%2fReport&rs:Command=Render&p1=value1&p2=value2
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    Charlie Liao
    TechNet Community Support

  • Automatic time conversion is not possible

    Hi Friends,
    I have a problem in Transformation Level when i am mapping "automatic time conversion is not possible for source field FISCPER to 0FISCYEAR,FISCPER3".can any one help me in this issue.
    Thanks
    Narasimha

    Yes if it was date filed then it would have been possible.If you are trying to derive the fiscal year between datasource and cube then you can get it with the help of simple filed level routine.
    Map your fiscper field from source to fiscal year--Rule type Routine.
    RESULT = SOURCE_FIELDS-(Technical name of source field)+0(4).
    For Posting period
    Map your fiscper field from source to fiscper3 year--Rule type Routine.
    RESULT = SOURCE_FIELDS-(Technical name of source field)+4(3).
    This will give you the required output.
    Regards,
    AL

  • [SOLVED]wlan0 up - Operation not possible due to RF-kill

    Hello everyone.
    I've encountered trouble trying to activate my wlan0 interface and I was wishing that someone here might be able to help me.
    $ip link
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
    link/loopback
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether
    3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether
    My attempt at trying to activate wlan0 renders the following;
    $sudo ip link set wlan0 up
    RTNETLINK answers: Operation not possible due to RF-kill
    Unblocking everything with RF-Kill does not seem to change much in particular:
    $rfkill list all
    0: hp-wifi: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
    1: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: yes
    $sudo rfkill unblock all
    $rfkill list all
    0: hp-wifi: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
    1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
    Enabling/Disabling the wifi-button on my keyboard only changes the Hard Blocked-parameter of hp-wifi. The Soft block remains unchanged regardless of me trying to unblock all with rfkill.
    The following is the output of dmesg | grep phy0
    $ dmesg | grep phy0
    [ 7.460715] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
    [ 7.465387] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5390 detected
    [ 7.500363] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
    dmesg | grep hp-wifi renders nothing.
    Additional Information:
    $uname -r
    3.12.2-1-ARCH
    Entire output of lsmod
    Module Size Used by
    hid_generic 1161 0
    usbhid 40577 0
    hid 90678 2 hid_generic,usbhid
    arc4 2008 2
    rt2800pci 11055 0
    rt2800lib 74595 1 rt2800pci
    rt2x00pci 2664 1 rt2800pci
    rt2x00mmio 2945 1 rt2800pci
    rt2x00lib 37807 4 rt2x00pci,rt2800lib,rt2800pci,rt2x00mmio
    joydev 9671 0
    eeprom_93cx6 2193 1 rt2800pci
    mac80211 466554 3 rt2x00lib,rt2x00pci,rt2800lib
    cfg80211 412854 2 mac80211,rt2x00lib
    uvcvideo 72900 0
    kvm_amd 52575 0
    videobuf2_vmalloc 3280 1 uvcvideo
    videobuf2_memops 2343 1 videobuf2_vmalloc
    videobuf2_core 28027 1 uvcvideo
    kvm 389125 1 kvm_amd
    videodev 111140 2 uvcvideo,videobuf2_core
    hp_wmi 7627 0
    media 11751 2 uvcvideo,videodev
    radeon 1284675 6
    sparse_keymap 3154 1 hp_wmi
    crc_ccitt 1371 1 rt2800lib
    rfkill 15651 2 cfg80211,hp_wmi
    r8169 58399 0
    microcode 15216 0
    evdev 10989 13
    mii 4035 1 r8169
    pcspkr 2035 0
    k10temp 3058 0
    psmouse 85428 0
    ttm 63411 1 radeon
    serio_raw 5049 0
    rtsx_pci_ms 7266 0
    drm_kms_helper 36286 1 radeon
    memstick 7472 1 rtsx_pci_ms
    drm 238206 8 ttm,drm_kms_helper,radeon
    sp5100_tco 5824 0
    thermal 8532 0
    battery 6837 0
    wmi 8419 1 hp_wmi
    i2c_piix4 10592 0
    snd_hda_codec_realtek 40772 1
    i2c_algo_bit 5399 1 radeon
    i2c_core 24164 6 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,radeon,videodev
    ac 3332 0
    acpi_cpufreq 10779 0
    video 11228 0
    snd_hda_intel 36904 0
    shpchp 25465 0
    button 4677 0
    snd_hda_codec 149633 2 snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep 6340 1 snd_hda_codec
    snd_pcm 77709 2 snd_hda_codec,snd_hda_intel
    snd_page_alloc 7242 2 snd_pcm,snd_hda_intel
    snd_timer 18726 1 snd_pcm
    snd 59173 6 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
    soundcore 5450 1 snd
    processor 24935 3 acpi_cpufreq
    ext4 474187 4
    crc16 1367 1 ext4
    mbcache 6082 1 ext4
    jbd2 83504 1 ext4
    sr_mod 14898 0
    cdrom 34848 1 sr_mod
    sd_mod 30789 6
    rtsx_pci_sdmmc 14332 0
    mmc_core 95691 1 rtsx_pci_sdmmc
    ahci 22896 5
    libahci 21401 1 ahci
    rtsx_pci 32049 2 rtsx_pci_ms,rtsx_pci_sdmmc
    libata 170792 2 ahci,libahci
    ehci_pci 4000 0
    ohci_pci 4072 0
    ohci_hcd 23937 1 ohci_pci
    ehci_hcd 59220 1 ehci_pci
    usbcore 180136 6 uvcvideo,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid
    scsi_mod 130669 3 libata,sd_mod,sr_mod
    usb_common 1656 1 usbcore
    Entire output of lspci
    00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex
    00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6320]
    00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
    00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
    00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
    00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
    00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
    00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
    00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
    00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
    00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
    00:15.1 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1)
    00:15.3 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB900 PCI to PCI bridge (PCIE port 3)
    00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
    00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
    00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43)
    00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
    00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
    00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
    00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
    00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
    00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
    00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
    02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
    06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
    07:00.0 Network controller: Ralink corp. RT5390 Wireless 802.11n 1T/1R PCIe
    It is worth mentioning that this problem has remained persistent throughout multiple linux distributions that I've tried on my laptop. The Wifi works fine in Windows 7 but as soon as I switch to any linux distro it stops working.
    I intend to put your advice to good use so any help would be very appreciated.
    Last edited by FunkDojo (2013-12-05 13:02:45)

    As I can see you have two wireless interaces, when i see only phy0 with rfkill, it's maybe your hp-wifi that force to disable phy0 interace. I think if you blacklist the driver it might allow phy0 to be enabled.
    Please download and install lshw available in the community repo and enter in a terminal :
    $ lshw -c network
    Last edited by maxarsys (2013-12-05 06:26:05)

Maybe you are looking for