Error testing locally; works fine on remote server

I was about to post that I'd hit an error when trying to
create a
conditional region in DW 8 with ASP, CF & PHP: Training
from the Source.
Rather than paste the non-PHP code, I uploaded the page to my
remote server.
When I browsed to the link, the error wasn't there.
I inserted the code for the conditional region just before
the opening
<form> tag, as the book instructed (Lesson 6).
<?
if ($_GET['error'] == "notnumeric")
echo "<p>*** Error! One or more fields was left blank
or contained a
non-numeric character.</p>";
?>
When I preview locally, the page appears correctly, but with
the following
message before the form:
Notice: Undefined index: error in C:\Program Files\Apache
Group\Apache2\htdocs\newland\Lesson06\Start\newland-php\tourprice.php
on
line 27
Line 27 is where the "if" statement starts.
On my remote server, everything works as it should:
http://www.feathertheweb.com/newland/Lesson06/Start/newland-php/tourprice.php
Any help is appreciated.
Thanks,
Heather

So, I changed the code you had provided and that worked. Now,
I've tested
the form and when I click "submit," I get this:
Notice: Undefined index: nmChildren in C:\Program
Files\Apache
Group\Apache2\htdocs\newland\Lesson06\Start\newland-php\tourprice_processor.php
on line 2
Warning: Cannot modify header information - headers already
sent by (output
started at C:\Program Files\Apache
Group\Apache2\htdocs\newland\Lesson06\Start\newland-php\tourprice_processor.php:2)
in C:\Program Files\Apache
Group\Apache2\htdocs\newland\Lesson06\Start\newland-php\tourprice_processor.php
on line 4
I'm guessing it's related to the change I made in
tourprice.php. I tried to
figure out what needed to be changed in
tourprice_processor.php based on
that change, but I'm still pretty new at this and really
wasn't sure.
Below is the code from tourprice_processor.php:
<?php
if (is_numeric($_POST['numAdults']) == false or
is_numeric($_POST['nmChildren']) == false)
header("Location: tourprice.php?error=notnumeric");
exit;
?>
<?php
$numAdult = $_POST['numAdults'];
$numChild = $_POST['numChildren'];
$basePrice = $_POST['tourName'];
$tourPrice = ($numAdult * $basePrice) + ($numChild *
$basePrice);
?>
<!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>
<title>Newland Tours: Tour Price
Calculator</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<link href="css/newland.css" rel="stylesheet"
type="text/css" /></head>
<body>
<a href="#top"><img src="images/spacer.gif"
alt="Skip to main page content"
width="1" height="1" border="0" align="left" /></a>
<table width="750" border="0" cellpadding="3"
cellspacing="0">
<tr>
<td><img src="images/banner_left.gif" width="451"
height="68" alt="Newland
Tours Banner, Left." /></td>
<td width="280"><img src="images/banner_right.jpg"
width="276" height="68"
alt="Newland Tour Banner, Right." /></td>
</tr>
<tr>
<td><img src="images/navbar.gif" name="navbar"
width="450" height="20"
border="0" usemap="#navbarMap" alt="Navigation Bar."
/></td>
<td><img name="copyright_bar"
src="images/copyright_bar.gif" width="272"
height="20" border="0" alt="Copyright 2006 Newland Tours."
/></td>
</tr>
<tr>
<td colspan="2">
<h1><br />
<a name="top" id="top"></a>Tour Price
Calculator</h1>
<p>The estimated cost of your tour is
<strong><?php echo
'$'.number_format($tourPrice, 2);
?></strong>.</p>
<p>Prices include hotel, accommodation, and travel
expenses during the
tour. They
do not include airfare to the starting
destination.</p>
<p><a href="tourprice.php">Calculate</a>
another tour.</p>
<p><a href="contact.php">Contact</a> one
of our qualified agents.</p>
</td>
</tr>
</table>
<br />
<map name="navbarMap" id="navbarMap">
<area shape="rect" coords="1,0,62,20" href="index.php"
alt="Home" />
<area shape="rect" coords="71,0,117,20" href="about.php"
alt="About" />
<area shape="rect" coords="129,0,196,20" href="tours.php"
alt="Find Tours"
/>
<area shape="rect" coords="209,0,311,20"
href="profiles.php" alt="Country
Profiles" />
<area shape="rect" coords="327,0,434,20"
href="contact.php" alt="Contact An
Agent" />
</map>
</body>
</html>
Heather
"David Powers" <[email protected]> wrote in message
news:[email protected]...
> Heather wrote:
>> I inserted the code for the conditional region just
before the opening
>> <form> tag, as the book instructed (Lesson 6).
>>
>> <?
>> if ($_GET['error'] == "notnumeric")
>>
>> When I preview locally, the page appears correctly,
but with the
>> following message before the form:
>>
>> Notice: Undefined index: error in C:\Program
Files\Apache
>
> It's badly written code. It should be
>
> if (isset($_GET['error']) && $_GET['error'] ==
"notnumeric")
>
>> On my remote server, everything works as it should:
>
> That's because your remote server has been configured to
suppress PHP
> notices.
>
> PHP notices alert you to non-fatal mistakes in coding. A
lot of people
> just ignore them, but it's a sloppy habit to get into,
because it can lay
> your scripts open to attack. Before testing the value of
a variable, you
> should always use isset() to check that the variable has
been defined in
> the first place.
>
>
http://www.php.net/manual/en/function.isset.php
>
> --
> David Powers
> Author, "Foundation PHP for Dreamweaver 8" (friends of
ED)
> Author, "Foundation PHP 5 for Flash" (friends of ED)
>
http://foundationphp.com/

