31
script_fu
Re: XOOPS 2.0.17.1 Final

Site 2 and 3 reports are little different. I have the eXtGallery-hook-hack-1.0 installed in the class/module.textsanitizer.php

32
script_fu
Re: XOOPS 2.0.17.1 Final

Okay I deleted site 1.
I just downloaded fresh xoops-2.0.17.1rc.zip full.
I just reinstalled from the fresh download.
I have the same error as before "failed open file"

Here is errors from xoops_md5.php after fresh d/l and install.

class/mail/xoopsmultimailer.php content invalid
class/xml/rpc/xmlrpcparser.php content invalid
kernel/privmessage.php content invalid
End of files check.

33
script_fu
Re: XOOPS 2.0.17.1 Final

BTW I didn't mention that these are the errors before install from the xoops_md5.php

class/mail/xoopsmultimailer.php content invalid
class/xml/rpc/xmlrpcparser.php content invalid
kernel/privmessage.php content invalid
End of files check.

Are the same as after the install.

http://mysite.com
http://www.mysite.com

34
Dave_L
Re: XOOPS 2.0.17.1 Final
  • 2007/9/27 10:10

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


The "Strict Standards" notices are a result of using E_STRICT in the error_reporting() call; those can be ignored.

The parse error is a result of applying my debugging patch incorrectly. Or maybe there's a mistake in the patch; I didn't test it.

I'll try to get back to working on this, but I'm busy right now and don't have time.

35
script_fu
Re: XOOPS 2.0.17.1 Final

I need to mention that this code produces a blank white page
with the errors below. Hope that helps.
Quote:

script_fu wrote:
Okay I set up the new code. Here is what I have.

Parse error: syntax error, unexpected '}' in /home/mydomain/public_html/include/cp_functions.php on line 300
All errors (0) queries (4) blocks (0) extra (0) timers (3)
Errors

-----

Here is the code added to the cp_fuction.php

$filename XOOPS_CACHE_PATH.'/adminmenu.php';
error_reporting(E_ALL E_STRICT);
ini_set('display_errors');
$file fopen($filename"w");
if (!
$file) {
   
ob_start();
   echo 
'failed open file';
   
var_dump('filename'$filename'file'$file);
   
$buf ob_get_clean();
   
$timestamp date('Y-m-d H:i:s');
   
error_log("[$timestamp]n$bufnn"3XOOPS_CACHE_PATH '/debug.log');
   return 
false;
}
        return 
false;
    }
    if ( 
fwrite($file$content) == -) {
        echo 
'failed write file';
        return 
false;
    }
    
fclose($file);

    
// write index.html file in cache folder
    // file is delete after clear_cache (smarty)
    
xoops_write_index_fileXOOPS_CACHE_PATH );
    return 
true;
}

function 
xoops_write_index_file$path '') {
    if ( empty(
$path) ) {
        return 
false;
    }
    if (!
xoopsfwrite()) {
        return 
false;
    }

    
$path substr($path, -1) == "/" substr($path0, -1) : $path;
    
$filename $path '/index.html';
error_reporting(E_ALL E_STRICT);
ini_set('display_errors');
$file fopen($filename"w");
if (!
$file) {
   
ob_start();
   echo 
'failed open file';
   
var_dump('filename'$filename'file'$file);
   
$buf ob_get_clean();
   
$timestamp date('Y-m-d H:i:s');
   
error_log("[$timestamp]n$bufnn"3XOOPS_CACHE_PATH '/debug.log');
   return 
false;
}
        return 
false;
    }
    if ( 
fwrite($file"") == -) {
        echo 
'failed write file';
        return 
false;
    }
    
fclose($file);
    return 
true;
}
?>

36
skenow
Re: XOOPS 2.0.17.1 Final
  • 2007/9/28 21:25

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


2.0.17.1 Final was released today at SF - news submitted and waiting approval

37
Dave_L
Re: XOOPS 2.0.17.1 Final
  • 2007/9/28 21:34

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


It's NOT released yet. D.J. uploaded it so that the packaging could be checked. The release isn't planned until at least Oct. 1.

There may be changes before it's released, such as the corrections for the problems described in this topic.

38
script_fu
Re: XOOPS 2.0.17.1 Final

Dave im at your disposal thru weekend. I will be checking this thread. I have time tonight, sat night & sunday night set aside to get this solved.


Thank you for your time!

39
skenow
Re: XOOPS 2.0.17.1 Final
  • 2007/9/29 1:43

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Quote:

script_fu wrote:
BTW I didn't mention that these are the errors before install from the xoops_md5.php

class/mail/xoopsmultimailer.php content invalid
class/xml/rpc/xmlrpcparser.php content invalid
kernel/privmessage.php content invalid
End of files check.


I just downloaded the full tar.gz and zip files from the Phoenix mirror and can verify the above md5 checks. However, I have installed both and cannot replicate the error reported by Billy.

Just the XOOPS packages, no Frameworks or xoopseditors added.

40
script_fu
Re: XOOPS 2.0.17.1 Final

My set up

Apache version 2.2.6 (UNIX)
PHP version 5.2.4
MySQL version 5.0.27-standard-log

"failed open file"

Displays when you do this...

This is your first time to enter the administration section. Press the button below to proceed.

It is at the top left after you click the button. It also goes by real quick on my end. Do not blink!

Login

Who's Online

456 user(s) are online (342 user(s) are browsing Support Forums)


Members: 0


Guests: 456


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits