Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] disappearing images



Thanks, Jean Pierre, that did it for me too.
I remember now.
Part of the problem was me using an old (and erroneous) hard copy version of Apple's "Deploying WO App's" manual.
Always use on-line or on-disk manuals (as I probably did before) is the lesson here.


- fred


On 27 nov 2003, at 18:09, Jean Pierre Malrieu wrote:

When I (and many others) got this problem, it is because we did not do both a Deployment AND a WebServer build.
Try:


sudo xcodebuild clean
sudo xcodebuild install -buildstyle Deployment DSTROOT=/
sudo xcodebuild install -buildstyle WebServer DSTROOT=/

in your app directory.

That did it for me (and the others).

JP.


When I create a new WO app with XCode (WO 5.2.2), and add a WOImage
(framework="app", gif in WebServer target) to the Main page, the image
shows up in the web browser when running the development version, as
expected.
However, after deploying, the browser shows no picture on the page.

...

The WO log file says:
[2003-11-26 22:00:34 CET] <WorkerThread6> <WOImage>: could not get
height/width information for image at
/cgi-bin/WebObjects/Test.woa/wr?
wodata=ERROR_NOT_FOUND_framework_*null*_filename_LAI.gif / LAI.gif /
null

The generated HTML contains:
<img src="/ERROR/NOT_FOUND/app=Test/filename=LAI.gif">

...
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.