FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Need major help
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon8.gif  Need major help [message #4786] Wed, 07 August 2002 13:00 Go to next message
wast8 is currently offline  wast8   Malaysia
Messages: 11
Registered: August 2002
Karma: 0
Junior Member
I cannot seem to progress pass step 1. I probably did something wrong somewhere and now I can't proceed. Initially, the was no error and I got to step 2 but with a long list of warnings.
now i keep getting this error
ERROR: failed creating /home/httpd/vhosts/pick42day.com/httpdocs/FUDforum/forum/sql directory
is there a way for me to uninstall the directories? I cannot delete the directory httpdocs/FUDforum/forum now.
how shall I proceed to install from here?
Thanks in advance!
Re: Need major help [message #4787 is a reply to message #4786] Wed, 07 August 2002 13:06 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Is your PHP configured with safe_mode or open_basedir restriction?

FUDforum Core Developer
Re: Need major help [message #4788 is a reply to message #4787] Wed, 07 August 2002 13:06 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You can remove the directories created by the forum by using simple php script:
<?php
rmdir("dir_name");
?>


FUDforum Core Developer
Re: Need major help [message #4789 is a reply to message #4787] Wed, 07 August 2002 13:07 Go to previous messageGo to next message
wast8 is currently offline  wast8   Malaysia
Messages: 11
Registered: August 2002
Karma: 0
Junior Member
Warning: SAFE MODE Restriction in effect. The script whose uid is 48 is not allowed to access /home/httpd/vhosts/pick42day.com/httpdocs/FUDforum/forum owned by uid 10281 in /home/httpd/vhosts/pick42day.com/httpdocs/install_safe.php on line 206
I got this warning so I guess it is safe mode.
Sorry, I just started php so I'm really bad at it.
Re: Need major help [message #4790 is a reply to message #4789] Wed, 07 August 2002 13:16 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Is this your own server or are you virtual hosting?
Did you create the '/home/httpd/vhosts/pick42day.com/httpdocs/FUDforum/forum' directory?

Or was it created by the install process, also do you know if your open _basedir is set, if you do not you can find out using the php script below.
<?php
echo ini_get("open_basedir")."<br>\n";
?>


FUDforum Core Developer
icon10.gif  Re: Need major help [message #4791 is a reply to message #4790] Wed, 07 August 2002 13:24 Go to previous messageGo to next message
wast8 is currently offline  wast8   Malaysia
Messages: 11
Registered: August 2002
Karma: 0
Junior Member
Virtual hosting. The directory was created by itself during the installation. I just created FUDforum directory because the instructions said so to create it myself.
Re: Need major help [message #4792 is a reply to message #4791] Wed, 07 August 2002 13:36 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Yup, so far you've done everything correctly, please let me know if your open_basedir is set and if so to what value, I'll be able to assist you better once I know this information.

FUDforum Core Developer
Re: Need major help [message #4793 is a reply to message #4792] Wed, 07 August 2002 13:47 Go to previous messageGo to next message
wast8 is currently offline  wast8   Malaysia
Messages: 11
Registered: August 2002
Karma: 0
Junior Member
hi, sorry i took so long.
this is the result
home/httpd/vhosts/pick42day.com/httpdocs

by the way, i cannot remove the directory because it is not empty but I have no idea what is in the directory as I cannot even view it from FTP
Re: Need major help [message #4794 is a reply to message #4793] Wed, 07 August 2002 14:03 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
okie, I think I see the problem, the open_basedir was specified as a relative path, which is what confused the installer.
Anyhow, here is what you need to do,
make a small php script and put the code below into it, then run it with your browser.
<?php
rmdir("/home/httpd/vhosts/pick42day.com/httpdocs/FUDforum/forum") ;
?>


This will remove the forum directory.
Then download the attached install script, decompress it and run it, I believe it should fix the problem.


FUDforum Core Developer
Re: Need major help [message #4795 is a reply to message #4794] Wed, 07 August 2002 14:07 Go to previous messageGo to next message
wast8 is currently offline  wast8   Malaysia
Messages: 11
Registered: August 2002
Karma: 0
Junior Member
I tried running the script
rmdir("/home/httpd/vhosts/pick42day.com/httpdocs/FUDforum/forum") ;

but i got this

Warning: RmDir failed (Directory not empty) in /home/httpd/vhosts/pick42day.com/httpdocs/fud.php on line 3
/home/httpd/vhosts/pick42day.com/httpdocs
Re: Need major help [message #4796 is a reply to message #4795] Wed, 07 August 2002 14:09 Go to previous messageGo to next message
wast8 is currently offline  wast8   Malaysia
Messages: 11
Registered: August 2002
Karma: 0
Junior Member
is the attachment you posted different from the one i downloaded?
Re: Need major help [message #4797 is a reply to message #4796] Wed, 07 August 2002 14:16 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The attached install script IS different from the one you've downloaded initially from the download page.
Actually if you run it and tell it to install forum inside the forum/ directory it should overwrite any existing files without much difficulty.


FUDforum Core Developer
Re: Need major help [message #4798 is a reply to message #4797] Wed, 07 August 2002 14:21 Go to previous messageGo to next message
wast8 is currently offline  wast8   Malaysia
Messages: 11
Registered: August 2002
Karma: 0
Junior Member
alright, will try the new install.php out.
Thank you very much for your help.
Re: Need major help [message #4799 is a reply to message #4798] Wed, 07 August 2002 14:42 Go to previous messageGo to next message
wast8 is currently offline  wast8   Malaysia
Messages: 11
Registered: August 2002
Karma: 0
Junior Member
i think i'm really bad at this or just plain unlucky.

Warning: SAFE MODE Restriction in effect. The script whose uid is 10281 is not allowed to access /home/httpd/vhosts/pick42day.com/httpdocs/forum/cache owned by uid 48 in /home/httpd/vhosts/pick42day.com/httpdocs/install.php on line 217

Warning: MkDir failed (File exists) in /home/httpd/vhosts/pick42day.com/httpdocs/install.php on line 217
ERROR: failed creating /home/httpd/vhosts/pick42day.com/httpdocs/forum/cache directory

how come I cannot remove the directories which were created during the last installation?
Re: Need major help [message #4800 is a reply to message #4799] Wed, 07 August 2002 15:02 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
because they are owned by the webserver, you can remove them using a php script:
<?php

function rm_dir($dir)
{
 $d = opendir($dir);
 readdir($d); readdir($d);
 while ( $file = readdir($d) ) {
  if( is_dir($file) )
   rm_dir(realpath($dir));
  else
   unlink($dir.'/'.$file); 
 }
 closedir($d);
 rmdir($dir);
}

?>


FUDforum Core Developer
Re: Need major help [message #4801 is a reply to message #4800] Wed, 07 August 2002 15:14 Go to previous messageGo to next message
wast8 is currently offline  wast8   Malaysia
Messages: 11
Registered: August 2002
Karma: 0
Junior Member
I got the web administrator to remove them.
He mention that the folder's owner was 'apache' which is different from my owner name so therefore I could not delete.
How should I proceed to install for now?
create 2 directories first for Server Root & forum data root and then proceed to run install.php?
Re: Need major help [message #4802 is a reply to message #4801] Wed, 07 August 2002 15:22 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Yes, create the 2 directories manually, and try to install the forum using the script I've sent you. MAKE SURE that both Server Root & forum data root directories are inside 'home/httpd/vhosts/pick42day.com/httpdocs'
otherwise you will encounter problems due to safe_mode restrictions.


FUDforum Core Developer
Re: Need major help [message #4803 is a reply to message #4802] Wed, 07 August 2002 15:32 Go to previous messageGo to next message
wast8 is currently offline  wast8   Malaysia
Messages: 11
Registered: August 2002
Karma: 0
Junior Member
I still get this error.
Warning: SAFE MODE Restriction in effect. The script whose uid is 10281 is not allowed to access /home/httpd/vhosts/pick42day.com/httpdocs/forum2/errors/.list owned by uid 48 in /home/httpd/vhosts/pick42day.com/httpdocs/install.php on line 217

Warning: MkDir failed (File exists) in /home/httpd/vhosts/pick42day.com/httpdocs/install.php on line 217
ERROR: failed creating /home/httpd/vhosts/pick42day.com/httpdocs/forum2/errors/.list directory

I have chmod 777 all my directories including my root but error still occurs.
Re: Need major help [message #4804 is a reply to message #4803] Wed, 07 August 2002 15:40 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Hmmm, most unusual.

Please put the attached script into the directory where you want to install the forum and PM or Email me the URL to it.
  • Attachment: debug.php
    (Size: 5.80KB, Downloaded 488 times)


FUDforum Core Developer
Re: Need major help [message #4805 is a reply to message #4804] Wed, 07 August 2002 15:47 Go to previous message
wast8 is currently offline  wast8   Malaysia
Messages: 11
Registered: August 2002
Karma: 0
Junior Member
Hi, i'm still unable to remove the directories using your function.

Warning: SAFE MODE Restriction in effect. The script whose uid is 10281 is not allowed to access /home/httpd/vhosts/pick42day.com/httpdocs/forum/cache/file_filter_regexp owned by uid 48 in /home/httpd/vhosts/pick42day.com/httpdocs/fud.php on line 19

Warning: RmDir failed (Directory not empty) in /home/httpd/vhosts/pick42day.com/httpdocs/fud.php on line 22

[Updated on: Thu, 08 August 2002 15:44]

Report message to a moderator

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Error on post after update.to 2.2.3
Next Topic: Registration isn't working. Can't add a post either.
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 05:09:58 GMT 2024

Total time taken to generate the page: 0.02072 seconds