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

Home » FUDforum » FUDforum Installation Issues » Forum Import Issues
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Forum Import Issues [message #15002 is a reply to message #14902] Thu, 27 November 2003 05:00 Go to previous messageGo to previous message
Rory_ is currently offline  Rory_   Canada
Messages: 3
Registered: November 2003
Location: Richmond, BC, Canada
Karma:
Junior Member
This is the function that is references in the error message. I added the extra code as suggested but I am receiving the same error message. Did I add this in differently then you were suggesting perhaps?


function resolve_dest_path($path)
{
$path = str_replace('WWW_ROOT_DISK', $GLOBALS['WWW_ROOT_DISK'], str_replace('DATA_DIR', $GLOBALS['DATA_DIR'], $path));
$dir = dirname($path);
if (!@is_dir($dir)) {
while ($dir && $dir != "/" && !@is_dir($dir)) {
$dirs[] = $dir;
$dir = dirname($dir);
}
$dirs = array_reverse($dirs);
foreach ($dirs as $d) {
if (!is_dir($d)) {
if (!mkdir($d, 0755)) {
exit("Failed to create {$d} directory, check file permissions<br />\n");
}
}
}
}

return $path;
}
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: No such file or directory (errno 2)
Next Topic: Instalation error: Unexpected character
Goto Forum:
  

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

Current Time: Tue Nov 26 23:19:06 GMT 2024

Total time taken to generate the page: 0.04550 seconds