Using a dynamic PHP as XML to load?

I want to create an XML object from a php file on the web.
I have got my php file creating everything perfectly on the
web...I have to view the source of the page, but it outputs
perfectly...
I can paste its output to an xml file, and load that to my
swf fine, but when I try to just load the php file straight into my
xml object it gets hung up...nothing happens.
Is there a two step process when I want to do it this way?
Maybe load and parse the php script, then reload the xml file
generated??? thanks.
http://studioauditions.com/tests3_xml.php
is the file I am referencing in my flash 8 movie - trying to
make it be my xml for a series of list boxes....

I solved my problem, but thanks. The script I was using was
sort of two fold. It was writing an actual text file and then
pulling from that to create the php file...
So when I updated the xml file to print and echo to both the
browser and the text file generated it solved everything...
you can see the tutorial I started with here
http://thegoldenmean.com

Similar Messages

  • Sending variable value from php to flash to load an xml file

    I would like to load an XML file from the location locally or on the server being unaware of the name of the file. I am using PHP for sending the filename to Flash.
    The below is the PHP code:
    <?php
    filesInDir('C:\Documents and Settings\457305\My Documents\shrikant\Flash Tutorials\webassist');
    function filesInDir($tdir)
            $dirs = scandir($tdir);
            foreach($dirs as $file)
                    if (($file == '.')||($file == '..'))
                    elseif (is_dir($tdir.'/'.$file))
                            filesInDir($tdir.'/'.$file);
                    else
                            echo "fileName=$file";
    ?>
    And below is the loading Actionscript code:
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.events.Event;
    import flash.net.URLVariables;
    stop();
    // Define the PHP file to be loaded
    var phpFile:String = "http://localhost/webassist/test.php";
    var cons_xml:XML;
    var xmlLoader:URLLoader = new URLLoader();
    // Specify dataFormat property of the URLLoader to be "VARIABLES"
    // This ensures variables loaded into Flash with same variable names
    xmlLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
    xmlLoader.load(new URLRequest(phpFile));
    xmlLoader.addEventListener(Event.COMPLETE, processXML);
    function processXML(evt:Event):void
              trace(evt.target.data.fileName);
              //cons_xml = new XML(evt.target.data.fileName);
              //gotoAndPlay(2);
    When I trace the evt.target.data it displays "fileName=mainOpenEndedXML%2Exml" and when I trace evt.target.data.fileName the fileName is properly displayed as "mainOpenEndedXML.xml".
    But in the next two lines where the loading occurs it does not load the file i.e the swf file from xml doesn't play.
    I have been searching the Internet for answers but not able to find any solutions.
    The loading works properly if i directly insert the xml file in the code and the swf's in the XML file play propertly. The below is the code for the same:
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.events.Event;
    import flash.net.URLVariables;
    stop();
    var cons_xml:XML;
    var xmlLoader:URLLoader = new URLLoader();
    xmlLoader.load(new URLRequest("mainOpenEndedXML.xml"));
    xmlLoader.addEventListener(Event.COMPLETE, processXML);
    function processXML(evt:Event):void
              cons_xml = new XML(evt.target.data);
              gotoAndPlay(2);
    Any help on this would be greatly appreciated

    Yes. you already said that, but I guess you don't understand what I said.  You are loading the PHP fle to get the filename, but nowhere are you taking that filename and loading the file that was named. 
    You need to do two loading operations.  The first one to get the filename, and the second to load the file with that name.  Maybe if you name the PHP file loader phpLoader instead of xmlLoader it will start to make more sense to you.  Something like the following...
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.events.Event;
    import flash.net.URLVariables;
    stop();
    // Define the PHP file to be loaded
    var phpFile:String = "http://localhost/webassist/test.php";
    var phpLoader:URLLoader = new URLLoader();
    // Specify dataFormat property of the URLLoader to be "VARIABLES"
    // This ensures variables loaded into Flash with same variable names
    phpLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
    phpLoader.load(new URLRequest(phpFile));
    phpLoader.addEventListener(Event.COMPLETE, processPHP);
    function processPHP(evt:Event):void
             var xmlLoader:URLLoader = new URLLoader();
             xmlLoader.load(new URLRequest(String(evt.target.data.fileName)));
             xmlLoader.addEventListener(Event.COMPLETE, processXML);
    var cons_xml:XML;
    function processXML(evt:Event):void
              cons_xml = new XML(evt.target.data);
              gotoAndPlay(2);

  • PHP Startup: Unable to load dynamic library './oci8.so' - ./oci8.so:

    I have oracle 11g, php5, and apache2 are running on server(A). One of my php application need to connect Oracle 10g on server(B). so I have to configure PHP5 and OCI8. Here is what I have done.
    #env
    ORACLE_SID=demo
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.1.0/db_1/lib
    TNS_ADMIN=/u01/app/oracle/product/11.1.0/db_1/network/admin
    ## PHP configured
    #./configure prefix=/usr/local/php5 with-apxs2=/usr/local/apache2/bin/apxs --with-oci8=/u01/app/oracle/product/11.1.
    0/db_1 enable-sigchild with-config-file-path=/usr/local/apache2/conf
    ##OCI8
    ./configure -with-oci8=shared,/u01/app/oracle/product/11.1.0/db_1
    Then I add "extension=oci8.so" on the php.ini file (/usr/local/php/conf/php.ini)
    ## Here is a problem
    # php phpinfo.php |grep oci
    PHP Warning: PHP Startup: Unable to load dynamic library './oci8.so' - ./oci8.so: cannot open shared object file: No such file or directory in Unknown on line 0
    oci8
    oci8.default_prefetch => 10 => 10
    oci8.max_persistent => -1 => -1
    oci8.old_oci_close_semantics => 0 => 0
    oci8.persistent_timeout => -1 => -1
    oci8.ping_interval => 60 => 60
    oci8.privileged_connect => Off => Off
    oci8.statement_cache_size => 20 => 20
    OLDPWD => /usr/local/apps/oci8-1.3.4
    _SERVER["OLDPWD"] => /usr/local/apps/oci8-1.3.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    what is your OS?
    Under Fedora 9 I used :
    locate oci8.soI had to use yumex to install a bunch of php files (pecl and phpize) that had the programs to dowload and install oci8.
    Another post has the instructions! Search on phpize or pecl
    in /etc/php.ini put :
    extension=oci8.so

  • Xml re-loading using as2

    Hi
    I'm using xml to populate an swf file. With firefox I just
    have to change the xml file and the new changes are seen
    immediately.
    With Windows explorer I have to delete the cache before the
    changes are visible.
    Has anyone else had this problem?

    Well, that problem is very common.
    Try this...
    When you load the xml file pass to the url a variable in GET
    style. I mean:
    xmlObj.load("
    http://mydomain.com/file.xml?anyvar=anyvalue")
    doesn't matter the name and the value of the varible. This
    method makes the xml to be taken dynamically but the xml file is
    static so the server always sends the current xml file.
    Note: Probably if you test it on local it will throws an
    error. You'll have to test it onLine.

  • How to create a dynamic newsflash using dreamweaver and PHP

    Hi there,
       I would like to create a dynamic newsflash using dreamweaver and PHP in that the newsflash will be pulling information from a MySQL database. The newsflash should also have a link to view more information about the piece of news a user wants to know more about. Which tools do I need to use in dreamweaver and how's the procedure to go about that. Any advice is highly appreciated. Thanx in advance!

    I think you´ll need at least a MySQL table with the following columns:
    - id (primary key, int, auto_increment etc)
    - news_headline (varchar)
    - news_teaser (text)
    - news_content (text)
    What I´d personally add are columns such as:
    - news_date (date or datetime)
    - news_external_link (varchar), if a "read more..." link is supposed to navigate to an external URL rather than displaying the contens of the "news_contents" column.
    Based on such a MySQL table it should be easy to use Dreamweavers standard Server Behaviors to create the usual datalist.php, insert.php, update.php and delete.php documents, and there are numerous tutorials out there which will teach you how to do that.
    Am I right when assuming that you´ll also need to know how to automatically pull, say, the 5 most recent news records from the database ?

  • Why do we use only dynamic class loading for JDBC drivers

    Hi,
    My JDBC experience is that we always use dynamic class loader for drivers.
    If we have a well defined package from a vendor, why do we use this dynamic class loading feature for drivers??

    chandunitw wrote:
    Hi,
    My JDBC experience is that we always use dynamic class loader for drivers.
    If we have a well defined package from a vendor, why do we use this dynamic class loading feature for drivers??Oftentimes, the driver class name is set in a configuration file, not in code. So the thing which processes the configuration file has no idea ahead of time which driver or drivers it will support, so it is not coded specifically for any. So it loads the driver by reflection, since it is given the class name as a string it can use with the reflection API.

  • Using external XML to load an swf

    Here's the deal - I have a main SWF with lots of loaders. Can
    a hyperlink in an external XML file load another external swf in
    the root flash doc? I have a list of links load in main SWF from an
    external XML file. From these links, I'd like to load other
    external SWFs in the main flash document. I can get the XML links
    to control my browser... can I get them to control what happens in
    my flash doc?
    Thanks!

    nothing in an xml file can load anything. but you can load a
    string that you use in your swf indicate which target file to
    load.

  • Look up resources using a dynamic name

    I am using the <f:loadBundle ... /> tag to load localized resources in my JSP page. Now, I want to be able to look up resources from that bundle using a dynamic key. Like:
    <h:outputText value="#{resources.error-<%=code%>" />
    Or something like that, where code can be a request parameter to the JSP page. Seems like its something that would be common to want to do.
    Does anybody have any idea how to do that?
    Thanks for any help.

    That didn't work either.
    I think I'll just do it the old fashion way:Just send me your application (JSF version) and I will try make it work.
    On Monday you will get working version if I will capable fix your problem.
    My email: [email protected]
    I'm new to this JSF stuff I'm used to be delphi programmer and start to develop web application (using JSF) just couple month ago. That why sometimes I can't provide good answer. :)
    By the way, from your experience with JSF, is it
    mature enough to use in a production website? The
    only thing I'm using it for now is the localized
    resource bundle but that doesn't even do what I want.
    Not sure if JSF buys me anything versus just doing
    HTML/JavaScript/JSP.I created only one jsf application that include about 10 pages and using connections to MySQL.
    This application not in production yet because it's not finish, but it's work OK at least for one user :).
    I'm sure for complicate web site with different kind of data from different sources JSF is good way to go because it's easy connect presentation tier to business and data tiers. Don't forget also about possibility to create any kind of web components and rendering kits including rendering kit for virtual reality.
    We have web site with information about healthcare providers, services, schedules, accepted insurances.
    That the regular site with HTML/JavaScript/JSP and it's take to much time keep this site to today.
    Almost all information for site we can get from our database, but site using information from xml files.
    Of course we can create complicate jsp based web site with connection to database but it's mean you need bunch very good web developers.
    In near future I'm planning make all our web sites JSF based.

  • Which JAR file has the class weblogic.xml.domimpl.Loader ?

    when an Axis web-service WSDL is read and parsed using weblogic client - i get this error. which weblogic-10 jar file has this class "weblogic/xml/domimpl/Loader" ?
    java.lang.NoClassDefFoundError: weblogic/xml/domimpl/Loader
    at weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:168)
    at weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:58)
    at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)
    at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:402)
    at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:388)
    at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:78)
    at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:65)
    at weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:468)
    at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:114)
    at com.qwest.assia.service.client.Provisioning_Info_Impl.<init>(Unknown Source)
    at com.qwest.assia.service.client.Provisioning_Info_Impl.<init>(Unknown Source)
    at com.qwest.iom.connector.adapter.webservice.qcontrol.AssiaWebServiceConnectionFactory.getWebServiceConnection(AssiaWebServiceConnectionFactory.java:64)
    at com.qwest.mdw.connector.webservice.WebServiceConnectionFactory.getConnection(WebServiceConnectionFactory.java:25)
    at com.qwest.iom.connector.adapter.webservice.qcontrol.AssiaWebServiceTestCase.test_MyAccountWebService(AssiaWebServiceTestCase.java:51)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)

    Hi,
    I found it in ADF 11g R2 documentation - http://docs.oracle.com/cd/E24382_01/web.1112/e16182/taskflows_regions.htm#insertedID10
    I guess this is 11g R2 feature.
    I have a requirement to display the multiple regions dynamically. This feature suits my requirement perfectly, but unfortunately it is not available in 11g R1.
    Can we achieve the similar functionality in 11g R1 through other means?
    Thanks
    Ravi

  • Php --?-- xml

    the best way to edit and create xml files in php pages?
    thanx in advance

    actually i tried DOM, but it doesn't work for me. it seems
    that i don't use the right php version, i get this error
    Parse error: parse error, unexpected T_OBJECT_OPERATOR in
    /homepages/1/d206546483/htdocs/jussieutik/test/tres.php on line 15
    this is the code i use
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8" />
    <title>Untitled Document</title>
    </head>
    <?php
    $doc = new DOMDocument();
    $doc->load( 'employees.xml' );
    $employees = $doc->getElementsByTagName( "employee" );
    foreach( $employees as $employee )
    $names = $employee->getElementsByTagName( "name" );
    $name = $names->item(0)->nodeValue;
    $ages= $employee->getElementsByTagName( "age" );
    $age= $ages->item(0)->nodeValue;
    $salaries = $employee->getElementsByTagName( "salary" );
    $salary = $salaries->item(0)->nodeValue;
    echo "<b>$name - $age -
    $salary\n</b><br>";
    ?>
    <body>
    </body>
    </html>
    thanx in advance

  • Zend optimizer and PHP startup: unable to load errors

    I am finding some errors in the log for my site about zend
    optimizer and PHP startup: unable to load dynamic library.
    as far as I know, I have never used PHP and i have never done
    anything with this zend optimizer. i need some help!
    there are some references in there to some pretty strange
    websites. my site is a wedding photography site!
    thanks for any help.
    here is the log:
    [Fri Jun 06 13:33:44 2008] [error] [client 82.18.149.126] PHP
    Warning: PHP Startup: Unable to load dynamic library
    '//home/offthema/sourceguardian/ixed.lin' -
    //home/offthema/sourceguardian/ixed.lin: cannot open shared object
    file: Permission denied in Unknown on line 0, referer:
    http://www.justiceandcompassion.com/
    [Fri Jun 06 13:33:44 2008] [error] [client 82.18.149.126] PHP
    Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at
    '/usr/local/Zend/lib/Optimizer-3.2.2/php-5.2.x/ZendOptimizer.so') -
    try reinstalling the Zend Optimizer in Unknown on line 0, referer:
    http://www.justiceandcompassion.com/
    [Fri Jun 06 13:33:45 2008] [error] [client 75.8.116.97]
    Failed loading /home/vanity1/ioncube/ioncube_loader_lin_5.2.so:
    /home/vanity1/ioncube/ioncube_loader_lin_5.2.so: cannot open shared
    object file: No such file or directory, referer:
    http://vanitytransformations.com/diamondt/index.php?option=com_fireboard&Itemid=57&func=sh owcat&catid=2&page=2
    [Fri Jun 06 13:33:50 2008] [error] [client 80.82.139.143] PHP
    Warning: PHP Startup: Unable to load dynamic library
    '//home/offthema/sourceguardian/ixed.lin' -
    //home/offthema/sourceguardian/ixed.lin: cannot open shared object
    file: Permission denied in Unknown on line 0
    [Fri Jun 06 13:33:50 2008] [error] [client 80.82.139.143] PHP
    Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at
    '/usr/local/Zend/lib/Optimizer-3.2.2/php-5.2.x/ZendOptimizer.so') -
    try reinstalling the Zend Optimizer in Unknown on line 0
    [Fri Jun 06 13:33:53 2008] [error] [client 62.50.73.8]
    Request exceeded the limit of 10 internal redirects due to probable
    configuration error. Use 'LimitInternalRecursion' to increase the
    limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Fri Jun 06 13:33:53 2008] [error] [client 62.50.73.8]
    Request exceeded the limit of 10 internal redirects due to probable
    configuration error. Use 'LimitInternalRecursion' to increase the
    limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Fri Jun 06 13:33:59 2008] [error] [client 200.30.148.234]
    Failed loading /home/estudio5/ioncube/ioncube_loader_lin.so:
    /home/estudio5/ioncube/ioncube_loader_lin.so: cannot open shared
    object file: No such file or directory
    [Fri Jun 06 13:33:59 2008] [error] [client 200.30.148.234]
    Failed loading /home/estudio5/ioncube/ioncube_loader_lin_ts.so:
    /home/estudio5/ioncube/ioncube_loader_lin_ts.so: cannot open shared
    object file: No such file or directory
    [Fri Jun 06 13:34:09 2008] [error] [client 82.18.149.126] PHP
    Warning: PHP Startup: Unable to load dynamic library
    '//home/offthema/sourceguardian/ixed.lin' -
    //home/offthema/sourceguardian/ixed.lin: cannot open shared object
    file: Permission denied in Unknown on line 0, referer:
    http://www.otmatheist.com/
    [Fri Jun 06 13:34:09 2008] [error] [client 82.18.149.126] PHP
    Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at
    '/usr/local/Zend/lib/Optimizer-3.2.2/php-5.2.x/ZendOptimizer.so') -
    try reinstalling the Zend Optimizer in Unknown on line 0, referer:
    http://www.otmatheist.com/
    [Fri Jun 06 13:34:14 2008] [error] [client 82.18.149.126] PHP
    Warning: PHP Startup: Unable to load dynamic library
    '//home/offthema/sourceguardian/ixed.lin' -
    //home/offthema/sourceguardian/ixed.lin: cannot open shared object
    file: Permission denied in Unknown on line 0, referer:
    http://www.otmatheist.com/2008/06/05/i-dont-want-my-kids-to-be-atheists/
    [Fri Jun 06 13:34:14 2008] [error] [client 82.18.149.126] PHP
    Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at
    '/usr/local/Zend/lib/Optimizer-3.2.2/php-5.2.x/ZendOptimizer.so') -
    try reinstalling the Zend Optimizer in Unknown on line 0, referer:
    http://www.otmatheist.com/2008/06/05/i-dont-want-my-kids-to-be-atheists/
    [Fri Jun 06 13:34:21 2008] [error] [client 75.8.116.97]
    Failed loading /home/vanity1/ioncube/ioncube_loader_lin_5.2.so:
    /home/vanity1/ioncube/ioncube_loader_lin_5.2.so: cannot open shared
    object file: No such file or directory, referer:
    http://vanitytransformations.com/diamondt/index.php?option=com_events&Itemid=37
    [Fri Jun 06 13:34:21 2008] [error] [client 75.8.116.97]
    Failed loading /home/vanity1/ioncube/ioncube_loader_lin_5.2.so:
    /home/vanity1/ioncube/ioncube_loader_lin_5.2.so: cannot open shared
    object file: No such file or directory, referer:
    http://vanitytransformations.com/diamondt/index.php?option=com_events&Itemid=37
    [Fri Jun 06 13:34:25 2008] [error] [client 38.100.8.10] PHP
    Warning: PHP Startup: Unable to load dynamic library
    '//home/offthema/sourceguardian/ixed.lin' -
    //home/offthema/sourceguardian/ixed.lin: cannot open shared object
    file: Permission denied in Unknown on line 0, referer:
    http://www.google.com/search?sourceid=navclient&ie=UTF-8&rlz=1T4DMUS_enUS204US205&q=gideon +bible+ebay
    [Fri Jun 06 13:34:25 2008] [error] [client 38.100.8.10] PHP
    Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at
    '/usr/local/Zend/lib/Optimizer-3.2.2/php-5.2.x/ZendOptimizer.so') -
    try reinstalling the Zend Optimizer in Unknown on line 0, referer:
    http://www.google.com/search?sourceid=navclient&ie=UTF-8&rlz=1T4DMUS_enUS204US205&q=gideon +bible+ebay
    [Fri Jun 06 13:34:26 2008] [error] [client 70.241.173.162]
    PHP Warning: PHP Startup: Unable to load dynamic library
    '//home/offthema/sourceguardian/ixed.lin' -
    //home/offthema/sourceguardian/ixed.lin: cannot open shared object
    file: Permission denied in Unknown on line 0
    [Fri Jun 06 13:34:26 2008] [error] [client 70.241.173.162]
    PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected
    at
    '/usr/local/Zend/lib/Optimizer-3.2.2/php-5.2.x/ZendOptimizer.so') -
    try reinstalling the Zend Optimizer in Unknown on line 0
    [Fri Jun 06 13:34:31 2008] [error] [client 70.241.173.162]
    PHP Warning: PHP Startup: Unable to load dynamic library
    '//home/offthema/sourceguardian/ixed.lin' -
    //home/offthema/sourceguardian/ixed.lin: cannot open shared object
    file: Permission denied in Unknown on line 0, referer:
    http://doableevangelism.com/2008/04/16/dali-desi-and-doug-in-seattle/
    [Fri Jun 06 13:34:31 2008] [error] [client 70.241.173.162]
    PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected
    at
    '/usr/local/Zend/lib/Optimizer-3.2.2/php-5.2.x/ZendOptimizer.so') -
    try reinstalling the Zend Optimizer in Unknown on line 0, referer:
    http://doableevangelism.com/2008/04/16/dali-desi-and-doug-in-seattle/
    [Fri Jun 06 13:34:32 2008] [error] [client 65.214.44.28] PHP
    Warning: PHP Startup: Unable to load dynamic library
    '//home/offthema/sourceguardian/ixed.lin' -
    //home/offthema/sourceguardian/ixed.lin: cannot open shared object
    file: Permission denied in Unknown on line 0
    [Fri Jun 06 13:34:32 2008] [error] [client 65.214.44.28] PHP
    Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at
    '/usr/local/Zend/lib/Optimizer-3.2.2/php-5.2.x/ZendOptimizer.so') -
    try reinstalling the Zend Optimizer in Unknown on line 0

    ..... What???

  • Php generated xml trouble

    Hi,
    This is probably something dumb, but here goes...
    I've been exploring the basics of incorporating data from a MySQL table into a Flash movie by writing an XML file using PHP to read the data.  All I'm trying to do at this early stage is successfully read the data into my Flash movie and be able to access the nodes.  Here is my script which is pretty much taken from the Flash help files;
    var usageXML:XML;
    var XML_path:String="create_xml.php";
    var XML_URL:URLRequest = new URLRequest(XML_path);
    var myLoader:URLLoader = new URLLoader(XML_URL);
    myLoader.addEventListener (Event.COMPLETE, xmlLoaded);
    function xmlLoaded(event:Event):void {
        usageXML=XML(myLoader.data);
        trace("Data loaded successfully");
        trace(usageXML.day_usage[7].day_summ);
        trace(usageXML.toXMLString());
    This code works fine when I switch the file name "create_xml.php" with an xml file that I create by simply copying and pasting the source code for the php file into a new file with the file extension "xml".  But when I run the above as is, I get an error of:
    TypeError: Error #1010: A term is undefined and has no properties.
        at test_usage_reports_fla::MainTimeline/xmlLoaded()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at flash.net::URLLoader/onComplete()
    Does anyone see what I am doing incorrectly for a php generated xml file versus an static xml file?
    Oh, btw, all three files (Flash movie, php file and static xml file are all in the same directory).

    I answered my own question and thought I would post it here in case someone else runs into the same confusion I had.
    I changed the name of the file from just the name of the file itself to the full path on the local server ("http://localhost/mysite/create_xml.php") and that worked.  I guess I didn't realize that Flash had to be pointed at the URL and not just the file itself.
    Now I can continue with exploring how to actually incorporate the data into the Flash movie.  Yea!

  • PHP 4 XML problem

    Hi,
    I'm developing in a PHP 5 environment and my server is PHP 4
    I'm trying to dynamically create an XML file, which works on
    my local machine. But on the PHP 4 server does not how can I get
    the code below working?
    The code is for PHP 5, I need to "downgrade" it
    somehow

    Instead of using PHP to write my .xml file I have used this:
    I've posted on the InDesign forum, but no luck yet. I have no
    way of passing the font attributes. :'(

  • Error message when using Spry Data set with XML

    Hi,
    I have what i see as a big problem, might just be me being
    dumm, but here we go.
    When I try to use the feature of spry XML Data Set and insert
    spry table I get error message when trying it in IE 7.
    There are even a problem when I use fireworks automated slide
    show function, where you can choose to use the Spry/XML gallery
    feature.
    The error message I get everytime (incl the auto gallery in
    fireworks) is:
    The tag: "html" doesn't have an attribute: "xmlns:spry" in
    currently active versions.[XHTML 1.0 transitional]
    The tag: "div" doesn't have an attribute: "spry:region" in
    currently active versions.[XHTML 1.0 transitional]
    The tag: "th" doesn't have an attribute: "spry:sort" in
    currently active versions.[XHTML 1.0 transitional]
    and so on.
    What´s wrong?!

    Hello barvid,
    Ok, let's take each problem step by step:
    1. The first error you see in the browser: " Exception while
    loading ..." normally appears when you try to load files that are
    not permitted by the browser security model. This means the XML
    file you try to load is located on a different server than your
    HTML which is not allowed. The browser is not permitting to load
    any files that are not in the same domain as the current page
    because of the complex security risks. You'll have to either get
    the XML file from its original location and save it in your website
    or use a proxy on your web server that should request that file
    from the external server and send it to the browser as an XML from
    the same domain as the HTML origin.
    1.2 The "Exception while loading ..." error you see is a
    generic error and my previous advise is based on my experience. In
    case this is not your scenario you'll have to open the SpryData.js
    and around line 112 you'll see the following code:
    Spry.Debug.reportError("Exception caught while loading " +
    url + ": " + e);
    Please change this line with the following line of code:
    Spry.Debug.reportError("Exception caught while loading " +
    url + ": " + (e.message?e.message:e));
    to obtain a more verbose error message that may clarify the
    reasons of your errors.
    2. The problems you describe are not browser errors but they
    are w3c validation errors. At this point the XHTML standard allows
    every application that define custom namespace attributes to also
    link a DTD to the page so the page to continue to be valid.
    Unfortunately at this point this feature is not correctly supported
    by the FF and IE so we wrote an articles about how you should
    link
    the Spry DTD to your page so the validator understand the
    custom attributes Spry use. You'll find inside the full description
    of the problems and all the technical details you'll need to know
    to solve this issue.
    Regards,
    Cristian

  • XML File Loading

    Hi All,
    We are facing issue in loading an XML file in database. It is an XML file from S-MART (PGS).
    If we try to load the xml file directly using an OWB mapping (as way we are doing for MARS), the mapping takes forever.
    We have tried several strategies but got only partial success till now.
    Structure of XML is like this
    emml
    list
    hierarchyNode (list type Service priority , coverage tier list etc)
    list
    hierarchyNode (corporate Asia pacific etc)
    list
    hierarchyNode (Gold ,Silver Platinum etc)
    list
    hierarchyNode (list of CIS_CODE)
    As parsing directly to cis level was not working, we stored the intermediate results in a temp table. We extracted the XML object at metal level (gold , silver) and stored it in a temp table 's XMLTYPE field . Using a second mapping we extracted the data from temp table and loaded it to final table.
    Using this approach we were able to load data for all the metals except for one. Performance was also good. It took total 3-4 min to load. But the mapping failed for “ Home Products” category with the error:
    ORA-31186 - Document contains too many nodes.
    Cause: Unable to load the document because it has exceeded the maximum allocated number of DOM nodes.
    Action: Reduces the size of the document.
    This is because of a lot of CIS codes listed under the Home Products category. I do not see any straight forward way of to reduce or split the xmlobject further before the final processing.
    Any one having ideas how to load such an XML

    You can check
    the thread error while loading XML files into scott user
    I hope it will help.

Maybe you are looking for

  • Icloud problem with Keynote

    My keynote presentation would upload to iCloud.  I have Keynote on my iPhone and Keynote (v. 5.20) on my MacBook Pro.  I'm running OS X Mountain Lion 10.8.2.  I dragged the presentation to the iCloud box and I see a "waiting" message underneath.

  • Wanted: App to update Skyhook database

    I live in a small city with almost no Skyhook coverage. It's not that big of a deal because it's not a large city and I always know where I am, but I'd still like to play with the new location-based applications that are coming out. My wish is to fin

  • Salary statement in ESS

    Hi everyone, I just need to know if under the "Benefits and payments" service, an employee can see all the salary statements he has for a certain period. Eg, if in the month of june the employee has a statement with his vacation calculation and anoth

  • RMAN-08138: WARNING: archived log not deleted - must create more backups

    I ran: 1. CROSSCHECK ARCHIVELOG ALL 2. DELETE EXPIRED ARCHIVELOG ALL I am getting this error. I am trying to free my arciver after an ORA-00257 error. Can anyone help me out?

  • New MacBook Pro (Leopard) Airport Express Connection Problem

    A Brand new 17" MBP Intel Core Duo 2.6 with latest Leopard OS and all updates installed unable to find (devices) ie: my existing older Airport Express (pre "n") - but my iPod Touch can. Using the iPod I can connect to the Airport Express network and