1
SilverSurfer
All images not displayed in 2.3.1

Hi

I have very successfully operated 2.0.18 version of XOOPS for 2 years.

I needed to quickly create a new website and my web hosting site had upgraed to XOOPS 2.3.1 and I have spent 16 hours trying to get to the bottom of a major issue rather than developing the site.

The issue is that all the images in the site are not being displayed, I just get "crosses". At a complete loss I decided to install Joombla as a last resort to get something working and found exactly the same issue.

All the XOOPS files seem to be installed (using Fantastico), all the access rights seem correct and I have check MAINFILE.PHP to confirm that XOOPS_ROOT etc are correctly defined.

I am at a loss and would welcome any suggestions as to what to try out to find out what the issue is. I have searched Google extensively but with no success.

PHP 5.2.8
MYSQL 5.0.67
Server API cgi
OS Version LINUX

safe_mode OFF
register_globals OFF
magic_quote_gpc ON
allow_url_fopen OFF
fsockopen ON

The site with the issue can be seen at www.alexmurdoch.com

Many thanks
SilveSurfer

2
ghia
Re: All images not displayed in 2.3.1
  • 2009/2/14 2:32

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


If I try to access one of the images, I get a forbidden error.
Quote:
Forbidden
You don't have permission to access /modules/newbbex/images/folder_new_big.gif on this server.

There is also a different domainname in the link in your post and the actual site. Check your hotlink protection in cPanel.

3
SilverSurfer
All images not displayed in 2.3.1

Ghia

You are a star, I'd completely forgotten that I'd implemented the hotlink protection. Images now working.

Many thanks

4
bobwva
Re: All images not displayed in 2.3.1
  • 2009/2/25 2:48

  • bobwva

  • Friend of XOOPS

  • Posts: 17

  • Since: 2007/4/1 1


I have a similar problem, but cannot locate the "There is also a different domainname in the link in your post and the actual site. Check your hotlink protection in cPanel. " where is this controlled?

5
ghia
Re: All images not displayed in 2.3.1
  • 2009/2/25 10:59

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


cPanel - Security - Hotlink Protection and Leech Protect.
Or with a manual edited statement in your .htaccess file.

But I can't see a problem on your site.

6
xclusive-ima
Re: All images not displayed in 2.3.1

I have the same problem under the topic some work and some dont??? both link pics are from my website xclusive-images.com
my forum is carolinadraggin.com

7
xclusive-ima
Re: All images not displayed in 2.3.1

ok i found my problem if i post a link that has a space in it like www.ec.com/ec 2009.jpeg it will show the thumbnail but when u click it the pics is not there i looked at the source on the page and it is having problems using %20 to fill in the space
src=http://www.xclusive-images.com/images/ FREE DOWNLOADS/BANNERS/BANNER4.jpg it shows it in blue and red

8
Catzwolf
Re: All images not displayed in 2.3.1
  • 2009/3/12 8:14

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Remove the extra space at the start of FREE.

src=http://www.xclusive-images.com/images/ FREE DOWNLOADS/BANNERS/BANNER4.jpg


src=http://www.xclusive-images.com/images/FREE DOWNLOADS/BANNERS/BANNER4.jpg


Catz

9
xclusive-ima
Re: All images not displayed in 2.3.1

If u remove the space then the link dont work b/c the link has a space in it. I found out the problem. Its firefox. Ie it works fine with space and show the pic fullsize. In firefox it shows the pics thumbnail size and when u click it it does not work. here is the problem. I went to firefox and turned off enable java and enable java script and it fixed the problem it looks just like Ie. So is there way to fix this java problem in the code?

10
Catzwolf
Re: All images not displayed in 2.3.1
  • 2009/3/12 12:33

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Are you sure? I find it hard to except someone would srart a directory name with a space in it like:

<space here>Directory<space here>Name


as opposed:

Directory<space here>Name


The only way around the problem is to convert the spaces to their html entities. Normally the TextSanitizer would have done this (imho anyway).

Are you adding the links via the add image in the XOOPS editor?

Also, I have noticed that there is no quotes around the url:

src=http://www.xclusive-images.com/images/ FREE DOWNLOADS/BANNERS/BANNER4.jpg


like:
src="http://www.xclusive-images.com/images/ FREE DOWNLOADS/BANNERS/BANNER4.jpg"

Login

Who's Online

123 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 123


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits