RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : November 22, 2008, 11:05:09 am
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  RSgallery2 bugs & problems (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  Warning: getimagesize ... Connection refused
Advanced search
  « previous next »
Pages 1
Author
Topic: Warning: getimagesize ... Connection refused  (Read 4699 times)
« on: February 03, 2006, 11:09:12 am »
Zdenek Fajfr
Guest


Email

Hi,
I\'ve just installed rsgallery2 1.9.8 alpha. Everything works fine except one small bug in the rsgallery.html.php. The line 1227 reads:
$size = getimagesize(imgUtils::getImgDisplay($row->name));

This line number is mentioned in an error message that appears when entering any gallery:

Warning: getimagesize(http://zfajfr.krnap.cz/images/rsgallery/display/Foto_001.jpg): failed to open stream: Connection refused in /var/www/html/joomla/zfajfr/components/com_rsgallery/rsgallery.html.php on line 1227

Knowing nothing about the code I simply made an attempt changing the line to:
$size = getimagesize(imgUtils::getImgDisplay($row->name, true));

I found this syntax on line 571 (note the extra argument in the getImgDisplay function).
The error is gone and I\'m happy Smiley

Now the only thing I\'m missing on the new Rsgallery is the Czech translation Wink

Kind regards

Zdenek
Logged
 
Reply #1
« on: February 08, 2006, 11:26:23 am »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870
danieltulp@hotmail.com
View Profile WWW Email

thank for the fix, I\'ll change it.

Maybe you could do the czech translation?

Daniël
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #2
« on: February 28, 2006, 01:35:57 pm »
Joël
Guest


Email

i\'m using RSgallery 1.10.2 (latest alpha releas) and I get the follwing error message when I open the gallery on my site (via a menu link):
[code:1]Fatal error: Only variables can be passed by reference in ******\\components\\com_rsgallery2\\rsgallery2.html.php on line 1226[/code:1]

I looked into the code and it turned out that this line is the same line as mentioned by Zdenek

line 1226 says:
[code:1]$size = getimagesize( imgUtils::getImgDisplay($row->name), true );[/code:1]

as mentioned by Zdenek, I changed the code into:
[code}$size = getimagesize( imgUtils::getImgDisplay($row->name, true) );[/code]
(notice the position of the \')\' sign)

de page worked after I changed the line!

I also found the right syntax in line 570, like Zdenek did Smiley
in that line, the code is already written properly
Logged
 
Reply #3
« on: March 01, 2006, 01:26:14 am »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870
danieltulp@hotmail.com
View Profile WWW Email

thanx for the fix, it has been changed
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Print  Pages 1
« previous next »
Jump to: