Hi all

 

When I try to install bg_htmlarea, I get the following warning.

 


Warning: fopen(/home/deafhub/public_html/typo3conf/ext/bg_htmlarea/)
[function.fopen <http://www.deafhub.com/typo3/mod/tools/em/function.fopen>
]: failed to open stream: Is a directory in
/home/deafhub/public_html/t3lib/class.t3lib_div.php on line 2438




Extension Manager


Extension import results


Error: File "/home/deafhub/public_html/typo3conf/ext/bg_htmlarea/" could not
be created!!!

 

 

class.t3lib_div.php has been giving me problems since I had fun and games
installing timtab. Line 2438 is

if ($fd = fopen($file,'wb'))   {

 

and appears in the following code

 

/**

           * Writes $content to the file $file

           * Usage: 30

           *

           * @param    string            Filepath to write to

           * @param    string            Content to write

           * @return     boolean                   True if the file was
successfully opened and written to.

           */

          function writeFile($file,$content)     {

                   if ([EMAIL PROTECTED]($file))    $changePermissions = true;

 

                   if ($fd = fopen($file,'wb'))   {

                             $res = fwrite($fd,$content);

                             fclose($fd);

 

                             if ($res===false)     return false;

 

                             if ($changePermissions)       {        //
Change the permissions only if the file has just been created

                                      t3lib_div::fixPermissions($file);

                             }

 

                             return true;

                   }

 

                   return false;

          }

 

Any clues? I am php illiterate.

 

Regards

 


Cate Deans Smith


 

_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to