SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot sethtrain's Avatar
    Join Date
    Dec 2003
    Location
    Paducah, KY
    Posts
    174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    XML CMS written in PHP

    I just read the other day this Sitepoint.com article about building a CMS with PHP and XML. I have everything configured right on my server but I am getting these messages:

    Code:
    Warning: domxml_open_file(): ./xml/foo123-1054784564.xml.LCK:1: in /home/sethbuntin/public_html/xmltest/index.php on line 42
    
    Warning: domxml_open_file(): parser in /home/sethbuntin/public_html/xmltest/index.php on line 42
    
    Warning: domxml_open_file(): error : in /home/sethbuntin/public_html/xmltest/index.php on line 42
    
    Warning: domxml_open_file(): Start tag expected, '<' not found in /home/sethbuntin/public_html/xmltest/index.php on line 42
    
    Warning: domxml_open_file(): Tom Myer (laptop) (tripledogdare)||tom@tripledogdaremedia.com in /home/sethbuntin/public_html/xmltest/index.php on line 42
    
    Warning: domxml_open_file(): ^ in /home/sethbuntin/public_html/xmltest/index.php on line 42
    
    Fatal error: Call to a member function on a non-object in /home/sethbuntin/public_html/xmltest/index.php on line 47
    Is there something wrong with the code that I downloaded from the site or do I have my permissions set up wrong? Does anyone know?

    Thanks...
    --
    sethtrain

  2. #2
    SitePoint Wizard
    Join Date
    May 2003
    Location
    Berlin, Germany
    Posts
    1,829
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    Warning: domxml_open_file(): Start tag expected, '<' not found in /home/sethbuntin/public_html/xmltest/index.php on line 42
    ..looks like a syntax error that may fix ,when you fix this one, the other errors ?

  3. #3
    SitePoint Member
    Join Date
    Oct 2004
    Location
    Nebraska
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Better late than never, I reckon.

    I realize this topic is pretty old, but for future generations, the reason for the error messages is the LCK files in the xml directory. Delete those files and life continues on uninterrupted.


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
  •