Images not working after upgrade
-
- Forum Members
- Posts: 223
- Joined: Wed Dec 28, 2011 12:11 pm
Images not working after upgrade
Hi
Just upgraded from 1.10.3 to 1.11.2
All fine except for images.
I can upload images ok.
WYSIWYG editor inserts full URL instead of local
There are no image widths & heights inserted by WYSIWYG
I tried setting Image Path in Site Admin/Content Editing Settings to: /uploads/images (same for thumbnails)
Images don't show in pages, just the image not found icon.
What do I need to adjust to fix.
Help please
Just upgraded from 1.10.3 to 1.11.2
All fine except for images.
I can upload images ok.
WYSIWYG editor inserts full URL instead of local
There are no image widths & heights inserted by WYSIWYG
I tried setting Image Path in Site Admin/Content Editing Settings to: /uploads/images (same for thumbnails)
Images don't show in pages, just the image not found icon.
What do I need to adjust to fix.
Help please
Re: Images not working after upgrade
Do you use mod_rewrite for pretty urls and do you have a {metadata} tag in your page template?
Re: Images not working after upgrade
What does the source-code of your webpage show regarding those images? <img src=... />
-
- Forum Members
- Posts: 223
- Joined: Wed Dec 28, 2011 12:11 pm
Re: Images not working after upgrade
Hi
To Jos: No we don't use a mod_rewrite and yes there is the {metadata} on all pages. The same applied to both before the upgrade
To Velden: this is the source code
If I manually remove the domain name and leavce the local path, the image shows...
To Jos: No we don't use a mod_rewrite and yes there is the {metadata} on all pages. The same applied to both before the upgrade
To Velden: this is the source code
Code: Select all
<img src="http:/Militree/uploads/images/Cookies.png" alt="" />
Re: Images not working after upgrade
did you check your config.php for the root url?
-
- Forum Members
- Posts: 223
- Joined: Wed Dec 28, 2011 12:11 pm
-
- Forum Members
- Posts: 223
- Joined: Wed Dec 28, 2011 12:11 pm
Re: Images not working after upgrade
And these are the modules that were added. Most prior to the upgrade.
Blogs 0.3.3.1
CGEcommerceBase 1.3.11
CGExtensions 1.31.1
CGJobMgr 1.2.10
CGPaymentGatewayBase 1.1
CGSimpleSmarty 1.5.2
Cart 1.8.4
CustomContent 1.8.3
DestinationBasedShipping 1.1
FrontEndUsers 1.20
JQueryTools 1.1.1
NMS 2.6.4
Orders 1.13.3
PaypalGateway 2.3.9
Products 2.18.4
SelfRegistration 1.7
SiteMapMadeSimple 1.2.6
ThemeManager 1.1.7
Blogs 0.3.3.1
CGEcommerceBase 1.3.11
CGExtensions 1.31.1
CGJobMgr 1.2.10
CGPaymentGatewayBase 1.1
CGSimpleSmarty 1.5.2
Cart 1.8.4
CustomContent 1.8.3
DestinationBasedShipping 1.1
FrontEndUsers 1.20
JQueryTools 1.1.1
NMS 2.6.4
Orders 1.13.3
PaypalGateway 2.3.9
Products 2.18.4
SelfRegistration 1.7
SiteMapMadeSimple 1.2.6
ThemeManager 1.1.7
-
- Forum Members
- Posts: 223
- Joined: Wed Dec 28, 2011 12:11 pm
Re: Images not working after upgrade
My config.php has these variables... There is no Image/uploads path or url..!
Should I add Image/Uploads paths & URL's ?
Code: Select all
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'xxx';
$config['db_username'] = 'xxx';
$config['db_password'] = 'xxx';
$config['db_name'] = 'xxx';
$config['db_prefix'] = 'cms_';
$config['db_port'] = 3306;
$config['root_url'] = 'http://www.militree.co.uk';
$config['timezone'] = 'Europe/London';
$config['default_encoding'] = 'utf-8';
Re: Images not working after upgrade
Well, it´s obvious that that won´t work.CapereSpiritum wrote: To Velden: this is the source codeCode: Select all
<img src="http:/Militree/uploads/images/Cookies.png" alt="" />
To be sure: is that what you see when looking at the source of the browser, or when looking at the source of the WYSIWYG editor?
There's something deciding to forget a '/' in the protocol, and skip the 'www.' and '.co.uk'
-
- Forum Members
- Posts: 223
- Joined: Wed Dec 28, 2011 12:11 pm
Re: Images not working after upgrade
Yes I know...
That's what you see in the WYSIWYG, page HTML and the source code in the browser.
If I manually remove all upto and inc the / before uploads, all is fine...
I have no idea what's causing the ommissions. The full URL should not be called in the WYSIWYG anyway...
Config file is the same prior to upgrade and everything else is fine.
Note the uppercase 'M' in the URL... Only other place this is the same is in Site Admin/Global Settings/Site Name...
That's what you see in the WYSIWYG, page HTML and the source code in the browser.
If I manually remove all upto and inc the / before uploads, all is fine...
I have no idea what's causing the ommissions. The full URL should not be called in the WYSIWYG anyway...
Config file is the same prior to upgrade and everything else is fine.
Note the uppercase 'M' in the URL... Only other place this is the same is in Site Admin/Global Settings/Site Name...
Re: Images not working after upgrade
I am just trying to understand:
When you ADD an image using WYSIWYG, and after that BEFORE applying and you look at the source code of WYSIWYG, is that url than already malformed?
If NOT then it must be some post processing of the content (I think). Then you might have a look at the Event Manager in the Extension Menu and check 'ContentEditPre' etc. Maybe some call's to procedures that should be changed/not used anymore.
Another question: what about existing pages you did not change? They are not affected?
When you ADD an image using WYSIWYG, and after that BEFORE applying and you look at the source code of WYSIWYG, is that url than already malformed?
If NOT then it must be some post processing of the content (I think). Then you might have a look at the Event Manager in the Extension Menu and check 'ContentEditPre' etc. Maybe some call's to procedures that should be changed/not used anymore.
Another question: what about existing pages you did not change? They are not affected?
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Images not working after upgrade
Is this MicroTiny or TinyMCE?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
- Forum Members
- Posts: 223
- Joined: Wed Dec 28, 2011 12:11 pm
Re: Images not working after upgrade
Hi
To Velden: Yes the URL is malformed BEFORE applying
Existing pages and images are unaffected.
To Calguy1000: I'm using MicroTiny WYSIWYG editor
To Velden: Yes the URL is malformed BEFORE applying
Existing pages and images are unaffected.
To Calguy1000: I'm using MicroTiny WYSIWYG editor
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Images not working after upgrade
is Advanced mode on in FileManager module? if so, try disabling it.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
- Forum Members
- Posts: 223
- Joined: Wed Dec 28, 2011 12:11 pm
Re: Images not working after upgrade
Hi Calguy
That fixed it....!
Can the issue be fixed without disabling File Manager advanced mode?
That fixed it....!
Can the issue be fixed without disabling File Manager advanced mode?