View previous topic :: View next topic |
Author |
Message |
Palbin webmaster
Joined: Nov 28, 2007 Posts: 38
|
Posted: Mon Jun 11, 2012 3:29 pm Post subject: |
|
|
You need to also add your toolbar name too the array in the wysiwyg_textarea() function within mainfile.php. |
|
Back to top |
|
|
neralex webmaster
Joined: Feb 22, 2008 Posts: 20
|
Posted: Sat Jun 16, 2012 12:45 pm Post subject: |
|
|
Hey Palbin,
i believe in your new mainfile with the changes for the ckeditor is an bug.
I can not store overrided SEO tags in the database. I have tested in last days so many things to fix it but now i have tested the mainfile. I have changed back to to original mainfile.php before we have start the ckeditor implementation and now with the old file i can override it.
Edit: I have found it!
In your new mainfile are some things changed. After a check with winmerge i have located near line 65 the ini_get for the register_globals and i believe here is a problem.
new in your file:
Code:if (!@ini_get('register_globals')) {
extract($_GET, EXTR_SKIP);
extract($_POST, EXTR_SKIP);
extract($_COOKIE, EXTR_SKIP);
}
|
old version from the RN25 package:
Code:if (!@ini_get('register_globals')) {
@import_request_variables('GPC', '');
}
|
This old one make it possible to store the overrided SEO tags. Please check it. |
|
Back to top |
|
|
Palbin
|
Posted: Sun Jun 17, 2012 8:18 pm Post subject: |
|
|
|
|
Back to top |
|
|
hicux webmaster
Joined: Apr 28, 2008 Posts: 13
|
Posted: Tue Jul 03, 2012 6:32 am Post subject: |
|
|
I can not edit blocks in administrators.
Actually u can do it but u need to open your ftp on the root.
open admin/modules/blocks.php
Search for
Code: echo '</select> <font>'._FILEINCLUDE.'</font></td></tr>'
.'<tr><td>'._CONTENT.':</td><td>';
wysiwyg_textarea("content", "", "PHPNukeAdmin", "50", "10");
|
Replace with or comment out
Code:/* echo '</select> <font>'._FILEINCLUDE.'</font></td></tr>'
.'<tr><td>'._CONTENT.':</td><td>';
wysiwyg_textarea("content", "", "PHPNukeAdmin", "50", "10");*/
|
I hope it helps to other people.
Last edited by hicux on Tue Jul 10, 2012 6:29 am; edited 1 time in total |
|
Back to top |
|
|
nuken webmaster
Joined: Jan 02, 2009 Posts: 26
|
Posted: Thu Jul 05, 2012 2:57 pm Post subject: |
|
|
You must have done something wrong on the install or have a theme related issue. Your blocks admin should not be opening up in the editor. I would suspect you have a table element missing or in the wrong place in your theme. Try one of the default themes and see if you get the same results. |
|
Back to top |
|
|
hicux
|
Posted: Tue Jul 10, 2012 6:32 am Post subject: |
|
|
yes you were right. I tested with another theme and everything goes well. This is the theme.php. I can not see anything wrong but maybe u can.. let us know.
Note: The theme is validated, that is why I can understand why the theme has the issue.
Last edited by hicux on Sat Jul 28, 2012 8:51 am; edited 1 time in total |
|
Back to top |
|
|
spasticdonkey webmaster
Joined: Oct 26, 2007 Posts: 69
|
Posted: Sun Jul 15, 2012 1:27 pm Post subject: |
|
|
Is anyone else having issues with browsing files in elFinder? Seems like it worked previously, but I honestly can't remember if it was working on the site in question.. Getting "Unable to connect to backend" message when the elFinder browser launches. I am using the nukeWYSIWYG_3_6_3 Update 1 |
|
Back to top |
|
|
Palbin
|
Posted: Mon Jul 16, 2012 5:20 pm Post subject: |
|
|
spasticdonkey, is this a site I can get access too? |
|
Back to top |
|
|
spasticdonkey
|
Posted: Mon Jul 16, 2012 9:39 pm Post subject: |
|
|
Certainly, and thanks! Sent you a PM. |
|
Back to top |
|
|
Palbin
|
Posted: Mon Jul 16, 2012 11:35 pm Post subject: |
|
|
You did not have the latest files, but they were only minor problems and not the main problem. Also FYI I have included the following changes. http://www.ravenphpscripts.com/postx20549-0-0.html
While making sure you had the latest file I noticed a php error_log file in the elfinder directory. It was referencing the file inclusion on line 8 of theme.php. I changed line 8 and 10 to use NUKE_THEMES_DIR instead of INCLUDE_FILE . '/themes'.
It is important to note that that anything that is included when including mainfile.php needs to use one of these consents or have and absolute path instead of relative.
Code:
//Absolute Nuke directory
if (!defined('NUKE_BASE_DIR')) define('NUKE_BASE_DIR', dirname(__FILE__) . '/');
//Absolute Nuke directory + includes
if (!defined('NUKE_BLOCKS_DIR')) define('NUKE_BLOCKS_DIR', NUKE_BASE_DIR . 'blocks/');
if (!defined('NUKE_IMAGES_DIR')) define('NUKE_IMAGES_DIR', NUKE_BASE_DIR . 'images/');
if (!defined('NUKE_INCLUDE_DIR')) define('NUKE_INCLUDE_DIR', NUKE_BASE_DIR . 'includes/');
if (!defined('NUKE_LANGUAGE_DIR')) define('NUKE_LANGUAGE_DIR', NUKE_BASE_DIR . 'language/');
if (!defined('NUKE_MODULES_DIR')) define('NUKE_MODULES_DIR', NUKE_BASE_DIR . 'modules/');
if (!defined('NUKE_THEMES_DIR')) define('NUKE_THEMES_DIR', NUKE_BASE_DIR . 'themes/');
if (!defined('NUKE_ADMIN_DIR')) define('NUKE_ADMIN_DIR', NUKE_BASE_DIR . 'admin/');
if (!defined('NUKE_CLASSES_DIR')) define('NUKE_CLASSES_DIR', NUKE_BASE_DIR . 'classes/');
if (!defined('NUKE_ADMIN_MODULE_DIR')) define('NUKE_ADMIN_MODULE_DIR', NUKE_ADMIN_DIR . 'modules/');
if (!defined('NUKE_FORUMS_DIR')) define('NUKE_FORUMS_DIR', (defined('IN_ADMIN') ? './../' : 'modules/Forums/'));
|
|
|
Back to top |
|
|
spasticdonkey
|
Posted: Tue Jul 17, 2012 12:01 am Post subject: |
|
|
Thanks for catching that and the theme code in question is old, so I'll look at removing it. Not sure how I ended up with old files as I just uploaded the original files then update files yesterday, but who knows....
Although now I'm getting:
[17-Jul-2012 00:52:10] PHP Fatal error: Access to undeclared static property: wysiwyg::$returnOutput in /xxx/xxx/xxx/xxx/mainfile.php on line 1089
when trying to use the editor |
|
Back to top |
|
|
Palbin
|
Posted: Tue Jul 17, 2012 12:06 am Post subject: |
|
|
Sorry did not notice that. Looking at it now. |
|
Back to top |
|
|
Palbin
|
Posted: Tue Jul 17, 2012 12:11 am Post subject: |
|
|
I did not upload all the latest files either
P.S. I have updated the Update files a few times. |
|
Back to top |
|
|
spasticdonkey
|
|
Back to top |
|
|
hicux
|
Posted: Fri Jul 20, 2012 8:59 pm Post subject: |
|
|
Showing the link properly
http://www.phpnuke-guild.org/downloads/nukeWYSIWYG_3_6_3%20Update%201.zip
Palbin
I did updated all the files but I am getting this error as well as spastic had it. Can u please specify what u did.
Quote: | Getting "Unable to connect to backend" message when the elFinder browser launches. |
Last edited by hicux on Thu Jan 17, 2013 9:09 pm; edited 2 times in total |
|
Back to top |
|
|
|