Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - All Issues
Author Message
marfa
New Member
New Member



Joined: May 04, 2003
Posts: 11

PostPosted: Tue Jul 31, 2007 10:32 am Reply with quote

I have just finished a clean install of RN v2.10.01

In the news module, I get the following error message:

Warning: Missing argument 2 for FCKeditor::__construct(), called in httpdocs/mainfile.php on line 1009 and defined in httpdocs/includes/FCKeditor/fckeditor.php on line 33

Any idea ?
 
View user's profile Send private message
fkelly
Former Moderator in Good Standing



Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Tue Jul 31, 2007 11:13 am Reply with quote

First guess would be that your FTP process did not complete successfully. You might want to reupload mainfile and the includes directory to start with. Were you starting fresh (not replacing files but writing to empty directories) or was this an upgrade? It almost sounds like something didn't get overwritten.
 
View user's profile Send private message Visit poster's website
marfa







PostPosted: Tue Jul 31, 2007 11:23 am Reply with quote

This was a clean installation on a brand new server. No files existed a that time.

I have just reupload everything, but problem remains.
 
fkelly







PostPosted: Tue Jul 31, 2007 1:29 pm Reply with quote

I am not matching the lines that you are showing which is why I am questioning the version number or what it is that you downloaded. What exact version did you download. Since I have a zillion versions on my computer I just went into download and did a full download of the 2.10.01 (I used the 7z version but that should not matter) and looked at the code. In mainfile we have:

Code:
   global $advanced_editor;

    // Don't waste bandwidth by loading WYSIWYG editor for crawlers
    if ($advanced_editor == 0 or !isset($_COOKIE))
    {
        echo '<textarea name="'.$name.'" cols="'.$cols.'" rows="'.$rows.'">'.$value.'</textarea>';
    } else {
        @include_once(INCLUDE_PATH.'includes/FCKeditor/fckeditor.php');
        $rows = $rows + 2;  // Add extra space for toolbars


But line 1009 is the opening brace after the if $advanced_editor statement.

Likewise in the fckeditor.php you referenced we have:

Code:
    var $Config ;


    // PHP 5 Constructor (by Marcus Bointon <coolbru@users.sourceforge.net>)
    function __construct( $instanceName )
    {
        $this->InstanceName = $instanceName ;


But line number 33 is the blank line after the var $Config.

Could you check your files as well as verify what you downloaded. Thanks. Maybe post those sections of your files like I did and we can figure out what's going on.
 
marfa







PostPosted: Wed Aug 01, 2007 12:19 pm Reply with quote

fkelly, you were absolutely right. The problem was due to a corrupt file.

I reuploaded the FCKeditor folder many times, but the problem remained.

Then, I decided to download RN v2.10.01 from RN´s site again, and reupload the folder to my site, and the problem disappeared.

Thanks so much fkelly
 
fkelly







PostPosted: Wed Aug 01, 2007 2:15 pm Reply with quote

You are welcome Marfa ... and thank you for getting back to us that the problem is resolved.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - All Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©