Pictures not showing

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
2/5/2012 1:01:47 PM
Gravatar
Total Posts 6

Pictures not showing

Hi all,

after install, pictures are not showing correctly. For example the help icon isnt displayed and instead it shows an X mark. When looking at the html rendered the '~' sign is missing for the url. May have something to do with the variable 'ImagesiteRoot', I'm not sure. Had this issue in mojoportal 2-3-7-6 and thoght an upgrade might help. it didnt.

windows OS, ms sql, 2-3-8-1 mojoportal.

Thanks,

Ariel

2/6/2012 11:02:10 AM
Gravatar
Total Posts 18439

Re: Pictures not showing

Hi Ariel,

Look in Web.config and try completely removing the <staticContent> section if it exists.

Hope that helps,

Joe

2/7/2012 1:44:14 PM
Gravatar
Total Posts 6

Re: Pictures not showing

Hi Joe. Thanks for the reply. I tried that. it didnt help. Any other ideas?

Thanks again, Ariel.

2/7/2012 1:52:12 PM
Gravatar
Total Posts 18439

Re: Pictures not showing

Is it a public url where I could see it?

Have you tried using Firebug or other browser dev tools to see what it shows on the network tab for image urls?

2/7/2012 3:13:59 PM
Gravatar
Total Posts 6

Re: Pictures not showing

I'm not familiar with those type of tools.

the site is " shlafim org il " .

you can log in with user test@test.com and pswd test.

you will be able to edit the content at the bottom of the home page.

if you view the settings of that content you will see the issue in the help icons that do not show.

Thanks again, Ariel

2/8/2012 6:25:26 AM
Gravatar
Total Posts 18439

Re: Pictures not showing

Hi,

When I try to request an image file it returns an error

https://shlafim.org.il/Data/SiteImages/FeatureIcons/help.gif

You may be able to find the error details in the mojoPortal log or in windows event viewer in the application log.

My first guess would be either a file permissions problem is preventing serving the file or you did not really remove the <staticContent> section.

Only way to know for sure is to find out the error detail.

The only other suggestion I have is look in Web.config, if your modules section is like this:

<modules runAllManagedModulesForAllRequests="true">

try changing it like this:

<modules>

Hope that helps,

Joe

2/15/2012 1:40:28 PM
Gravatar
Total Posts 6

Re: Pictures not showing

Hi again.

Sorry it took me a few days to get around to dealing with the issue. My day job can get busy sometimes...

Anyway, I looked into some more things in the past few days, and this is what i found:

The error has something to do with loading the "mojoportal.web" assembley. You can view the error details by tring the link again (I changed it so that the detailed error is displayed insted of log page).

I tried loading the dll files in the bin folder again to make sure there are no ftp errors. some files had different sizes from source, thats why i think it might of been ftp errors. I also made sure the config file is as you described. it is.

I also made sure the permissions are ok. they seem to be, but i'm still trying some thing in this front to see if that helps. The main thing i dont have any other ideas about is the "mojoPortal.Web" error. If any one has an idea i would really appriciate it. This issue is really preventing me from setting up the site properly.

Thanks,

Ariel 

2/15/2012 1:43:25 PM
Gravatar
Total Posts 6

Re: Pictures not showing

I forgot to say that i also tried changing the ssl use. it also didnt help.

Thanks again, Ariel

2/15/2012 1:52:47 PM
Gravatar
Total Posts 2239

Re: Pictures not showing

Do you have /Data setup as an application or does it have a web.config file inside of it? If yes to either question, remove the application using IIS and remove the web.config file.

I am getting an error suggesting that /Data is an application and that it can't find the mojoPortal.web assembly. That doesn't mean there is a problem with that assembly. It means the application can't find it. /Data should not be setup as an application anyway.

HTH,
Joe D.

2/15/2012 3:27:22 PM
Gravatar
Total Posts 6

Re: Pictures not showing

Thank you!

The /Data was set up as an app in the iis.

Now the directory works as it should, and its amazing how much better things look!

Thank you again for your help!

Ariel

You must sign in to post in the forums. This thread is closed to new posts.