Problem displaying images after upgrade to 1.94

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
pwg
Forum Members
Forum Members
Posts: 191
Joined: Tue Aug 01, 2006 1:48 am

Problem displaying images after upgrade to 1.94

Post by pwg »

Hi,

I have attempted to upgrade a site to 1.94 and most is ok, but i am having a problem with the correct image path not being specified to images.

I can via TinyMCE, locate an image and load it onto the page. However when published the image path is /index.php/uploads/.. rather than /uploads/..

An example can be see at: http://www.eventsi.com.au/index.php/image-mesh-screens

Any ideas how to fix this?

Thanks for any help.

Cheers,

Paul
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Problem displaying images after upgrade to 1.94

Post by Wishbone »

One of those broken links is pointing to "uploads/images/image%20mesh/Image%20Mesh%20LED%20screen%20display%20wall.jpg"

Does this exist on your server? Why the spaces in the file names?
pwg
Forum Members
Forum Members
Posts: 191
Joined: Tue Aug 01, 2006 1:48 am

Re: Problem displaying images after upgrade to 1.94

Post by pwg »

The spaces in the names came via client uploads - I'll fix that sort of thing later.


The images do exist, but the problem is with the CMS or TinyMCe adding in an extra (index.php) level to the file location.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Problem displaying images after upgrade to 1.94

Post by Wishbone »

I see.. It looks like you have 'internal' pretty URLs turned on. This setting is in config.php. The images will be relative to this path unless you have <base href="/"> in your HTML, which you don't.

Do you have the {metadata} tag in your <head> ? It needs to if you're using pretty URLs and relative paths. This tag supplies the <base href> tag in your HTML.

Did you turn on pretty URLs? Was it in your previous install?
pwg
Forum Members
Forum Members
Posts: 191
Joined: Tue Aug 01, 2006 1:48 am

<SOLVED> Re: Problem displaying images after upgrade to 1.94

Post by pwg »

Thanks

I did have pretty URL's via the config file on the previous install, but oddly didn't have the {metadata} tag.

Thanks a lot - I'll check now (can see already that images aren't showing in CMS with tag installed).

Appreciate the help.
Locked

Return to “[locked] Installation, Setup and Upgrade”