1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

Error when code copy data... {xxxx} appear

Discussion in 'Community' started by javier94, Mar 16, 2019.

Thread Status:
Not open for further replies.
  1. javier94

    javier94 Member

    Level: Community
    hello,

    i have a made a php code to copy some datas to other list.. this is the code to give you an orientation.

    fabrik-name-1.PNG

    the code copy.. without any message of error.. so seems is ok..

    but in the copied list.. show me this.

    fabrik-name-2.PNG

    there is any mistake in the code.. ?? i have use the same code to copy in other list and works perfectly.. i donĀ“t know why show this??? instead the name.. as you se the first surname and second surname is ok..
    maybe i forget something ...

    Any suggestion??

    Thanks in advance!!
    Javier
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    Are all inserted "Nom" showing the placeholder ?(-> typo in your element name) or only some (-> is there any data? you may have to set a default).
     
  3. javier94

    javier94 Member

    Level: Community
    hello..

    I'm not sure if i understand correctly...

    Captura de pantalla 2019-03-17 a las 16.48.31.png
    here you can see the element name use by name, first surname and second surname...

    as you want to explain me is that maybe the element name as "name" would not be correct?? and i should change to name_candidate .. for example??

    as i dont understand. is why.. if i copy datas from list 01 ---> to list 02,03,04 the code works right
    i copy this code to copy from list 05 --> to list 07,08,09 --> the code runs right.. but the "name" element shows {proves_ii_name} --> instead the name copied..

    do you think that i have to change the element name??
     
  4. troester

    troester Well-Known Member Staff Member

    Level: Community
    I don't know your element names.
    Is proves_ii___name the correct element name in your list 05?
     
  5. javier94

    javier94 Member

    Level: Community
    yessss.. i have found the mistake.. was in the code.. not in the element..

    fabrik-name-3.PNG

    SOLVED !!! many thanks!
     
  6. troester

    troester Well-Known Member Staff Member

    Level: Community
    You can close solved threads by unchecking "open" in Thread tools.
     
  7. javier94

    javier94 Member

    Level: Community
    DONE!!!

    Many thanks! you're the best!!
     
Thread Status:
Not open for further replies.

Share This Page