×

Discussion Board

Results 1 to 15 of 15
  1. #1
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    India, Nashik
    Posts
    816

    Web Client problem

    hi

    I am trying to upload some data thru a PHP script to a database. PHP Script is being called using GET request and the data is passed thru parameters.
    The records are more like 1000 or so, thus i need to call PHP script 1000 times inorder to update db with all the data. Problem is WebClient returns with UNKNOWN error or RUN error after 400/500 calls to the script I am attaching the WebClient class code, please see if anybody can provide any solution

    thanks


    This class is generated by Carbid .c++ when used the inbuilt WebClient component
    Attached Files Attached Files

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    India, Nashik
    Posts
    816

    Re: Web Client problem

    debug some more and found that it crashes with status -4 , any idea ?

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    India, Nashik
    Posts
    816

    Re: Web Client problem

    Also to tell some more i tried the same thing with the httpclientexample clientengine and i saw the same thing,

    Anybody any answer ?

  4. #4
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Web Client problem

    list of the error codes would also be available in our wiki: http://wiki.forum.nokia.com/index.php/Error_codes , sounds like you are running out of memory..

  5. #5
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    India, Nashik
    Posts
    816

    Re: Web Client problem

    oh thanks , i have bookmarked this page, its memory allocation issue, but i am no where leaving memory leaked, is it somewhere in the classes like RConnection etc ? Also i am mostly using T classes for memory mainly descriptors, and i guess they get freed as they are auto variables.
    Last edited by vdharankar; 2011-03-08 at 18:28. Reason: additional info

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,570

    Re: Web Client problem

    You can try checking the usage of your heap, here is a small "tool": http://discussion.forum.nokia.com/fo...detection-tool

  7. #7
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    India, Nashik
    Posts
    816

    Re: Web Client problem

    Also the error code mentioned i get this insider MHFRun method so does it the same still i.e. system error ?

  8. #8
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Web Client problem

    Quote Originally Posted by vdharankar View Post
    Also the error code mentioned i get this insider MHFRun method so does it the same still i.e. system error ?
    You might want to check what the UNKNOWN error really is, it is propably still a number..

  9. #9
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    India, Nashik
    Posts
    816

    Re: Web Client problem

    Quote Originally Posted by symbianyucca View Post
    You might want to check what the UNKNOWN error really is, it is propably still a number..
    Thanks, but this error code i retrieved from MHFRunError method,thats why still i wonder if its a system error code , or something else.

  10. #10
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Web Client problem

    Anyway, you could always check it, at least it would give you some new values that you could google and see whether somebody else did also have this same problem earlier.

  11. #11
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    India, Nashik
    Posts
    816

    Re: Web Client problem

    Based on your reply here http://discussion.forum.nokia.com/fo...-MHFRunError-4
    wats the way to increase heapspace available for a symbian process ?

  12. #12
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Web Client problem

    you have been here 3 years now, thus you should really know on how you can search our wiki, so please do try that next time, anyway here's the link this time: http://wiki.forum.nokia.com/index.ph...an_application

  13. #13
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    India, Nashik
    Posts
    816

    Re: Web Client problem

    Quote Originally Posted by symbianyucca View Post
    you have been here 3 years now, thus you should really know on how you can search our wiki, so please do try that next time, anyway here's the link this time: http://wiki.forum.nokia.com/index.ph...an_application
    If I could search you old post it means i did search for isnt it ? , actually WIKI search is not that friendly , i tried but didnt get anything useful, thanks anyway

  14. #14
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    India, Nashik
    Posts
    816

    Re: Web Client problem

    Yes got the problem solved , atleast it doesnt crash now and uploads upto 2000 records (2000 GET Requests) i will test for more

    Thanks
    Vishal

  15. #15
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: Web Client problem

    Quote Originally Posted by vdharankar View Post
    If I could search you old post it means i did search for isnt it ? , actually WIKI search is not that friendly , i tried but didnt get anything useful, thanks anyway
    you can always try searching our wiki with google as well, for example like this heap mmp site:wiki.forum.nokia.com

Similar Threads

  1. Web Client + Form encoder
    By Lannie_0327 in forum Symbian
    Replies: 2
    Last Post: 2010-02-25, 07:03
  2. web client session priority
    By jeetu_basai in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2009-11-05, 17:03
  3. web service client difficulties
    By njk in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2009-06-18, 16:40
  4. Help for Web Client component Carbide c++
    By pietrodamb in forum Symbian
    Replies: 1
    Last Post: 2008-01-22, 14:58
  5. getting the samepage twice using web client example problem?
    By berkoron in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2007-04-28, 14:29

Posting Permissions

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