Thread: [openupload-devel] Not my day - download problem
Status: Beta
Brought to you by:
tsdogs
|
From: Weir, J. <jas...@nh...> - 2009-08-27 15:26:15
|
Ok - seem to have a download problem all of the sudden.
I click on the download link - enter the captcha, then click the
download button
All I get is a blank screen - download does not start
This is what I see in the error log
Aug 27 10:51:23 debian apache2: PHP Warning: filesize() [<a
href='function.filesize'>function.filesize</a>]: stat failed for
/usr/share/openupload/data/fwaTXA8pwg in
/usr/share/openupload/lib/modules/default/files.inc.php on line 389
I commented out line 389 as follows
//$filesize = filesize($file);
$filesize = "15";
The error message goes away but I still get the blank screen and no
download..
What's going on here? What did I break?
-J
_____________________________________________________________________________________________
Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. |
|
From: Alessandro B. <ts...@br...> - 2009-08-27 15:31:19
|
is the file there? the function is failing 'cause it does not find the file or php has no access to it (?) Alessandro Weir, Jason ha scritto: > Ok - seem to have a download problem all of the sudden. > > I click on the download link - enter the captcha, then click the > download button > > All I get is a blank screen - download does not start > > This is what I see in the error log > > Aug 27 10:51:23 debian apache2: PHP Warning: filesize() [<a > href='function.filesize'>function.filesize</a>]: stat failed for > /usr/share/openupload/data/fwaTXA8pwg in > /usr/share/openupload/lib/modules/default/files.inc.php on line 389 > > I commented out line 389 as follows > > //$filesize = filesize($file); > $filesize = "15"; > > The error message goes away but I still get the blank screen and no > download.. > > What's going on here? What did I break? > > -J > > > _____________________________________________________________________________________________ > > Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: Weir, J. <jas...@nh...> - 2009-08-27 15:39:25
|
There are no files located in /usr/share/openupload/data Apache has read\write access to that folder - therefore PHP should as well.. But I don't think the filesize() function is causing the download failure because disabling it had no effect.. W -----Original Message----- From: Alessandro Briosi [mailto:ts...@br...] Sent: Thursday, August 27, 2009 11:31 AM To: OpenUpload Delvel and General talk Subject: Re: [openupload-devel] Not my day - download problem is the file there? the function is failing 'cause it does not find the file or php has no access to it (?) Alessandro Weir, Jason ha scritto: > Ok - seem to have a download problem all of the sudden. > > I click on the download link - enter the captcha, then click the > download button > > All I get is a blank screen - download does not start > > This is what I see in the error log > > Aug 27 10:51:23 debian apache2: PHP Warning: filesize() [<a > href='function.filesize'>function.filesize</a>]: stat failed for > /usr/share/openupload/data/fwaTXA8pwg in > /usr/share/openupload/lib/modules/default/files.inc.php on line 389 > > I commented out line 389 as follows > > //$filesize = filesize($file); > $filesize = "15"; > > The error message goes away but I still get the blank screen and no > download.. > > What's going on here? What did I break? > > -J _____________________________________________________________________________________________ Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. |
|
From: Andy H. <and...@eu...> - 2009-08-27 15:47:51
|
Weir, Jason wrote: > Ok - seem to have a download problem all of the sudden. > > I click on the download link - enter the captcha, then click the > download button > > All I get is a blank screen - download does not start > My install is still working re downloads.... -Andy |
|
From: Weir, J. <jas...@nh...> - 2009-08-27 15:50:26
|
Just as I suspected - I broke something... -J -----Original Message----- From: Andy Hester [mailto:and...@eu...] Sent: Thursday, August 27, 2009 11:48 AM To: OpenUpload Delvel and General talk Subject: Re: [openupload-devel] Not my day - download problem Weir, Jason wrote: > Ok - seem to have a download problem all of the sudden. > > I click on the download link - enter the captcha, then click the > download button > > All I get is a blank screen - download does not start > My install is still working re downloads.... -Andy _____________________________________________________________________________________________ Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. |
|
From: Alessandro B. <ts...@br...> - 2009-08-27 16:00:55
|
could it be that php is somehow failing in the file move? what comes to my mind is different partitions for temporary files and definitive data. Maybe you could simply get the v0.4 and replace your installation (only php files under lib/ ), and apply latest authenticate function to ldap.inc.php or better untar the v0.4 somewhere and check what are the differences in the lib directory something like: diff -Naur <where original v0.4 is>/lib /usr/share/openupload/lib and see if you have touched something else during the testings. Alessandro. Weir, Jason ha scritto: > Just as I suspected - I broke something... > > -J > > -----Original Message----- > From: Andy Hester [mailto:and...@eu...] > Sent: Thursday, August 27, 2009 11:48 AM > To: OpenUpload Delvel and General talk > Subject: Re: [openupload-devel] Not my day - download problem > > > Weir, Jason wrote: >> Ok - seem to have a download problem all of the sudden. >> >> I click on the download link - enter the captcha, then click the >> download button >> >> All I get is a blank screen - download does not start >> > My install is still working re downloads.... > > -Andy > > > _____________________________________________________________________________________________ > > Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |
|
From: Weir, J. <jas...@nh...> - 2009-08-27 16:53:18
|
Found the problem...
In /usr/share/openupload/lib/modules/default/files.inc.php
I had changed line 401 per your 8/25 email as follows
// header('Content-Type: '.$finfo[$num]['mime']);
header('Content-Type: application/octet-stream');
When I switched it back - problem gone..
-J
-----Original Message-----
From: Alessandro Briosi [mailto:ts...@br...]
Sent: Thursday, August 27, 2009 12:01 PM
To: OpenUpload Delvel and General talk
Subject: Re: [openupload-devel] Not my day - download problem
could it be that php is somehow failing in the file move? what comes to
my mind is different partitions for temporary files and definitive data.
Maybe you could simply get the v0.4 and replace your installation (only
php files under lib/ ), and apply latest authenticate function to
ldap.inc.php
or better untar the v0.4 somewhere and check what are the differences in
the lib directory something like:
diff -Naur <where original v0.4 is>/lib /usr/share/openupload/lib
and see if you have touched something else during the testings.
Alessandro.
Weir, Jason ha scritto:
> Just as I suspected - I broke something...
>
> -J
>
> -----Original Message-----
> From: Andy Hester [mailto:and...@eu...]
> Sent: Thursday, August 27, 2009 11:48 AM
> To: OpenUpload Delvel and General talk
> Subject: Re: [openupload-devel] Not my day - download problem
>
>
> Weir, Jason wrote:
>> Ok - seem to have a download problem all of the sudden.
>>
>> I click on the download link - enter the captcha, then click the
>> download button
>>
>> All I get is a blank screen - download does not start
>>
> My install is still working re downloads....
>
> -Andy
_____________________________________________________________________________________________
Please visit www.nhrs.org to subscribe to NHRS email announcements and updates. |
|
From: Alessandro B. <ts...@br...> - 2009-08-27 17:04:42
|
hmm, that's still pretty odd.
Alessandro
Weir, Jason ha scritto:
> Found the problem...
>
> In /usr/share/openupload/lib/modules/default/files.inc.php
>
> I had changed line 401 per your 8/25 email as follows
>
> // header('Content-Type: '.$finfo[$num]['mime']);
> header('Content-Type: application/octet-stream');
>
> When I switched it back - problem gone..
>
> -J
>
> -----Original Message-----
> From: Alessandro Briosi [mailto:ts...@br...]
> Sent: Thursday, August 27, 2009 12:01 PM
> To: OpenUpload Delvel and General talk
> Subject: Re: [openupload-devel] Not my day - download problem
>
>
> could it be that php is somehow failing in the file move? what comes to
> my mind is different partitions for temporary files and definitive data.
>
> Maybe you could simply get the v0.4 and replace your installation (only
> php files under lib/ ), and apply latest authenticate function to
> ldap.inc.php
>
> or better untar the v0.4 somewhere and check what are the differences in
>
> the lib directory something like:
>
> diff -Naur <where original v0.4 is>/lib /usr/share/openupload/lib
>
> and see if you have touched something else during the testings.
>
> Alessandro.
>
> Weir, Jason ha scritto:
>> Just as I suspected - I broke something...
>>
>> -J
>>
>> -----Original Message-----
>> From: Andy Hester [mailto:and...@eu...]
>> Sent: Thursday, August 27, 2009 11:48 AM
>> To: OpenUpload Delvel and General talk
>> Subject: Re: [openupload-devel] Not my day - download problem
>>
>>
>> Weir, Jason wrote:
>>> Ok - seem to have a download problem all of the sudden.
>>>
>>> I click on the download link - enter the captcha, then click the
>>> download button
>>>
>>> All I get is a blank screen - download does not start
>>>
>> My install is still working re downloads....
>>
>> -Andy
>
>
> _____________________________________________________________________________________________
>
> Please visit www.nhrs.org to subscribe to NHRS email announcements and updates.
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Openupload-devel mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openupload-devel
|
|
From: Alessandro B. <ts...@br...> - 2009-08-27 15:56:57
|
yeah, mine too. So it must be something else. Alessandro Andy Hester ha scritto: > Weir, Jason wrote: >> Ok - seem to have a download problem all of the sudden. >> >> I click on the download link - enter the captcha, then click the >> download button >> >> All I get is a blank screen - download does not start >> > My install is still working re downloads.... > > -Andy > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |