Menu

#7 Setup problems

open
nobody
None
5
2003-08-04
2003-08-04
Alan Harris
No

HI ..
I am having general problems ... please help !

After doing a basic install
I can see the files & navigate down into the doc :)

... but the back button doesnt work

WhenI try to create a new folder, it just refreshes the
page - but does not create the new folder (no errors).

When I try to upload a document, I get the following
errors

Warning: move_uploaded_file
(/usr/local/apache2/htdocs/sfm/demo/tmp.txt): failed to
open stream: Permission denied
in /usr/local/apache2/htdocs/sfm/fm.php on line 413

Warning: move_uploaded_file(): Unable to
move '/tmp/phpAspaTP'
to '/usr/local/apache2/htdocs/sfm/demo/tmp.txt'
in /usr/local/apache2/htdocs/sfm/fm.php on line 413

I am using :

Apache 2.0.47
PHP 4.3.2

I have tried chmod 777 on the full depth of the
directory - but this did not help.

All help would be very much appreciated

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Same error here. Logs show this:

    [Mon Aug 11 10:26:33 2003] [error] PHP Notice: Undefined
    variable: back in /usr/local/www/hel-inc.files/htdocs/fm.php on
    line 264
    [Mon Aug 11 10:26:33 2003] [error] PHP Notice: Undefined
    variable: createfile in /usr/local/www/hel-inc.files/htdocs/fm.php
    on line 279
    [Mon Aug 11 10:26:33 2003] [error] PHP Notice: Undefined
    variable: edit in /usr/local/www/hel-inc.files/htdocs/fm.php on
    line 283
    [Mon Aug 11 10:26:33 2003] [error] PHP Notice: Undefined
    variable: cpmv in /usr/local/www/hel-inc.files/htdocs/fm.php on
    line 286
    [Mon Aug 11 10:26:33 2003] [error] PHP Notice: Undefined
    variable: loginfailed in /usr/local/www/hel-inc.files/htdocs/fm.php
    on line 297
    [Mon Aug 11 10:26:33 2003] [error] PHP Notice: Undefined
    variable: save in /usr/local/www/hel-inc.files/htdocs/fm.php on
    line 300
    [Mon Aug 11 10:26:33 2003] [error] PHP Notice: Undefined
    variable: mkdir in /usr/local/www/hel-inc.files/htdocs/fm.php on
    line 451
    [Mon Aug 11 10:26:33 2003] [error] PHP Notice: Undefined
    variable: fnl in /usr/local/www/hel-inc.files/htdocs/fm.php on line
    1033
    [Mon Aug 11 10:26:33 2003] [error] PHP Notice: Undefined
    variable: fnr in /usr/local/www/hel-inc.files/htdocs/fm.php on line
    1033
    [Mon Aug 11 10:26:33 2003] [error] PHP Notice: Undefined
    variable: okay in /usr/local/www/hel-inc.files/htdocs/fm.php on
    line 1099
    [Mon Aug 11 10:26:33 2003] [error] PHP Notice: Undefined
    variable: content in /usr/local/www/hel-inc.files/htdocs/fm.php on
    line 633
    [Mon Aug 11 10:26:33 2003] [error] PHP Notice: Undefined
    variable: nofiles in /usr/local/www/hel-inc.files/htdocs/fm.php on
    line 651
    [Mon Aug 11 10:26:33 2003] [error] PHP Notice: Undefined
    variable: patherror in /usr/local/www/hel-inc.files/htdocs/fm.php
    on line 1471
    [Mon Aug 11 10:26:33 2003] [error] [client 24.165.224.118] File
    does not exist: /usr/local/www/hel-inc.files/htdocs/fm_files/
    spacer.gif

     
  • mei yee

    mei yee - 2003-12-14

    Logged In: YES
    user_id=919284

    hi,

    if you set the defineroot = 0 there are some coding that have
    left out.

    you have to add all this

    if (isset($_REQUEST['filename'] )) { $filename = $_REQUEST
    ['filename']; }
    else { $filename = ""; }
    if (isset($_REQUEST['cz'] )) { $cz = $_REQUEST
    ['cz']; }
    else { $cz = ""; }
    if (isset($_REQUEST['za'] )) { $za = $_REQUEST
    ['za']; }
    else { $za = ""; }
    if (isset($_REQUEST['mkdir'] )) { $mkdir =
    $_REQUEST['mkdir']; }
    else { $mkdir = ""; }
    if (isset($_REQUEST['dirname'] )) { $dirname =
    $_REQUEST['dirname']; }
    else { $dirname = ""; }
    if (isset($_REQUEST['edit'] )) { $edit = $_REQUEST
    ['edit']; }
    else { $edit = ""; }
    if (isset($_REQUEST['cpmv'] )) { $cpmv =
    $_REQUEST['cpmv']; }
    else { $cpmv = ""; }
    if (isset($_REQUEST['save'] )) { $save = $_REQUEST
    ['save']; }
    else { $save = ""; }
    if (isset($_REQUEST['newcontent'] )) {
    $newcontent = $_REQUEST['newcontent']; }
    else { $newcontent = ""; }
    if (isset($_REQUEST['savefile'] )) { $savefile =
    $_REQUEST['savefile']; }
    else { $savefile = ""; }
    if (isset($_REQUEST['back'])) {$back = $_REQUEST
    ['back'];}
    else{$back = "";}

    Hope it helps.

     

Log in to post a comment.

MongoDB Logo MongoDB