Please disregard the 'View article...' shown at the bottom of many posts as this is the result of restoring old forum posts from a backup.
Broken images in Events, Photo Album, News, Blog entries
Hi,
I've tested some modules in 2.3.3 and i see that all images on a page are broken when viewing the entries of one of these modules: Events, Photo Album, News, Blog.
For example:
http://mydomain/blog/show/title/friendly_url/src/@random550c586c7d132 (also: not very friendly url) is looking for the following image:
http://mydomain/blog/show/title/friendly_url/src/files/my_image.png which it of course doesn't find. To be clear: not just the images included in the entry, but all the images on the page (i.e. images in a text module on the same page where one of these other modules are placed). Is this a known problem or do i have a specific thing going on?
View article...
I've tested some modules in 2.3.3 and i see that all images on a page are broken when viewing the entries of one of these modules: Events, Photo Album, News, Blog.
For example:
http://mydomain/blog/show/title/friendly_url/src/@random550c586c7d132 (also: not very friendly url) is looking for the following image:
http://mydomain/blog/show/title/friendly_url/src/files/my_image.png which it of course doesn't find. To be clear: not just the images included in the entry, but all the images on the page (i.e. images in a text module on the same page where one of these other modules are placed). Is this a known problem or do i have a specific thing going on?
View article...
Comments
* Do you possible have some custom views?
* Do you have a custom router_maps.php in your theme?
As far as the image, looks like it's using a relative path instead of an absolute one
View article...
View article...
View article...
http://mydomain/blog/friendly_url/ for the pseudo blog/show/title/friendly_url
You might try looking at the 'overrides.php' file in the root folder. It is only created on the initial installation and in most cases can have all the 'defines' commented out, but is/can be used set PATH_RELATIVE (which normally would simply be '/')
View article...
Something else is 'wrong': the traditional editor gives a blank
View article...
View article...
There are no custom editor settings
I don't know what you mean with:
* The 'relative path' to the images is stored in the database 'directory' field of the expFiles table, which would normally be 'files/' to which the 'filename' field is added for a full 'relative path'
View article...
* Did the images work correctly in the past?
* The 'relative path' to the images is stored in the database 'directory' field of the expFiles table, which would normally be 'files/' to which the 'filename' field is added for a full 'relative path'
* Do you show any javascript errors on the page (see the browser console)
* It might be possible to crash the editor if you are using some odd settings in a custom WYSIWYG editor configuration (e.g., bad custom plugin, skin, etc..)
View article...
This may be a fruitless effort, but I'm racking my brain...I haven't done a 'migration' in years and can't (personally) verify the code still works correctly.
View article...
View article...
View article...
both sites
View article...
And the traditional editor won't show up. The tiny does, but I still get some errors:
Resource interpreted as Script but transferred with MIME type text/html: "http://www.mydomain.info/framework/core/forms/js/inputfilters.js.php". index.php:137
GET http://www.mydomain.info/themes/bootstrap3theme/css/bootstraptheme.css 404 (Not Found) index.php?action=edit&id=1&controller=blog&src=@random550c586c7d132:1
http://www.mydomain.info/index.php?action=edit&id=1&controller=blog&src=@random550c586c7d132 InitDragDrop2.js:320
View article...
* Resource interpreted... this is a normal message because we are sending javascript file output through the php processor.
* GET...(Not Found) - that stylesheet should be auto-created/compiled from the corresponding .less file whenever the page is loaded???
* Exponent doesn't use or refer to an InitDragDrop2.js file, so not sure what it is, or if it doesn't crash the page (remaining javascript code on the page)
View article...
View article...