Mambo forums
Forum Home Register Forum Rules FAQ Search Today's Posts Mark Forums Read

Go Back   Mambo CMS Forum > Converting, Migrating & Upgrading Mambo > Upgrading Mambo
 

Images missing

This is a discussion on Images missing within the Upgrading Mambo forums for Mambo.

Reply
 
Thread Tools
Old 08-09-2009, 07:33 PM   #1
jyl
Mambo Noob
 
Join Date: Sep 2009
Location: France
Posts: 4
Images missing

Hello,

Yesterday I have updated successfully my web site from 6.2 to 6.5 with patch.

Every thing work fine but I found a problem with images.

They don't appear anymore in items.

Exemple on this page :

Code:
assaut.org/content/view/67/150/
If you look at the property of second image missing (right click), the path is this :

Code:
assaut.org/content/view/67/150//UserFiles/Image/omaha01.jpg
So, with a double slash beetween 150 and UserFiles.

For the first image of the page, I change it directly without wysiwyg editor, and I had just to add a / because, for exemple, the code appears as this :

Code:
src="UserFiles/Image/omaha01.jpg"
and should be this :

Code:
src="/UserFiles/Image/omaha01.jpg"
Do you thing it's come from mambo config or other?

I have no third party modules or others on this site, just Mambo official release.

Thank you for your help.
jyl is offline   Reply With Quote
Old 10-09-2009, 11:36 AM   #2
jyl
Mambo Noob
 
Join Date: Sep 2009
Location: France
Posts: 4
Exclamation Re: Images missing

Nobody can help me ?
jyl is offline   Reply With Quote
Old 10-09-2009, 12:45 PM   #3
mamtom
Mambo Master
Forum Admin
 
Join Date: Jul 2008
Posts: 1,411
Re: Images missing

Have you tried using the Search link above? You'll likely find a number of prior discussions on this subject.
__________________
Tom
mamtom is offline   Reply With Quote
Old 10-09-2009, 01:09 PM   #4
jyl
Mambo Noob
 
Join Date: Sep 2009
Location: France
Posts: 4
Re: Images missing

Hello Tom,

Yes, I did and found similar problem but not available solution.

I tried to understand from where com the bug. When I edit item with Mostlyce (I use the 3.0.5 version), Image appears in editor but not in frontend item.

In Mostlyce, when I select image, the full path (right to the board) is without slash at the beginning and should have one.

If I edit with no wysiwyg editor, I can add the missing slash in code and when I save item it works fine in frontend, but I have many pictures to recover ...

My first way of search is a bad configuration of Mostlyce or, else, a bad reading of Mambo Config by Mostlyce
jyl is offline   Reply With Quote
Old 19-09-2009, 12:50 AM   #5
Elpie
Mambo Guru
Forum Admin
 
Elpie's Avatar
 
Join Date: Jul 2006
Location: New Zealand
Posts: 10,004
Re: Images missing

It appears that everything is working ok now, so it looks like this was related to having SEF URL's on.

If you want to use SEF URL's again, try this:

Find this code within the
Code:
<head></head> tags
<?php mosShowHead(); ?>
Replace it with this:
Code:
<?php mosShowHead('','base'); ?>
This will prevent base href from being generated by Mambo. You may need to then manually enter a base href tag to enable correct linking to relative links within your site when you have SEF enabled.

To manually add a base href tag, just add this between the <head> tags:

Code:
<base href="http://www.assaut.org" />
I hope this helps
__________________
Mambo Tutorials on:http://lynnepope.net/topics/mambo-tutorials
Mambo wiki: http://mambo-manual.org/
Follow me: http://twitter.com/elpie
Elpie is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:59 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Mambo Foundation, Inc © 2000 - 2008 All rights reserved. Mambo is Free Software released under the GNU/GPL License.

Managed Servers by DedicatedNOW