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 -> phpnuke 7.7
Author Message
CodyG
Life Cycles Becoming CPU Cycles



Joined: Jan 02, 2003
Posts: 714
Location: Vancouver Island

PostPosted: Thu Jun 16, 2005 11:39 am Reply with quote

Even after reading the warnings I installed a fresh 7.7 with 3.0 patches, on a brand new website. I really like the idea of a wysiwyg editor for users and although I've installed SPAW on a 7.3 website and could go with 7.6 and that editor, I just had to see what all the fuss was about with 7.7.


The first error was forums admin, corrected by running the upgrade.php file (though I would have thought a fresh install wouldn't require this step.)

Now I have this error.
Quote:
Warning: in_array(): Wrong datatype for second argument in /home3/strata/public_html/includes/javascript.php on line 69


And in admin mode... the error above plus

Quote:
Warning: in_array(): Wrong datatype for second argument in /home3/strata/public_html/includes/javascript.php on line 36


And there *is no editor* when I attempt submit news or add a story.
All I did was remove language files a read me and a todo file in the includes/tiny_mce dir. Both editor and error reporting = on in config.php.

Can someone please help me sort through this editor issue? I wanted to see if the editor had a pic upload option, but can't even get there.

Thank you for your time.

_________________
"We want to see if life is ubiquitous." D.Goldin 
View user's profile Send private message
64bitguy
The Mouse Is Extension Of Arm



Joined: Mar 06, 2004
Posts: 1164

PostPosted: Thu Jun 16, 2005 3:20 pm Reply with quote

First, you would NOT run upgrade.php when installing fresh from PHP-Nuke Virgin but rather you would following the installation procedures defined in the INSTALL. file. (Run the seperate MySQL file in phpMyAdmin, etc...)

Next, after uploading all patched files over the virgin nuke 7.7 files, you would run upgradedb.php.

Finally, should should make sure includes/tiny_mce/tiny_mce.js exists as at this point, your TinyMCE editor is not starting up.

_________________
Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. 
View user's profile Send private message
CodyG







PostPosted: Thu Jun 16, 2005 3:54 pm Reply with quote

I should have been clearer... I installed the patched 7.7 I found in the dl on this site. Running the upgrade.php resolved the Critical Error I was getting when attempting to run Forums Admin.
And yes, includes/tiny_mce/tiny_mce.js does exist.

But still no editor, just the warning "HTML code isn't allowed. Please use the editor functions instead." ... but still no editor.
 
64bitguy







PostPosted: Thu Jun 16, 2005 4:45 pm Reply with quote

Well, as you did not follow the normal installation procedures, I have no way of knowing what the results and affects will be.

As for the forums issue, it was resolved by running patched. By running upgrade, it is possible (and likely) that you corrupted your database.

I would suggest that as this is a new installation, that you start from scratch and follow the proper installation and update to patched techniques already described above.
 
CodyG







PostPosted: Thu Jun 16, 2005 5:18 pm Reply with quote

okies ... I cleared everything out like you said and and reinstalled like you said but I still get the following errors and there is still no editor showing up.

Quote:
Warning: in_array(): Wrong datatype for second argument in /home3/strata/public_html/includes/javascript.php on line 36

Warning: in_array(): Wrong datatype for second argument in /home3/strata/public_html/includes/javascript.php on line 69


Has anyone ever seen this error before?
 
64bitguy







PostPosted: Thu Jun 16, 2005 6:55 pm Reply with quote

That error has not been reported before.

At minimum, I would say to restore any and all files of the installation that you deleted (you mentioned deleting some files in your first post)
 
CodyG







PostPosted: Thu Jun 16, 2005 7:06 pm Reply with quote

Yes, there were some language files, a todo file and a changelog file.
Thanks for listening.
 
CodyG







PostPosted: Thu Jun 16, 2005 7:29 pm Reply with quote

er ... I thought I'd read somewhere that 7.7 patched included forums 2.14. my forum footer says 2.07. Which is right?
 
64bitguy







PostPosted: Thu Jun 16, 2005 7:35 pm Reply with quote

The port is based on 2.0.7.

The version number is in:
a) Your administration screen
b) The version field of your bbconfig table
 
CodyG







PostPosted: Fri Aug 19, 2005 6:13 pm Reply with quote

okies ... *totally* fresh install and I'm getting these errors. Everything seems to be working ok except for the wysiwyg editor. config.php has editor=1...
I can't think of anything else to try to get rid of this. If it wasn't for the editor, I'd go back to 7.6 but my users really really want a simpler way to input and I've found SPAW and HTMLEditor and FKEditor not exactly up to snuff. Any other ideas?

Warning: in_array(): Wrong datatype for second argument in /home/cody/public_html/includes/javascript.php on line 36

Warning: in_array(): Wrong datatype for second argument in /home/cody/public_html/includes/javascript.php on line 69
 
64bitguy







PostPosted: Fri Aug 19, 2005 6:15 pm Reply with quote

Can you post lines 36 and 69 so we can see what it has?
 
CodyG







PostPosted: Fri Aug 19, 2005 6:48 pm Reply with quote

Lines 68 - 70
<!-- /tinyMCE -->";
} elseif (in_array("$name", $nowysig) OR $adveditor == 1) {
echo "<!-- tinyMCE -->

Lines 35 - 37
}
if ((is_admin($admin) AND defined('ADMIN_FILE') AND in_array('$name', $nowysig)) OR (is_admin($admin) AND defined('ADMIN_FILE') AND $adveditor == 1)) {
echo "<!-- tinyMCE -->
 
64bitguy







PostPosted: Fri Aug 19, 2005 7:10 pm Reply with quote

Well, I have no idea what is going on, but I don't see anything in any code that I have that even remotely looks like that in that file.

Also, as 7.7 was an interrum release, most everyone that wanted those features went to 7.8 (those that have decided to keep either version which is much less secure). I would suggest you migrate to 7.8 and Patched 3.1 if you want to get those things going. If not, back down to 7.6
 
CodyG







PostPosted: Sat Aug 20, 2005 4:09 pm Reply with quote

Well, I have no idea about what's going on either because I've never seen anything like it. I installed the nuke three times with the same error everytime. It's true that I left out a few language files the first time... but it's just weird to see the same error over and over.
Apache version 1.3.33 (Unix)
PHP version 4.3.11
MySQL version 4.0.24-standard
Nothing odd about the above setup, eh?
oh well ... I'm looking for supernuke anyways, like the "ruby in a mountain of rocks." Dance-Stick In the meantime, I'll continue slogging through versions/forks until I find something I like enough to stick with it for the next few years.
RavensScripts
 
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 -> phpnuke 7.7

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 ©