I am working on a site using the customer portal and the new sites technology. As part of my development I have uploaded some images to be used throughout the site as static resources and have made them public.
The issue I am having is that the images do not render (I get a 404 error) unless I actually log into my salesforce.com instance first. If I open up a new browser window and log into the site/customer portal the images links are broken. However the stylesheet I am using does load. Once I log into my actual SFDC org and then return to the portal the images work fine.
Any ideas/direction on this one?
I'm rather new to posting on the Discussion Boards, but I have found them extremely useful in cutting my teeth on force.com development. Big thanks to everyone who has helped me out so far...
I have a general question about future methods (ie Callouts):
I have a trigger in my sandbox that calls a method which calls out to a webservice I'm hosting. This was working great yesterday. The calls were almost instantaneous. This morning I start testing again, and I get the following error:
Failed to invoke future method 'public static void makeCallout(String)' Debug Log: System.CalloutException: Read timed out
Afterwards, everytime I called the method from my trigger, nothing would happen. No error messages, no activity on my web service, nothing. I even put some System.Debug lines in my method, and they never show up in the System Log. Also, I have in no way reached the 200 per licence per 24 hours limit. In addition, my web service is working great. I can call it using a SOAPUI client.
I did notice in the Montoring section under Apex jobs, that there is a record for every single attempt I made today, showing Job type as Future, Status Completed and Errors 0. So it appears that the method is getting called, but not being processed. Is it possible that the sandbox is queuing these up for some reason today? Can anyone point me in the right direction?
Thanks in advance!!!