SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Serial Site Creator ToddW's Avatar
    Join Date
    Feb 2004
    Posts
    791
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP cloneNode Problem -- After Upgraded

    Migrated a site from an older server to a newer one, and now cloneNode which is used inside phpQuery lib stopped working.

    For some reason it's naming and prepending "default:" to all the HTML tags.

    IE: < default: tr > and < / default tr >

    (Without spaces of course).

    This of course doesn't work properly, and none of my drop downs or text boxes are created.

    Help please

  2. #2
    Serial Site Creator ToddW's Avatar
    Join Date
    Feb 2004
    Posts
    791
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    FWIW - If I do deep = false it clones the HTML tags just fine, just obviously not the other items within that I need too.

  3. #3
    Serial Site Creator ToddW's Avatar
    Join Date
    Feb 2004
    Posts
    791
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks like there are more problems in the phpQuery lib as I did a ghetto str_replace and while it displays properly now it isn't filling in the data from the DB or saving properly.
    It's not assigning the proper # to each of the text area and drop downs.


Bookmarks

Posting Permissions

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