Similar Messages

  • Spry Widget Slideshow Basic works on local but not on remote server

    I have tried everything imaginable and I can't make this slideshow work from the remote server.  I get the massages:
    SpryPanelSet.js requires SpryWidget.js!
    SpryFadingPanels.js requires SpryPanelSet.js!
    SpryImageSlideShow.js requires SpryWidget.js!
    SpryPanAndZoomPlugin.js requires SpryImageSlideShow.js!
    Also the opening page has a preloader image that doesn't show up until the page is saved to my cache.
    Here is the link to my website:
    www.warpd.ca
    Sylvie

    When I compare your:
    http://www.warpd.ca/SpryAssets/SpryWidget.js
    to this one:
    http://labs.adobe.com/technologies/spry/ui/includes/SpryWidget.js
    I do not see the same file. Try uploading the correct file and check again.
    Xav

  • My brand new printer LaserJet Pro MPF M127fn won't print after initial test print worked fine

    Just installed this printer.  USB connection to my PC.  Test prints worked fine.  Suddenly has stop printing from Word or emails.

    On your Mac, open:
    System preferences > Network > (whatever your connection) and examine the IPv4 Address.
    Wired routers most often use local addresses in the 192.168.xxx.yyy range
    Wireless Routers most often use local addresses in the 10.10.xxx.yyy range.
    These ranges (along with a few others) are reserved for sets of "private" addresses, that are not visible on the Internet.
    The Router will usually be located at kkk.lll.mmm.01
    Whatever the range you are using, all the devices with similar addresses can talk freely to each other without any intervention. Any devices with sharply different addresses (such as the entirety of the Internet) must use the Router as their "agent" to communicate.
    You want your printers to have addresses in the same range as everything else. If you find you have two non-overlapping ranges active, you will need to demote one of your Routers to be only a wireless access point, not a full Router.

  • REP-0177: An error occurred while running in a remote server.

    I am getting the following errors while trying to run a report script.  The report was created in Report Builder.
    REP-0177: An error occurred while running in a remote server.
    Reference parameter OT_RUN_DATE in the distribution list is invalid.
    OT_RUN_DATE is a static field converting SYSDATE to a string (TO_CHAR(SYSDATE, 'YYYYMMDD')).  Unfortunately, I inherited this report and did not create it.  I do not know what purpose it serves but would like more insight into what the reference parameter and distribution list mean.
    REP-0177: An error occurred while running in a remote server.
    Too many errors pushed on the stack
    I assume this is related to the first error but am not certain.
    Any help is greatly appreciated...

    Michel,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • We are using the Azure server for our web services. Server is generating an error "Unable to connect to the remote server". What is this error means

    We are using the Azure server for our web services. Server is generating an error "Unable to connect to the remote server". What is this error means  

    Hello,
    Did you means that you use the Windows Azure Virtual Machine DNS name as the server name in the Reporting Server Web Services URL?
    For example:
    Report server:http://uebi.cloudapp.net/reportserver
    Report manager:http://uebi.cloudapp.net/reports
    If you want to connect to Report Manager on the virtual machine from a remote computer, you should create a  virtual machine TCP Endpoint and open the port in the virtual machine’s firewall. By default, the report server listens for HTTP requests
    on port 80.
    Reference:http://msdn.microsoft.com/en-us/library/jj992719.aspx#bkmk_ssrs_connect_2_remote_RM
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Test-ActiveSyncConnectivity fails with The remote server returned an error: (400) Bad Request.

    Hi all,
    I'm on the process of transition from Exchange 2003 to 2010, everything is going perfectly alright however ActiveSync is bugging me!
    when I try to test activesync I get the following error:
    [PS] C:\>Test-ActiveSyncConnectivity -MailboxCredential $user -TrustAnySSLCertificate |FL
    RunspaceId                  : 136b8f68-26ec-4e29-a5bb-cf5ee816e04b
    LocalSite                   : SITE
    SecureAccess                : True
    VirtualDirectoryName        :
    Url                         :
    UrlType                     : Unknown
    Port                        : 0
    ConnectionType              : Plaintext
    ClientAccessServerShortName : cas01
    LocalSiteShortName          : SITE
    ClientAccessServer          : CASSERVERNAME
    Scenario                    : Options
    ScenarioDescription         : Issue an HTTP OPTIONS command to retrieve the Exchange ActiveSync protocol version.
    PerformanceCounterName      :
    Result                      : Success
    Error                       :
    UserName                    : user1
    StartTime                   : 12/12/2012 1:02:23 PM
    Latency                     : 00:00:00.0312496
    EventType                   : Success
    LatencyInMillisecondsString : 31.25
    Identity                    :
    IsValid                     : True
    RunspaceId                  : 136b8f68-26ec-4e29-a5bb-cf5ee816e04b
    LocalSite                   : Reckon_NS
    SecureAccess                : True
    VirtualDirectoryName        :
    Url                         :
    UrlType                     : Unknown
    Port                        : 0
    ConnectionType              : Plaintext
    ClientAccessServerShortName : CASSERVERNAME
    LocalSiteShortName          : SITE
    ClientAccessServer          : CASSERVERNAME
    Scenario                    : FolderSync
    ScenarioDescription         : Issue a FolderSync command to retrieve the folder hierarchy.
    PerformanceCounterName      : DirectPush Latency
    Result                      : Failure
    Error                       : [System.Net.WebException]: The remote server returned an error: (400) Bad Request.
                                  HTTP response headers:
                                  MS-Server-ActiveSync: 6.5.7638.1
                                  Content-Length: 46
                                  Cache-Control: private
                                  Content-Type: text/html
                                  Date: Wed, 12 Dec 2012 02:02:23 GMT
                                  Server: Microsoft-IIS/7.5
                                  X-AspNet-Version: 2.0.50727
                                  X-Powered-By: ASP.NET
    UserName                    : user1
    StartTime                   : 12/12/2012 1:02:23 PM
    Latency                     : -00:00:01
    EventType                   : Error
    LatencyInMillisecondsString :
    Identity                    :
    IsValid                     : True
    environment: 
    Ex 2003 'Exchange' virtual directory permission: Integrated Windows Authentication, Basic 
    Ex 2003 'OMA' permission: Basic Authentication
    Ex 2003 'ActiveSync' permission: Integrated, Basic
    Ex 2010 successfully redirects users from 2010 to 2003 webmail if you login to OWA with a mailbox on 2003

    Yes Martina,
    It has been done through ESM 
    I cannot test using testexchangeconnectivity.com since I cannot put the 2010 one into production, I will get into trouble if I change the DNS record to the new mail server!
    Yes, EAS works perfectly fine with 2010 mailboxes.
    OK.
    It might be that it's not possible to run Test-ActiveSyncConnectivity against a mailbox stored in Exchange 2003.
    Installing KB937031 and enabling Windows Authentication is really all that needs to be done in EX03, in order for Exchange 2010 to proxy the EAS requests.
    Martina Miskovic

  • XE locally works fine but I can't establish any remote connection

    I have installed XE on XP SP2 Pro. (Computer1)
    I can connect from sqlplus in a command window with system/psw ok. and I type the command "EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);" and was executed ok.
    I ran "tnsping XE" and respond ok.
    Thus the Listener seems to be working fine.
    In other computer with W2000 Sp4 (Computer2) and oracle 8.1.7 I have created a TNS:
    ToComp1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = COMPUTER1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    I ran the command "tnsping toComp1" and send the error:
    TNS-12535: TNS:operation timed out.
    Somebody have an idea what's wrong?

    On the server with XE:
    goto your Database Home page. Loging using system/pwd. Once you get the next screen, goto Administration-->Manage HTTP access, enable the radio button " Available from local server and remote clients". Apply changes.
    Try from the client. If no luck, then goto the firewall settings on server
    Exceptions tab-->Add port-->type name and port number, in this case 1571. if needed, click on Change scope, check "subnet only" or "custom list" and give the IP address(s) of the computer you are trying to connect from.
    If it still does not work, then goto the XE client and in the tnsnames.ora, change the host ="name of the computer where XE server runs,with or without domain name".
    Try now from the client, it should work.
    Cheers.

  • HT3180 The internet provider reset my router and now my apple Tv does not work in netflix i get ATV-ui10 error and when i perform a network test it works fine but no movies are coming up on the screen and you cannot select anything.

    The internet provider reset my router and now I cannot use Apple Tv.  I tired restore and reseting the apple tv and the Network test is fine.  Netflix shows error atv-ui10 and you no movies come up it just shoes black tickets at the top of the screen and says i am not connect.  Internet works fine.

    Delete/forget the network connection on the ATV and reconnect to the network.
    Power cycle the router.

  • Testing local is fine, but online is not working

    I made a gallery and tested locally (inside flash mx
    environment) and it's working great. It can connect the database
    (my web hosting is mediatemple) with no problem. Sending and
    receving queries are okay too.
    But when I upload this file online (swf), somehow it doesnt
    work at all.. it returns an error message when loading the php.
    I do retrieveXML.onLoad = function (success), it returns
    false.
    I'm pretty sure the path to php is correct because I sue the
    absolute path.
    Any idea?
    For your reference:
    http://ivankandi.com/fusion/retrieve.swf
    Thank you

    Sorry but with that limited bit I can't give you much help.
    One thing that is strange is to just post it as a swf. I don't know
    if that is part of the problem or not. But generally it should be
    embedded in an html page. That is the first thing that I would try.
    It might also allow the browser to catch an error message –
    or maybe not.
    The other frequent cause of "it works in the testing
    environment, but not online" is that you haven't coded it properly
    to wait for external resources to load completely.
    I'm not sure exactly which class you are using, but does your
    code include myXML.onLoad or some such?

  • AHT finds logic board error, but computer working fine

    I ran the Apple Hardware Test to see the profile for my RAM, but 7 seconds into the test it stopped and reported a logic board error.
    1. But my computer is working fine. If anyone has experience with this, I'll gladly take your advice. Do I ignore this error at my own risk? Or should I get it looked at now in case it's an early warning of something that can get worse? For the real Apple tech experts, here's the error code: 2I2C/1/1: 0x00000092.
    Eleven months ago, I had to get a new power supply installed. It was covered under the extended warranty for power issues with iMac G5s. As I've indicated, it's been working fine since then.
    2. Once AHT finds an error, it won't continue testing the remaining components. Does anyone know of a way to "force" the AHT to skip the logic board test and go on to test the other hardware items?
    Thanks all.

    Michael, pray tell, where does one find the published list of codes you refer to? I searched the whole internet (or so it seemed like it) looking for a resource like that. Are you an AASP?
    Even my experienced Apple technician and his AASP contacts didn't realize that my error code relates to the European Union. (And, BTW, I'm in Canada and I purchased my iMac from a store in Canada.) You have solved a mystery!
    The strange thing is that when I phoned Apple Tech Support and asked to speak to a product specialist, even they told me that the code means "logic board needs replacement." When I asked to speak to a higher dept., I was connected to Customer Relations (very nice, professional fellow answered). When I explained that this G5 iMac has been problematic for me (failure after 7 mos. of ownership, power supply failure after 3 yrs, etc.) he offered me $100.00 off a new iMac ($125.00 in Canada), which I accepted.
    I did use TechTool Pro to check the computer. It found no problems. Four months later and it's still going strong. I don't know whether to be upset with Apple for not bothering to look up the code, or whether I should look at this as a blessing in disguise (how else would I have received $125.00 off a new iMac? And now, my father gets a G5 that I can confidently say is in good working order). And it's strange that my local tech's AASP friends weren't any wiser. Aren't AASPs privy to this error code info? A mystery indeed...

  • Error while deploying the application to remote server

    Dear All,
    I am trying to deploy the application to remote server directly from jdeveloper ide.The server is on LAN and installed on other PC,I can also access the console and login correctly to console. After doing application server connection and testing the connection it gives me following error.
    Testing JSR-160 Runtime                ... failed.
    Cannot establish connection.
    Testing JSR-160 DomainRuntime          ... skipped.
    Testing JSR-88                         ... skipped.
    Testing JSR-88-LOCAL                   ... skipped.
    Testing JNDI                           ... skipped.
    Testing JSR-160 Edit                   ... skipped.
    Testing HTTP                           ... success.
    Testing Server MBeans Model            ... skipped.
    1 of 8 tests successful.WebLogic Server Version: 10.3.2.0.
    Regards,
    Santosh.
    Component              Version
    ================================================
    ADF Business Components         11.1.1.59.23
    Java(TM) Platform         1.6.0_21
    Oracle IDE              11.1.1.4.37.59.23
    Versioning Support         11.1.1.4.37.59.23

    Hi All,
    At-last the deployment started but it gave following error.
    [05:44:10 PM] Deploying Application...
    [05:44:12 PM] [Deployer:149193]Operation 'deploy' on application 'Cibil_ViewController_webapp1' has failed on 'AdminServer'
    [05:44:12 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Cibil_ViewController_webapp1 on AdminServer.: Failed to load webapp: 'Cibil_ViewController_webapp1.war'.
    [05:44:12 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'Cibil_ViewController_webapp1.war'
    [05:44:12 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
    [05:44:12 PM]   See server logs or server console for more details.
    [05:44:12 PM] weblogic.application.ModuleException: Failed to load webapp: 'Cibil_ViewController_webapp1.war'
    [05:44:12 PM] ####  Deployment incomplete.  ####
    [05:44:12 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)any idea ??
    Regards,
    santosh

  • Local Project Connecting to Remote Server

    I am relatively new to Flash Remoting, and completely new to Flex. We have got the turnkey BlazeDS server running fine, and all the sample applications are running correctly.
    What I am attempting to do now is to pull data from our remote server so that I can develop on the local box, but tie into the remote server. I have added a wide open crossdomain.xml policy that should not prevent access. I'm guessing that my error is deeper than that, as I'm not even sure it's hitting the server.
    My error is: [RPC Fault faultString="[MessagingError message='Destination 'http://ec2-75-101-212-220.compute-1.amazonaws.com:8400/product' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']" faultCode="InvokeFailed" faultDetail="Couldn't establish a connection to 'http://ec2-75-101-212-220.compute-1.amazonaws.com:8400/product'"]
    Any type of guidance into setting up a local to remote environment would be greatly appreciated, I have been searching everywhere, but all examples I can find involve developing with BlazeDS running directly on the development platform.
    Thanks,
    Sean

    Thanks, it took me a while to figure everything out, but that's exactly what I needed to do.

  • Change local connection string on remote server

    Hello,
     I have searched every post and tried every connection string there but can't figure out how to connect to my database on my  remote server. I am using Visual Developer 2005 Express Edition in C# and uploading it to a Windows server running asp.net 2.0. The domain has not resolved yet.
    I am so new to this and have followed many tutorials step by step but none of them address this issue. They just show how to upload it to the server.
    Do I need to use the SQL server provided by my host or can the database stay in the App_Data folder?
    My local connection string works locally:
      <add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\add_newSQL.mdf;Integrated Security=True;User Instance=True"
       providerName="System.Data.SqlClient" />
    When I uploaded to my server I changed \SQLEXPRESS  to (local) as advised in the forum.
    <add name="ConnectionString" connectionString="Data Source=(local);AttachDbFilename=|DataDirectory|\add_newSQL.mdf;Integrated Security=True;User Instance=True"
    providerName="System.Data.SqlClient" />
    When I debug a page I get the <customErrors mode="Off"/>
    error message even thought I have already set it in my remote web.config file which may be causing problems itself:
    <configuration>
    <appSettings/>
    <connectionStrings>
    <add name="ConnectionString" connectionString="Data Source=(local);AttachDbFilename=|DataDirectory|\add_newSQL.mdf;Integrated Security=True;User Instance=True"
    providerName="System.Data.SqlClient" />
    </connectionStrings>
    <system.web>
    <customErrors mode="Off" />
    <compilation debug="false" />
    <authentication mode="Windows" />
    </system.web>
    </configuration>
    Thanks for any help you can offer. I wish I could find someone to hire to do this part for me or teach me how over the phone. Any suggestions?

    Is this still an issue?
    Thanks!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Javascript Error in IE, works fine in FF

    I have this page :
    http://www.gamertags.com.br/jogos.html
    The filters and spry data works fine in Firefox, but when using IE the page won´t load and the browser gives these errors :
    Agente de Usuário: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0;  Embedded Web Browser from: http://bsalsa.com/; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; HPDTDF)
    Carimbo de data/hora: Thu, 11 Nov 2010 12:35:40 UTC
    Mensagem: Objeto esperado
    Linha: 101
    Caractere: 1
    Código: 0
    URI: http://www.gamertags.com.br/SpryAssets/SpryPagedView.js
    Mensagem: Objeto esperado
    Linha: 47
    Caractere: 1
    Código: 0
    URI: http://www.gamertags.com.br/SpryAssets/SpryNestedXMLDataSet.js
    Mensagem: Objeto esperado
    Linha: 77
    Caractere: 2
    Código: 0
    URI: http://www.gamertags.com.br/jogos.html
    Mensagem: 'Spry.Debug' é nulo ou não é um objeto
    Linha: 961
    Caractere: 41
    Código: 0
    URI: http://www.gamertags.com.br/SpryAssets/SpryData.js
    I,ve checked the forums for the most usual cause of this, but found nothing that could help me.
    Any help would be great.
    Thank you.

    Hi,
    I really appreciate the help. But that´s not it.
    The Timer function in that example is not necessary in my page (but just for the sake of it, I´ve tested it)
    In fact, I can remove the filters functions and the call the to the DataExtensions.js file and still the page won´t work in IE.
    The problem lies in the PageView. I can make it work without it, but as I mentioned earlier I need to be able break the data into pages. My XML is quite large (almost 2MB).
    Thanks again for the reply.

  • SWC errors, while SWF works fine, why?

    Edit: I have tried using pure theora libs (no ffmpeg) and the same result - I have created a simple app showing theora info. When launched as standalone,works (shows theora version). As  SWC, error "can't allocate encoder context". Anyone any idea why it's failing with allocations in SWC? This is really frustrating, seems I can't get anything video related to work. Is SWC able to support anything more than some simple C stuff?
    Hi, I'm trying to make ffmpeg work through my custom SWC library which would encode multiple frames to MPEG1. I was "almost" finished now -  managed to put together a test app which upon exporting to SWF displays nice progress log(I'm test encoding 25 frames in MPEG1, so it shows encoding frame 1... X bytes, encoding frame 2...X bytes etc.), all is great up to this point.
    The problem is, when I emit this to swc. When calling my magic encode test function in the SWC - first, I've got stack overflow error in "dsputil_static_init". This was already weird, but I figured out that I didn't need the static init for mpeg1 encoding after exploring ffmpeg a bit, so I tried to disable this call in ffmpeg source. Then recompiled ffmpeg, my lib, tested and SWF still appears to be working fine without it. But again, when exporting to SWC - it didn't stack overflow, but this time my library errors out with "can't find codec".
    I have 3 variants of the code actually - SWF, SWC and one executable which produces a real .mpg file so I can have better proof than "encoding frame X". And it still produces a good mpeg when executd from cygwin's command line. The only problem is the SWC.
    My basic confusion is - why if SWF/executable  with the same libs etc. working fine, and then the SWC is failing on me? I'd really need to fix this somehow, but I don't understand the reasons, I thought once it's working in SWF it will work as SWC.

    Ok, this is what I did
    1) I've got the globalplayer 11.5 from Adobe's archive, copied it to the corresponding folder(right next to 11.1 which was already included in my Flex).
    2) mxmlc -static-link-runtime-shared-libraries -compiler.omit-trace-statements=false -library-path=decoding_encoding.swc -debug=false Document.as -o swcdemo.swf -target-player=11.5 -swf-version=18 
    Where decoding_encoding.swc is my former c library, Document.as only calls one function(the encoding one). This got me the swf.
    3) I run this swf in debug player, in IE (11.6), and error is popping up.
    In flashlog.txt I found this:
    Encode virtual file             <-- this is entry point of my C function (all is fine so far, proof that it has been called)
    Could not open codec            <-- FAIL again, this fails also in theora at a similar function (register codec context..huh?)
    [object Exit]
              at global/com.ffmpeg::F__exit()
              at global/com.ffmpeg::F_exit()
              at global/com.ffmpeg::F_ffmpeg_encode_mpeg1()
              at global/com.ffmpeg::encode_mpeg1()
              at Document()
    4)  I then go to my presumably failing C library, and change this in main:
    //  AS3_GoAsync();    <-- I commented this
        ffmpeg_encode_mpeg1(AV_CODEC_ID_MPEG1VIDEO);   <-- I uncommented this
    I launch the swf just to see if it also fails, but it goes like:
    Encode virtual file
    [mpeg1video @ 0x601410] Warning: not compiled with thread support, using thread emulation
    Entering loop
    etc..  
    All works! So I really don't understand, how can it work in the emitted SWF while in emitted SWC it already doesn't work? Is there a different way the swc is built, is it the way it manages memory at runtime, being restricted somehow by the main SWF, or is it just some stupid switch or setting. I'd need to see a little deeper into how the SWC is build I guess to fully understand this issue. Do you have any isnight into this ilookha, or someone else?  Or perhaps any other idea.
    I'm now trying to see if I can try to trace out the exact point of the issue in theora lib, basically I included AS3.h in their source code and now placing inline AS3 "trace" commands into the register codec function.
    I have traced in theora's lib inside th_encode_alloc function where it fails, and located the first obvious reason:
      enc=_ogg_malloc(sizeof(*enc));
      if(enc==NULL) {
                inline_as3("trace('enc is NULL!');\n");  <-- my trace
    I'm getting "enc is NULL". Which results into codec not found, because the whole function returns NULL. So it seems _ogg_malloc is failing to allocate memory. I bet the same reason goes for ffmpeg.  _ogg_malloc is:
    #define _ogg_malloc  malloc
    Just a normal malloc. Why wouldn't this work?

Maybe you are looking for

  • Generating a report - from messages

    Hi, i vould like to generate a report based on messages in XI reding thier id and manupilating it. Can anyvone guide me how to start ? i guess i vould have to write a java program using modules ? where can if find examples and API's? Sergei

  • InDesign to Adobe Acrobat to Adobe Reader Link problem

    Hi - I'm responsible for a long conversation about link problems in creating file links in InDesign that did not work in Acrobat. At the end of that long discussion, I thought I solved the problem, but didn't. Since then, I've been MUCH more observan

  • Most allocated extents in any segment

    hi gurus My db is oracle with HP-UX In rz20 -- database-oraclesegmentsin that most allocated extents in any segment-  is showing red.how to rectify this problem. and y its shoing red wht is the problem and how can i solved this. thanks/regards

  • PowerMac G4 OS 10.4.11 will not recognise RAW images on a SDHC card but it will see JPGs why?

    Question: I have a PowerMac G4 OS10.4.11.  I have recently bought a Lumix LX5 camera and it uses an SDHC card.  My Mac will not recognise RAW image files stored on it either by plugging the camera into a USB slot or by using a USB card reader.  Can a

  • T6340 cannot boot disk - Bad magic number in disk label

    Hi, I have a shiny new T6340 that I am just setting up. When I get through the CMM to the SP and onto the EEPROM, I then try to start the boot process: {0} ok boot disk1 Sun Blade T6340 Server Module, No Keyboard Copyright 2009 Sun Microsystems, Inc.