Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7590471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:24:35+00:00 2026-05-30T20:24:35+00:00

[05-Mar-2012 02:38:58] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘String could not be

  • 0
[05-Mar-2012 02:38:58] PHP Fatal error:  Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/pokerwor/public_html/request.php:275
Stack trace:
#0 /home/pokerwor/public_html/request.php(275): SimpleXMLElement->__construct('')
#1 /home/pokerwor/public_html/request.php(295): readXML()
#2 {main}
  thrown in /home/pokerwor/public_html/request.php on line 275

I have a flash file that sends a xml string to php in an interval.
sometimes my php file make this error ,any body knows what is this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T20:24:36+00:00Added an answer on May 30, 2026 at 8:24 pm

    The XML string isn’t valid XML. You should var_dump() the XML output to see what’s wrong with the input. If you want to handle this error to have friendlier output, you can use a try/catch construction:

    try {
        // Load the XML
    } catch (Exception $ex) {
        // Handle the error
    }
    

    In the catch code you can also add debugging code, such as writing the XML contents to a log file. This way you won’t have to reproduce the rare situation by ramming your refresh button a hundred times.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

ABCDchinchwad18-Mar-2010-11.sql.zip ABCDsolapur18-Mar-2010-10.sql.zip How do I find the string between ABCD and the date 18-Mar-2010
My input string is '16-MAR-2010 03:37:04' and i want to store it as datetime.
How can I split a string such as Mar10 into Mar and 10 in
I have a column of dates as such 1. 01-Mar-2012 2. 01-Apr-2012 3. 01-May-2012
I have datetime data in string format like this: Sat Mar 24 23:59:59 GMT
i get this error Mar 22, 2011 12:36:01 AM org.apache.catalina.loader.WebappClassLoader findResourceInternal INFO: Illegal access:
I've got a string array like this: string[] month = {Month, Jan, Feb, Mar,
var date = new Date();//Mon Mar 15 2010 12:40:05 GMT+0300 (MSK) var omg =
I have RSS like this: <title>Session 1</pubDate> <category>Blue</category> <category>Green</category> <evnet:starttime>Mon, 15 Mar 2010 12:05:00
Say the current date is 1st Mar 2010, I want to display it like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.