openupload-devel Mailing List for Open Upload (Page 13)
Status: Beta
Brought to you by:
tsdogs
You can subscribe to this list here.
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(11) |
Dec
(11) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2009 |
Jan
(11) |
Feb
(9) |
Mar
(1) |
Apr
(32) |
May
(31) |
Jun
(6) |
Jul
(9) |
Aug
(108) |
Sep
(27) |
Oct
|
Nov
(9) |
Dec
(9) |
| 2010 |
Jan
(16) |
Feb
(38) |
Mar
(24) |
Apr
(2) |
May
(15) |
Jun
(2) |
Jul
(3) |
Aug
(4) |
Sep
(12) |
Oct
(21) |
Nov
(4) |
Dec
(17) |
| 2011 |
Jan
(7) |
Feb
(6) |
Mar
(26) |
Apr
(35) |
May
(6) |
Jun
(7) |
Jul
(1) |
Aug
(12) |
Sep
(5) |
Oct
(17) |
Nov
(6) |
Dec
(7) |
| 2012 |
Jan
(28) |
Feb
(17) |
Mar
(18) |
Apr
(2) |
May
(6) |
Jun
(15) |
Jul
(3) |
Aug
(3) |
Sep
(13) |
Oct
|
Nov
(6) |
Dec
(6) |
| 2013 |
Jan
(13) |
Feb
(2) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2014 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Sebastien S. <seb...@te...> - 2010-10-30 17:20:27
|
Hello I add the expires otion at 30 days, but i had to go on maintenance menu to delete them. I wrote a script to delete them by adding it on a cron job: #!/bin/bash find /var/www/openupload/data/ -type f -mtime +30 | xargs -r rm It's deleting the files but i have to delete too the entrance in the mysql db... any one have an idea of line I have to add ro my scripts? Many thx Sébastien Serre TEX ALLIANCE Logistic & IT Department Tél.+33.(1).56.77.30.11 Fax.+33.(1).76.50.82.23 seb...@te... |
|
From: Harald N. <nik...@xe...> - 2010-10-25 21:31:55
|
Hi all, so here are the lines necessary to create a safer URL. containing just letters, digits and slashes: In lib/modules/default/files.inc.php, look for function setupLinks on line 260 Replace $finfo[0]['downloadlink']= app()->config['WWW_SERVER'].app()->config['WWW_ROOT'].'/?'.$a.'=d&'.$i.'='.$finfo[0]['id']; $finfo[0]['removelink']=app()->config['WWW_SERVER'].app()->config['WWW_ROOT']. '/?'.$a.'=r&'.$i.'='.$finfo[0]['id'].'&'.$r.'='.$finfo[0]['remove']; with: $finfo[0]['downloadlink']= app()->config['WWW_SERVER'].app()->config['WWW_ROOT'].'/d/'.$finfo[0]['id']; $finfo[0]['removelink']=app()->config['WWW_SERVER'].app()->config['WWW_ROOT'].'/r/'.$finfo[0]['id'].'/'.$finfo[0]['remove']; In .htaccess, enter: RewriteEngine on RewriteRule ^([a-z])/([a-zA-Z0-9]+)$ /openupload/?a=$1&i=$2 [R,L] RewriteRule ^([a-z])/([a-zA-Z0-9]+)/([a-zA-Z0-9]+)$ /openupload/?a=$1&i=$2&r=$3 [R,L] This works for me. I hope I didn't miss anything. Cheers Hasrald On Fri, 22 Oct 2010, Alessandro Briosi wrote: > Hi Harald. > > Il 21/10/2010 23:23, Harald Nikolaus ha scritto: >> Hi again, >> ... >> >> Oh, right. So what would be easier? I guess not using mod_rewrite means >> more rewriting in the application, does it? >> > Yes, this needs some coding. > > The simplest would be to have a redirect, to the page with the & version > So intercept the actions you need and redirect according, but haven't > looked deep enough yet. > > I guess that right now best way is go the mod_rewrite rule (and change > the links returned by the file.inc.php to the user > > Alessandro > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel > |
|
From: Alessandro B. <ts...@br...> - 2010-10-22 08:08:41
|
Hi Harald. Il 21/10/2010 23:23, Harald Nikolaus ha scritto: > Hi again, > ... > > Oh, right. So what would be easier? I guess not using mod_rewrite means > more rewriting in the application, does it? > Yes, this needs some coding. The simplest would be to have a redirect, to the page with the & version So intercept the actions you need and redirect according, but haven't looked deep enough yet. I guess that right now best way is go the mod_rewrite rule (and change the links returned by the file.inc.php to the user Alessandro |
|
From: Harald N. <nik...@xe...> - 2010-10-21 21:23:42
|
Hi again, > Why is that unusable? By specification the first notation (the one used > by openupload) is the wrong one in an html document (browsers fix that > but it's wrong). > > in urls the ampersand should be noted as & if it's html but not the > text version. Probably you have some html to text conversion, and that's > where the problem is. Yes, you are right. But the problem is this could happen with some other faulty clients, too. So I guess it is better to get rid of the ampersands in the URL altogether. > I do agree with you that having a mod_rewrite structure should be the > best. Also a notation like > http://www.exampleserver.net/openupload/index.php/d/r7t8DuGPOv > could work, without needing mod_rewrite access, but urls need to be > fixed and handled in the application for that to happen. Oh, right. So what would be easier? I guess not using mod_rewrite means more rewriting in the application, does it? Cheers Harald > mod_rewrite can be tweaked to support that notation already so any > feedback is appreciated. > > Alessandro > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel > |
|
From: Alessandro B. <ts...@br...> - 2010-10-21 17:33:15
|
Il 21/10/2010 18:56, nik...@xe... ha scritto: > > Hi, > > when using OpenUpload, we ran into the following problem: > > - A user generates a Download-Link, and sends it by mail (Thunderbird client) > to a Mac user. > The Mac user gets: > > https://www.exampleserver.net/openupload/?a=d&i=r7t8DuGPOv > > instead of > > > https://www.exampleserver.net/openupload/?a=d&i=r7t8DuGPOv > > So the ampersand is escaped, which makes the link unusable. > > Of course one could try to find out why this happens and what workaround > can be applied on the Thunderbird or Mac side. > But I think it would be safer to create safer URLs to begin with, for > example > > https://www.exampleserver.net/openupload/d/r7t8DuGPOv > > with no special characters excaept the slash. > This could be done fairly easy by using Apache rewrite module, so that > Apache would rewrite > > https://www.exampleserver.net/openupload/d/r7t8DuGPOv > back to > https://www.exampleserver.net/openupload/?a=d&i=r7t8DuGPOv > > upon calling the URL. And of course, the slash URL would also be displayed > in the Interface and sent by mail. > > This shouldn't be too hard, using the Apache rewrite module. Of course this requires access to the rewrite module (and to Apache). > Did anyone already do this? Did I maybe miss an option that already > delivers this? > > If not, I would probably do this and post the result. > > Or am I missing something that makes my idea look undesirable or unnecessary? > Hi, Sure it can be done. mod_rewrite support was one of the features scheduled for future releases. Why is that unusable? By specification the first notation (the one used by openupload) is the wrong one in an html document (browsers fix that but it's wrong). in urls the ampersand should be noted as & if it's html but not the text version. Probably you have some html to text conversion, and that's where the problem is. I do agree with you that having a mod_rewrite structure should be the best. Also a notation like http://www.exampleserver.net/openupload/index.php/d/r7t8DuGPOv could work, without needing mod_rewrite access, but urls need to be fixed and handled in the application for that to happen. mod_rewrite can be tweaked to support that notation already so any feedback is appreciated. Alessandro |
|
From: <nik...@xe...> - 2010-10-21 17:12:07
|
Hi, when using OpenUpload, we ran into the following problem: - A user generates a Download-Link, and sends it by mail (Thunderbird client) to a Mac user. The Mac user gets: https://www.exampleserver.net/openupload/?a=d&i=r7t8DuGPOv instead of https://www.exampleserver.net/openupload/?a=d&i=r7t8DuGPOv So the ampersand is escaped, which makes the link unusable. Of course one could try to find out why this happens and what workaround can be applied on the Thunderbird or Mac side. But I think it would be safer to create safer URLs to begin with, for example https://www.exampleserver.net/openupload/d/r7t8DuGPOv with no special characters excaept the slash. This could be done fairly easy by using Apache rewrite module, so that Apache would rewrite https://www.exampleserver.net/openupload/d/r7t8DuGPOv back to https://www.exampleserver.net/openupload/?a=d&i=r7t8DuGPOv upon calling the URL. And of course, the slash URL would also be displayed in the Interface and sent by mail. This shouldn't be too hard, using the Apache rewrite module. Of course this requires access to the rewrite module (and to Apache). Did anyone already do this? Did I maybe miss an option that already delivers this? If not, I would probably do this and post the result. Or am I missing something that makes my idea look undesirable or unnecessary? Greetings Harald |
|
From: Alessandro B. <ts...@br...> - 2010-10-20 16:13:26
|
Il 20/10/2010 12:57, Horasi Ambara ha scritto: > Hi, > > I am trying to install openupload in my notebook. For simplicity-sake, I > am using WampServer 2.0 (the newest one). > Openupload setup was a breeze. Databases were created and filled > correctly done by the setup script (great!). > > Now when I am trying to go to http://localhost/openupload , what I got > was just a blank page! :( > > Went into the WAMP logs file: > - access.log = none > - apache_error.log = nothing unusual - normal > - mysql.log = nothing unusual - normal > - php_error.log = 0 KB > > What is happening? Where should I look for any error messages? > Would anybody please help me? The tool is very valuable for our > organization. > Blank page means error (dunno why there's no hint in any file). I suppose that when you say "Databases were created and filled correctly" you are saying that it has data inside (you did a check) So I'd go for a problem with the configuration file (maybe a database connection problem or a path problem). Try checking in the php.ini file and enable temporarly display_errors = On error_reporting = E_ALL restart apache and try again. If you still get a blank page and no errors there must be something else. There was somebody else reporting this strange behavier, but afair the logs reported something. Also check for directory permissions (data and templates_c must be writable by the user running wamp) Alessandro |
|
From: Horasi A. <ho...@gm...> - 2010-10-20 10:57:21
|
Hi, I am trying to install openupload in my notebook. For simplicity-sake, I am using WampServer 2.0 (the newest one). Openupload setup was a breeze. Databases were created and filled correctly done by the setup script (great!). Now when I am trying to go to http://localhost/openupload , what I got was just a blank page! :( Went into the WAMP logs file: - access.log = none - apache_error.log = nothing unusual - normal - mysql.log = nothing unusual - normal - php_error.log = 0 KB What is happening? Where should I look for any error messages? Would anybody please help me? The tool is very valuable for our organization. Thanks so much. |
|
From: Bica, G. <geo...@in...> - 2010-10-19 19:45:11
|
Adding $user['reg_date']=date('Y-m-d H:i:s'); did the trick! I was not
able to get any feedback from the print_r, but at least this resolved
the issue. Looking at the "users" table, I tried to create a user
manually, and looks like that table requires data for all columns to get
a new record added, including one for "reg_date" in the format 'Y-m-d
H:i:s'
-----Original Message-----
From: Alessandro Briosi [mailto:ts...@br...]
Sent: Tuesday, October 19, 2010 2:11 PM
To: OpenUpload Delvel and General talk
Cc: Bica, George
Subject: Re: [openupload-devel] New user creation
Il 19/10/2010 18:57, Bica, George ha scritto:
> I am using Open Upload 0.4.1, and have come up to an interesting "bug"
>
>
>
> *Dev environment----*
>
> Server2Go on Windows 7, comes prepackaged with:
>
> Apache 2.2.15
>
> PHP 5.3.2
>
> MySQL 5.1.46
>
>
>
> *Production environment, manually configured and integrated ----*
>
> Windows 2003
>
> Apache 2.2.16
>
> PHP 5.3.3
>
> MySQL 5.1.51
>
>
>
> I run the script configuration, all setup good and working properly.
> The only thing that I am having problems with is creating new users
> from Administration in the production environment.
>
>
>
> In development a new user is created, no problem.
>
> In production once I click "Add" button the user list comes back, but
> no user is created. There is no error in logs or screen.
>
> Incidentally, if I allow registrations in the production server, then
> users are self created without a problem.
>
>
>
> Short of trying to figure out manually which package is to blame, is
> there a debug tool I can use to troubleshoot this? My guess is the the
> SQL statement passed via PHP to MySQL is not being executed, but can
> not be sure, just a wild guess at this time.
>
>
>
> Your help is appreciated.
This is pretty odd. As the differences between your dev and production
LAMP installation is quite similar (beside the OS), I'd say you are
hitting some bug wither with php or mysql.
Debugging might be a bit difficult. the registration/add user queries
should be similar as the auth module does insert that info. It's strange
the fact that you don't get any error from php/mysql.
I'd try doing a print_r($user) in the useradd function in
lib/modules/auth/default.inc.php and check what could be the wrong value
or the missing one.
It might be a date problem (?) somebody pointed out that some version of
mysql did want a value for the date Try adding the following to
lib/modules/default/admin.inc.php after line 120 in the useradd function
(before the "$error = false;" line):
$user['reg_date']=date('Y-m-d H:i:s');
And see if this fixes the problem.
Alessandro
|
|
From: Alessandro B. <ts...@br...> - 2010-10-19 18:12:34
|
Il 19/10/2010 19:58, Bica, George ha scritto: > I see the language listed on the page, together with the rest, English, Deutsch, Francais, Italiano. Selecting any other language, including the asian one (Chinese?) displays correct translation. Portugese is the only one that does not work. > > I am using phparray. Could you give me what values you added in the languages table? Alessandro |
|
From: Alessandro B. <ts...@br...> - 2010-10-19 18:11:08
|
Il 19/10/2010 18:57, Bica, George ha scritto:
> I am using Open Upload 0.4.1, and have come up to an interesting "bug"
>
>
>
> *Dev environment----*
>
> Server2Go on Windows 7, comes prepackaged with:
>
> Apache 2.2.15
>
> PHP 5.3.2
>
> MySQL 5.1.46
>
>
>
> *Production environment, manually configured and integrated ----*
>
> Windows 2003
>
> Apache 2.2.16
>
> PHP 5.3.3
>
> MySQL 5.1.51
>
>
>
> I run the script configuration, all setup good and working properly. The
> only thing that I am having problems with is creating new users from
> Administration in the production environment.
>
>
>
> In development a new user is created, no problem.
>
> In production once I click "Add" button the user list comes back, but no
> user is created. There is no error in logs or screen.
>
> Incidentally, if I allow registrations in the production server, then
> users are self created without a problem.
>
>
>
> Short of trying to figure out manually which package is to blame, is
> there a debug tool I can use to troubleshoot this? My guess is the the
> SQL statement passed via PHP to MySQL is not being executed, but can not
> be sure, just a wild guess at this time.
>
>
>
> Your help is appreciated.
This is pretty odd. As the differences between your dev and production
LAMP installation is quite similar (beside the OS), I'd say you are
hitting some bug wither with php or mysql.
Debugging might be a bit difficult. the registration/add user queries
should be similar as the auth module does insert that info. It's strange
the fact that you don't get any error from php/mysql.
I'd try doing a print_r($user) in the useradd function in
lib/modules/auth/default.inc.php and check what could be the wrong value
or the missing one.
It might be a date problem (?) somebody pointed out that some version of
mysql did want a value for the date
Try adding the following to
lib/modules/default/admin.inc.php after line 120 in the useradd function
(before the "$error = false;" line):
$user['reg_date']=date('Y-m-d H:i:s');
And see if this fixes the problem.
Alessandro
|
|
From: Bica, G. <geo...@in...> - 2010-10-19 17:58:42
|
I see the language listed on the page, together with the rest, English, Deutsch, Francais, Italiano. Selecting any other language, including the asian one (Chinese?) displays correct translation. Portugese is the only one that does not work. I am using phparray. -----Original Message----- From: Alessandro Briosi [mailto:ts...@br...] Sent: Tuesday, October 19, 2010 1:55 PM To: OpenUpload Delvel and General talk Cc: Bica, George Subject: Re: [openupload-devel] Português language Il 19/10/2010 19:03, Bica, George ha scritto: > The localization for this language is not working for me, either on my > dev or production. Words are displayed in English. > > > > *Dev environment----* > > Server2Go on Windows 7, comes prepackaged with: > > Apache 2.2.15 > > PHP 5.3.2 > > MySQL 5.1.46 > > Portugues is not included in the default download, so you must install it manually AFAIR. Please explain what "is not working" means (beside the fact that you see the english version). You can see the name of the language in the language list (upper right corner)? What have you done to install it? Which option of the translation are you using phparray or gettext? Are other languages working? Either the installation is missing some step or the translation file is not correct. Alessandro |
|
From: Alessandro B. <ts...@br...> - 2010-10-19 17:55:21
|
Il 19/10/2010 19:03, Bica, George ha scritto: > The localization for this language is not working for me, either on my > dev or production. Words are displayed in English. > > > > *Dev environment----* > > Server2Go on Windows 7, comes prepackaged with: > > Apache 2.2.15 > > PHP 5.3.2 > > MySQL 5.1.46 > > Portugues is not included in the default download, so you must install it manually AFAIR. Please explain what "is not working" means (beside the fact that you see the english version). You can see the name of the language in the language list (upper right corner)? What have you done to install it? Which option of the translation are you using phparray or gettext? Are other languages working? Either the installation is missing some step or the translation file is not correct. Alessandro |
|
From: Bica, G. <geo...@in...> - 2010-10-19 17:09:45
|
I am using Open Upload 0.4.1, and have come up to an interesting "bug" Dev environment---- Server2Go on Windows 7, comes prepackaged with: Apache 2.2.15 PHP 5.3.2 MySQL 5.1.46 Production environment, manually configured and integrated ---- Windows 2003 Apache 2.2.16 PHP 5.3.3 MySQL 5.1.51 I run the script configuration, all setup good and working properly. The only thing that I am having problems with is creating new users from Administration in the production environment. In development a new user is created, no problem. In production once I click "Add" button the user list comes back, but no user is created. There is no error in logs or screen. Incidentally, if I allow registrations in the production server, then users are self created without a problem. Short of trying to figure out manually which package is to blame, is there a debug tool I can use to troubleshoot this? My guess is the the SQL statement passed via PHP to MySQL is not being executed, but can not be sure, just a wild guess at this time. Your help is appreciated. George |
|
From: Bica, G. <geo...@in...> - 2010-10-19 17:09:44
|
The localization for this language is not working for me, either on my dev or production. Words are displayed in English. Dev environment---- Server2Go on Windows 7, comes prepackaged with: Apache 2.2.15 PHP 5.3.2 MySQL 5.1.46 Production environment, manually configured and integrated ---- Windows 2003 Apache 2.2.16 PHP 5.3.3 MySQL 5.1.51 |
|
From: Alessandro B. <ts...@br...> - 2010-10-15 10:24:43
|
Il 15/10/2010 12:16, Sergio Fernández Marcos ha scritto: > I'm using openupload in my corporate environment and I have found that > when downloading files Internet Explorer doesn't recognize filename > charset correctly. This leads to bad file name when the original file > name has non English characters like ñ or ç. > > Firefox and Opera don't suffer this problem. > > The attached patch corrects this behaviour. Thanks for the patch. Alessandro |
|
From: Sergio F. M. <sfm...@gm...> - 2010-10-15 10:16:28
|
I'm using openupload in my corporate environment and I have found that when downloading files Internet Explorer doesn't recognize filename charset correctly. This leads to bad file name when the original file name has non English characters like ñ or ç. Firefox and Opera don't suffer this problem. The attached patch corrects this behaviour. |
|
From: Alessandro B. <ts...@br...> - 2010-09-30 19:19:07
|
On Wed, 29 Sep 2010 10:26:13 +0200, laurent lecomte <pro...@ho...> wrote: > Hello, > Hi, > Firstly, I congratulate you for this software is super convenient. > Thank you. > I use the latest version, I found a bug I guess you're aware. > When creating an account with the default group is not registered, access > a computer running > more even with the default account ADMIN. To remedy this I deleted the > account and unregistered > I created it by hand. Not sure I understand what you mean. Could you rephrase this? > > My problem is I can not upload a file larger than 250MB surroundings (a > file of 207Mo > works and a 260MB file does not work.) Things might be many, but I guess you need to look at apache, maybe you have a restriction there. http://httpd.apache.org/docs/2.0/mod/core.html#limitrequestbody or http://www.radinks.com/upload/config.php you could try changing upload_tmp_dir in php.ini apparmor or selinux might also be of some interest. Quota also could apply. Or maybe you are behind a proxy? Does the upload stop early or the file is uploaded but you get the error? Hope this helps. Alessandro |
|
From: laurent l. <pro...@ho...> - 2010-09-29 08:26:20
|
Hello, Firstly, I congratulate you for this software is super convenient. I use the latest version, I found a bug I guess you're aware. When creating an account with the default group is not registered, access a computer running more even with the default account ADMIN. To remedy this I deleted the account and unregistered I created it by hand. My problem is I can not upload a file larger than 250MB surroundings (a file of 207Mo works and a 260MB file does not work.) Here is the error message: Can not write to temporary diretory! I changed the options in my php.ini: - Upload_max_filesize = 1024M - Post_max_size = 1024M Then I modified the config.inc.php - $ CONFIG ['max_upload_size'] = '1024 '; But that still does not work I have to restart apache2. Rights to the data folder and data / tmp are chmod777, I tried to create another file upload but it does not work. And I still have 1GB of space in my score upload. Would you have any idea where the problem might come from? Thank you in advance. ps: I'm French so sorry if it's bad writing. Best Regards. Laurent LECOMTE |
|
From: Alessandro B. <ts...@br...> - 2010-09-15 13:01:48
|
On Wed, 15 Sep 2010 10:02:11 +0200, "Antonio Tomasi" <a.t...@co...> wrote: > Good Morning > > > > I have installed 'openupload' on my server (CentOS release 5.5 (Final), > PHP 5.1.6-27.el5, MYSQL 5.0.77-4.el5_5.3) but the application don't > function. On error.log of Apache I have this: > > > > PHP Fatal error: Call to a member function info() on a non-object in > /var/www/vh/openupload/openupload-0.3/lib/modules/tr/phparray.inc.php on > line 13. > What version of openupload are you using? 0.3 is deprecated, please use 0.4.1 I think you hit a bug which is preventing openupload to display an error about the database connection or sql. In newer version you probably would get a decent error I hope. Alessandro |
|
From: Alessandro B. <ts...@br...> - 2010-09-15 12:45:31
|
On Wed, 15 Sep 2010 13:09:15 +0200, Guillaume Betous <gui...@gm...> wrote: >> I'd like to stock all files outside of /var/www. Is it possible ? >> > > I made /var/www/openupload/data a link from another directory (with huge > disk space) and it works great ! > I'm not sure this is the right solution. If apache followsymlinks is enabled this would allow somebody to download the file directly. My suggestion is change the config to point to that path, and be sure that the upload tmp directory is in the same partition. Alessandro |
|
From: Alessandro B. <ts...@br...> - 2010-09-15 12:39:23
|
On Wed, 15 Sep 2010 08:00:38 +0200, Guillaume Betous <gui...@gm...> wrote: >> Ok, the problem of a blank page is the error. >> Probably at line 164 of that file it should be >> app()->error(... >> and not >> $this->error( >> > > I corrected that and now it seems to work : after clicking on "send" I have > a new page where I can parameter various things (description, password > etc.) > > >> beside that it probably means that your "data" directory is not writable >> by the apache user (www-data) or it does not exist, >> > > I think I have the answer. The directory existes and has correct rights, > but > I set it to a path outside the ROOT of openupload. Maybe that is the > problem > ? > > I'd like to stock all files outside of /var/www. Is it possible ? > Absolutely, that's the correct way of doing it. Only the openupload/www directory must be published on the web server, everything else should be outside the documentroot. If you get the page for the settings mean that the upload is done correctly only confirm the options to confirm the upload. Alessandro |
|
From: Guillaume B. <gui...@gm...> - 2010-09-15 11:09:24
|
> I'd like to stock all files outside of /var/www. Is it possible ? > I made /var/www/openupload/data a link from another directory (with huge disk space) and it works great ! Thank you again. gUI -- Pour la santé de votre ordinateur, préférez les logiciels libres. Lire son mail : http://www.mozilla-europe.org/fr/products/thunderbird/ Browser le web : http://www.mozilla-europe.org/fr/products/firefox/ Suite bureautique : http://fr.openoffice.org/ |
|
From: Antonio T. <a.t...@co...> - 2010-09-15 08:47:23
|
Good Morning I have installed 'openupload' on my server (CentOS release 5.5 (Final), PHP 5.1.6-27.el5, MYSQL 5.0.77-4.el5_5.3) but the application don't function. On error.log of Apache I have this: PHP Fatal error: Call to a member function info() on a non-object in /var/www/vh/openupload/openupload-0.3/lib/modules/tr/phparray.inc.php on line 13. What should I do? Thank you very much for support. Cordiali saluti Antonio Tomasi Comune di Prato Sistema informativo 05741835245 |
|
From: Guillaume B. <gui...@gm...> - 2010-09-15 06:00:45
|
> Ok, the problem of a blank page is the error. > Probably at line 164 of that file it should be > app()->error(... > and not > $this->error( > I corrected that and now it seems to work : after clicking on "send" I have a new page where I can parameter various things (description, password etc.) > beside that it probably means that your "data" directory is not writable > by the apache user (www-data) or it does not exist, > I think I have the answer. The directory existes and has correct rights, but I set it to a path outside the ROOT of openupload. Maybe that is the problem ? I'd like to stock all files outside of /var/www. Is it possible ? Thank you very much for your help. gUI -- Pour la santé de votre ordinateur, préférez les logiciels libres. Lire son mail : http://www.mozilla-europe.org/fr/products/thunderbird/ Browser le web : http://www.mozilla-europe.org/fr/products/firefox/ Suite bureautique : http://fr.openoffice.org/ |