[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    Re: [Quanta] Quanta Digest, Vol 113, Issue 1
From:       Reedyseth <reedyseth () gmail ! com>
Date:       2014-01-28 15:28:39
Message-ID: CAM0OELW1rFdkcJQjUohLXZdCC=OLsi61NR9eH8odKJ7qa33_=A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello Guys !

The PHP error `*Warning*: getimagesize(
http://kdewebdev.org/images/page/masthead.png)
[function.getimagesize<http://quanta.kdewebdev.org/function.getimagesize>]:
failed to open stream` is cause because some how the path of the image is
not correct or because that directory does not have reading/executing
permission, just make sure to validate the image path like this:

PHP

> if (file_exists($selectedImage) && is_readable($selectedImage)) {


Regards !!


On Tue, Jan 28, 2014 at 5:00 AM, <quanta-request@mail.kde.org> wrote:

> Send Quanta mailing list submissions to
>         quanta@mail.kde.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mail.kde.org/mailman/listinfo/quanta
> or, via email, send a message with subject or body 'help' to
>         quanta-request@mail.kde.org
>
> You can reach the person managing the list at
>         quanta-owner@mail.kde.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Quanta digest..."
>
>
> Today's Topics:
>
>    1. Fwd: random bug in site (Shubham Chaudhary)
>    2. Re: Fwd: random bug in site (Werner Joss)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 27 Jan 2014 00:33:15 +0530
> From: Shubham Chaudhary <shubham.chaudhary@kdemail.net>
> To: quanta@mail.kde.org
> Cc: rahul bhola <rb1223334444@gmail.com>
> Subject: [Quanta] Fwd: random bug in site
> Message-ID:
>         <CACqsmRbTBwX=N2JaYT43_0ti6SnLo3RgvJX7F-R6HebWdE=
> Uqg@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> ---------- Forwarded message ----------
> From: rahul bhola <rb1223334444@gmail.com>
> Date: Sun, 26 Jan 2014 06:04:11 +0530
> Subject: random bug in site
> To: kde-devel@kde.org
>
> hi,
>    I just found this random bug on site link is
> http://quanta.kdewebdev.org/screenshots.php
>
> error shown is
> *Warning*: getimagesize(http://kdewebdev.org/images/page/masthead.png) [
> function.getimagesize <http://quanta.kdewebdev.org/function.getimagesize
> >]:
> failed to open stream: HTTP request failed! SSH-2.0-OpenSSH_5.5p1
> Debian-6+squeeze1 in */home/kdewebdev/main/include/base.inc.php* on line
>
> * 24*
>
> *cheers*
>
> *rahul*
>
>
>
> --
> Regards,
> Shubham Chaudhary || http://www.shubhamchaudhary.in
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 28 Jan 2014 07:42:50 +0100
> From: Werner Joss <werner@hoernerfranzracing.de>
> To: quanta@postbox.kde.org
> Subject: Re: [Quanta] Fwd: random bug in site
> Message-ID: <18547119.MTmWdVP2pJ@werner-desk>
> Content-Type: text/plain; charset="us-ascii"
>
> quanta is long dead, as well as the kdewebdev site.
> anyone interested in web development on kde should switch to kdevelop.
>
> Werner
>
> Am Montag, 27. Januar 2014, 00:33:15 schrieb Shubham Chaudhary:
> > ---------- Forwarded message ----------
> > From: rahul bhola <rb1223334444@gmail.com>
> > Date: Sun, 26 Jan 2014 06:04:11 +0530
> > Subject: random bug in site
> > To: kde-devel@kde.org
> >
> > hi,
> >    I just found this random bug on site link is
> > http://quanta.kdewebdev.org/screenshots.php
> >
> > error shown is
> > *Warning*: getimagesize(http://kdewebdev.org/images/page/masthead.png) [
> > function.getimagesize <http://quanta.kdewebdev.org/function.getimagesize
> >]:
> > failed to open stream: HTTP request failed! SSH-2.0-OpenSSH_5.5p1
> > Debian-6+squeeze1 in */home/kdewebdev/main/include/base.inc.php* on line
> >
> > * 24*
> >
> > *cheers*
> >
> > *rahul*
>
>
>
> ------------------------------
>
> _______________________________________________
> Quanta mailing list
> Quanta@mail.kde.org
> https://mail.kde.org/mailman/listinfo/quanta
>
>
> End of Quanta Digest, Vol 113, Issue 1
> **************************************
>



-- 

*Ing. Israel Barragán Castillo*Software Developer Department
Datasoft Engineering
Cel. +52(614) 345-5651
Email: ibarragan@behstant.com

[Attachment #5 (text/html)]

<div dir="ltr">Hello Guys !<div><br></div><div>The PHP error `<b \
style="color:rgb(0,0,0);font-family:&#39;Times New \
Roman&#39;;font-size:medium">Warning</b><span \
style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium">: \
getimagesize(<a href="http://kdewebdev.org/images/page/masthead.png">http://kdewebdev.org/images/page/masthead.png</a>) \
[</span><a href="http://quanta.kdewebdev.org/function.getimagesize" \
style="font-family:&#39;Times New \
Roman&#39;;font-size:medium">function.getimagesize</a><span \
style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium">]: \
failed to open stream</span>` is cause because some how the path of the image is not \
correct or because that directory does not have reading/executing permission, just \
make sure to validate the image path like this:</div> \
<div><br></div><div>PHP</div><blockquote class="gmail_quote" style="margin:0px 0px \
0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">if \
(file_exists($selectedImage) &amp;&amp; is_readable($selectedImage)) {</blockquote> \
<div><br></div><div>Regards !!  </div></div><div class="gmail_extra"><br><br><div \
class="gmail_quote">On Tue, Jan 28, 2014 at 5:00 AM,  <span dir="ltr">&lt;<a \
href="mailto:quanta-request@mail.kde.org" \
target="_blank">quanta-request@mail.kde.org</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
                solid;padding-left:1ex">Send Quanta mailing list submissions to<br>
            <a href="mailto:quanta@mail.kde.org">quanta@mail.kde.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
            <a href="https://mail.kde.org/mailman/listinfo/quanta" \
target="_blank">https://mail.kde.org/mailman/listinfo/quanta</a><br> or, via email, \
                send a message with subject or body &#39;help&#39; to<br>
            <a href="mailto:quanta-request@mail.kde.org">quanta-request@mail.kde.org</a><br>
 <br>
You can reach the person managing the list at<br>
            <a href="mailto:quanta-owner@mail.kde.org">quanta-owner@mail.kde.org</a><br>
 <br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Quanta digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
     1. Fwd: random bug in site (Shubham Chaudhary)<br>
     2. Re: Fwd: random bug in site (Werner Joss)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 27 Jan 2014 00:33:15 +0530<br>
From: Shubham Chaudhary &lt;<a \
                href="mailto:shubham.chaudhary@kdemail.net">shubham.chaudhary@kdemail.net</a>&gt;<br>
                
To: <a href="mailto:quanta@mail.kde.org">quanta@mail.kde.org</a><br>
Cc: rahul bhola &lt;<a \
                href="mailto:rb1223334444@gmail.com">rb1223334444@gmail.com</a>&gt;<br>
                
Subject: [Quanta] Fwd: random bug in site<br>
Message-ID:<br>
            &lt;CACqsmRbTBwX=N2JaYT43_0ti6SnLo3RgvJX7F-R6HebWdE=<a \
                href="mailto:Uqg@mail.gmail.com">Uqg@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
---------- Forwarded message ----------<br>
From: rahul bhola &lt;<a \
                href="mailto:rb1223334444@gmail.com">rb1223334444@gmail.com</a>&gt;<br>
                
Date: Sun, 26 Jan 2014 06:04:11 +0530<br>
Subject: random bug in site<br>
To: <a href="mailto:kde-devel@kde.org">kde-devel@kde.org</a><br>
<br>
hi,<br>
     I just found this random bug on site link is<br>
<a href="http://quanta.kdewebdev.org/screenshots.php" \
target="_blank">http://quanta.kdewebdev.org/screenshots.php</a><br> <br>
error shown is<br>
*Warning*: getimagesize(<a href="http://kdewebdev.org/images/page/masthead.png" \
target="_blank">http://kdewebdev.org/images/page/masthead.png</a>) [<br> \
function.getimagesize &lt;<a href="http://quanta.kdewebdev.org/function.getimagesize" \
target="_blank">http://quanta.kdewebdev.org/function.getimagesize</a>&gt;]:<br> \
failed to open stream: HTTP request failed! SSH-2.0-OpenSSH_5.5p1<br> \
Debian-6+squeeze1 in */home/kdewebdev/main/include/base.inc.php* on line<br> <br>
* 24*<br>
<br>
*cheers*<br>
<br>
*rahul*<br>
<br>
<br>
<br>
--<br>
Regards,<br>
Shubham Chaudhary || <a href="http://www.shubhamchaudhary.in" \
target="_blank">http://www.shubhamchaudhary.in</a><br> <br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 28 Jan 2014 07:42:50 +0100<br>
From: Werner Joss &lt;<a \
                href="mailto:werner@hoernerfranzracing.de">werner@hoernerfranzracing.de</a>&gt;<br>
                
To: <a href="mailto:quanta@postbox.kde.org">quanta@postbox.kde.org</a><br>
Subject: Re: [Quanta] Fwd: random bug in site<br>
Message-ID: &lt;18547119.MTmWdVP2pJ@werner-desk&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
quanta is long dead, as well as the kdewebdev site.<br>
anyone interested in web development on kde should switch to kdevelop.<br>
<br>
Werner<br>
<br>
Am Montag, 27. Januar 2014, 00:33:15 schrieb Shubham Chaudhary:<br>
&gt; ---------- Forwarded message ----------<br>
&gt; From: rahul bhola &lt;<a \
href="mailto:rb1223334444@gmail.com">rb1223334444@gmail.com</a>&gt;<br> &gt; Date: \
Sun, 26 Jan 2014 06:04:11 +0530<br> &gt; Subject: random bug in site<br>
&gt; To: <a href="mailto:kde-devel@kde.org">kde-devel@kde.org</a><br>
&gt;<br>
&gt; hi,<br>
&gt;      I just found this random bug on site link is<br>
&gt; <a href="http://quanta.kdewebdev.org/screenshots.php" \
target="_blank">http://quanta.kdewebdev.org/screenshots.php</a><br> &gt;<br>
&gt; error shown is<br>
&gt; *Warning*: getimagesize(<a href="http://kdewebdev.org/images/page/masthead.png" \
target="_blank">http://kdewebdev.org/images/page/masthead.png</a>) [<br> &gt; \
function.getimagesize &lt;<a href="http://quanta.kdewebdev.org/function.getimagesize" \
target="_blank">http://quanta.kdewebdev.org/function.getimagesize</a>&gt;]:<br> &gt; \
failed to open stream: HTTP request failed! SSH-2.0-OpenSSH_5.5p1<br> &gt; \
Debian-6+squeeze1 in */home/kdewebdev/main/include/base.inc.php* on line<br> &gt;<br>
&gt; * 24*<br>
&gt;<br>
&gt; *cheers*<br>
&gt;<br>
&gt; *rahul*<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Quanta mailing list<br>
<a href="mailto:Quanta@mail.kde.org">Quanta@mail.kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/quanta" \
target="_blank">https://mail.kde.org/mailman/listinfo/quanta</a><br> <br>
<br>
End of Quanta Digest, Vol 113, Issue 1<br>
**************************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><b>Ing. Israel Barragán \
Castillo<br></b>Software Developer Department<br><span \
style="background-color:rgb(255,255,204)">Datasoft</span>  Engineering<br>Cel. \
                +52(614) 345-5651<br>
Email:  <a href="mailto:ibarragan@behstant.com" style="color:rgb(17,85,204)" \
target="_blank">ibarragan@behstant.com</a><br> </div>



_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic