Author |
Message |
CodyG
Life Cycles Becoming CPU Cycles
![](modules/Forums/images/avatars/186c8977515afcc3ed82a.jpg)
Joined: Jan 02, 2003
Posts: 714
Location: Vancouver Island
|
Posted:
Thu Jun 16, 2005 11:39 am |
|
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 |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
The Mouse Is Extension Of Arm
![](modules/Forums/images/avatars/183ecd6a404a3683445de.gif)
Joined: Mar 06, 2004
Posts: 1164
|
Posted:
Thu Jun 16, 2005 3:20 pm |
|
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. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CodyG
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jun 16, 2005 3:54 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jun 16, 2005 4:45 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CodyG
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jun 16, 2005 5:18 pm |
|
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? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jun 16, 2005 6:55 pm |
|
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) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CodyG
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jun 16, 2005 7:06 pm |
|
Yes, there were some language files, a todo file and a changelog file.
Thanks for listening. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CodyG
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jun 16, 2005 7:29 pm |
|
er ... I thought I'd read somewhere that 7.7 patched included forums 2.14. my forum footer says 2.07. Which is right? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jun 16, 2005 7:35 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CodyG
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Aug 19, 2005 6:13 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Aug 19, 2005 6:15 pm |
|
Can you post lines 36 and 69 so we can see what it has? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CodyG
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Aug 19, 2005 6:48 pm |
|
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 --> |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Aug 19, 2005 7:10 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
CodyG
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Aug 20, 2005 4:09 pm |
|
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." 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](modules/Forums/images/smiles/ravensphpscripts.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|