SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Aug 2002
    Location
    Germany
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    about web_image_check . . .

    it's me again...

    I've inserted an web_image_check in my script, but it fails everytime:

    command: web_image_check("Uebersicht", "Src=db_logo4", "onfailure=abort", LAST);

    error msg:
    Fatal Error: "Uebersicht" failed (0 occurrence(s) found. Alt="", Src="logo4")
    web_image_check highest severity level was "FATAL ERROR"

    where do I have to place this command? after the web_url(WEBSITE), AND after the web_url(LOGO4.gif) ???

    I want to abort the run if the image isn't there. What attributes are needed?

    can anyone post an example for the command?

    Thanks!

    ------------------

  2. #2
    Senior Member
    Join Date
    Jan 2001
    Location
    Pune, Maharastra, India
    Posts
    237
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: about web_image_check . . .

    You should place it before the page is rendered. I am not sure where in your code, but try to place it before page is rendered.

    Govind

    ------------------

  3. #3
    Junior Member
    Join Date
    Aug 2002
    Location
    Germany
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: about web_image_check . . .

    sorry, that isn't the solution!

    before the old error-msg comes now this:

    Error: Internal Error (call customer services): Invalid _ptVUserVars/mptFrameHierarchyNode (00DB946C/00000000)

    By the way, in the Online-Help is written, that the command should be placed right AFTER the Page-Request.

    the next one!?

    ------------------


    [This message has been edited by goalie (edited 09-27-2002).]

  4. #4
    Senior Member
    Join Date
    Jun 2001
    Location
    Atlanta, GA
    Posts
    1,046
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: about web_image_check . . .

    According to your post I do not think you can use this function. This function only works in HTML based scripts. A web_url command is a url based command and not an HTML one. Try changing web_url to web_link and see if that helps. In the function reference the last line says: "This function is only supported for HTML-based scripts."

    ------------------
    Simple minds, Simple thoughts!

    Doug
    I figure if you have the courage to get out of bed in the morning, then how bad can the day be.

    Doug

  5. #5
    Junior Member
    Join Date
    Aug 2002
    Location
    Germany
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: about web_image_check . . .

    You're right! So I'll have to kick this function

    But how can I check the correct content of a page in HTTP mode (especially looking at images)?

    I think a colleague mentioned the "web_reg_save_param"-method...

    but this colleague isnt available at the moment, so I need your expieriences, guys!

    ------------------

  6. #6
    Senior Member
    Join Date
    Jun 2001
    Location
    Atlanta, GA
    Posts
    1,046
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: about web_image_check . . .

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by goalie:
    You're right! So I'll have to kick this function

    But how can I check the correct content of a page in HTTP mode (especially looking at images)?

    I think a colleague mentioned the "web_reg_save_param"-method...

    but this colleague isnt available at the moment, so I need your expieriences, guys!

    <HR></BLOCKQUOTE>

    Your colleague is correct. Perform a search on this site regarding this function. You will find many posts on this subject. If that does not help then post a specific question with your problems.

    ------------------
    Simple minds, Simple thoughts!

    Doug
    I figure if you have the courage to get out of bed in the morning, then how bad can the day be.

    Doug

  7. #7
    Junior Member
    Join Date
    Aug 2002
    Location
    Germany
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: about web_image_check . . .

    my own reply:

    with web_reg_save_param it works, but if you just want to check a "static" and known image it would be easier with:

    web_reg_find("TEXT=imagename.gif",LAST);

    this looks in the recieved HTML-Code, if the expected image (-name) is really loaded.

    one line - same result as 10 lines with save_param!

    thanks for your help!

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 03:04 PM.

Copyright BetaSoft Inc.