Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#901 2011-07-05 15:49:44
Re: hak_tinymce WYSIWYG article editor
Patrick,
Your suggestion to use the excerpt area to manage a sidebar is very clever. That just might work. Thanks for plugging away.
Living the Location-Independent Life: www.NuNomad.com
Offline
#902 2011-07-13 11:56:32
Re: hak_tinymce WYSIWYG article editor
Has anyone got an idea, how to strip formatting from word/text editors or websites, when copypasting text from there into the hak-tinymce article body edit window?
Idealistically i would only need <p></p> and <a href=”“></a> tags to survive.
I couldn’t really find info on the tinymce forums about this, maybe someone gives me a quick hint?
Thank you very much in advance.
Last edited by jayrope (2011-07-13 11:57:41)
A hole turned upside down is a dome, when there’s also gravity.
Offline
#903 2011-07-13 11:57:00
- euan
- New Member
- Registered: 2011-05-02
- Posts: 9
Re: hak_tinymce WYSIWYG article editor
Hello
I’m using Softaculous to install TXP 4.4.1. All is fine until I activate certain plugins (arc_twitter, hak_tinymce, and others that contain extensions). Then I get an error when I navigate to another admin menu item (away from ‘plugins’) stating (and it’s always line 653 of txplib_misc.php):
A problem occurred while loading the plugin: hak_tinymce -> Warning: Please contact support about failure on line 653
The above errors were caused by the plugin:hak_tinymce
(example of the hak_tingmce error).
I’ve removed the TXP installation completely and re-installed it. I’ve removed the plugins and re-installed them. I just don’t seem to be able to get anything other than the above error. With plugins that include an extensions submenu they aren’t appearing and with hak_timymce I have no sign of the text editor in the write screen.
I have successfully upgraded a website that uses the same plugins from 4.4.0 to 4.4.1 and no such errors occur. I have also tried it on another text domain but have the same results as above.
Pulling my hair out as I’m not great on the technical side of things and really struggling to know what to do.
Any help would be greatly appreciated. Just let me know what further information you might need if you have any ideas.
Thanks
Euan
Offline
#904 2011-07-13 11:59:59
Re: hak_tinymce WYSIWYG article editor
euan wrote:
I’m using Softaculous to install TXP 4.4.1.
Did you try installing 4.4.1 directly? I am running hak-tinymce on 4.4.1 without ANY unforeseen problems
Last edited by jayrope (2011-07-13 12:00:28)
A hole turned upside down is a dome, when there’s also gravity.
Offline
#905 2011-07-13 12:06:09
- euan
- New Member
- Registered: 2011-05-02
- Posts: 9
Re: hak_tinymce WYSIWYG article editor
I’ll have to try doing a direct install. Very strange.
Offline
#906 2011-07-13 12:15:56
Re: hak_tinymce WYSIWYG article editor
euan wrote:
I’ll have to try doing a direct install. Very strange.
It’s easy, just make sure you keep the work you have done already.
Make a database backup from php MyAdmin first.
Keep config.php file, images and files folders, and any other folders, that are not part of a standard txp install. Plugins like hak_tinymce install their own stuff along with txp.
Actually i can’t see, why you didn’t go for a standard install in the first place… :)
Good luck.
Last edited by jayrope (2011-07-13 12:38:19)
A hole turned upside down is a dome, when there’s also gravity.
Offline
#907 2011-07-13 12:37:09
- euan
- New Member
- Registered: 2011-05-02
- Posts: 9
Re: hak_tinymce WYSIWYG article editor
I’ve got no fear doing a direct install. It’s just quicker for my setup doing it via Softaculous.
Anyway, I have done a direct install and installed the plugin again and getting exactly the same result as before.
Puzzled!
Offline
#908 2011-07-13 12:39:16
Re: hak_tinymce WYSIWYG article editor
Did you check errors in administration/diagnostics? If there’s any, please post here.
A hole turned upside down is a dome, when there’s also gravity.
Offline
#909 2011-07-13 12:44:50
- euan
- New Member
- Registered: 2011-05-02
- Posts: 9
Re: hak_tinymce WYSIWYG article editor
There are no errors in the diagnostics (that are highlighted anyway!). It’s a completely new install with no content or anything:
Textpattern version: 4.4.1 (r3575)
Last Update: 2011-07-13 12:20:52/2011-07-13 12:13:32
Document root: /home/kerfpres/public_html/test
$path_to_site: /home/kerfpres/public_html/test
Textpattern path: /home/kerfpres/public_html/test/textpattern
Permanent link mode: section_id_title
Temporary directory path: /home/kerfpres/public_html/test/textpattern/tmp
Site URL: test.kerfpress.com
PHP version: 5.2.9
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: America/New_York
Server Local Time: 2011-07-13 08:42:41
DST enabled?: 0
Automatically adjust DST setting?: 0
Time Zone: America/Caracas (-14400)
MySQL: 5.0.91-community-cll
Locale: en_GB.UTF-8
Server: Apache
PHP Server API: cgi
RFC 2616 headers: 0
Server OS: Linux 2.6.18-338.12.1.el5.lve0.8.34
Active plugins: hak_tinymce-1.0
Admin-side theme: classic 4.4.1
.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default
<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
————————————
Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: latin1
character_set_filesystem: binary
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
17 Tables: OK
10 Custom Fields: custom_1, custom_2, custom_3, custom_4, custom_5, custom_6, custom_7, custom_8, custom_9, custom_10 (10)
PHP extensions: zip/1.8.11, libxml, xsl/0.1, xmlwriter/0.1, xmlrpc/0.51, dom/20031129, xmlreader/0.1, xml, wddx, tokenizer/0.1, tidy/2.0, session, pcre, SimpleXML/0.1, sockets, soap, SPL/0.2, standard/5.2.9, Reflection/0.1, pspell, posix, pgsql, mysqli/0.1, mysql/1.0, mhash, mcrypt, mbstring, json/1.2.1, imap, iconv, hash/1.0, gmp, gettext, gd, ftp, filter/0.11.0, exif/1.4 $Id: exif.c,v 1.173.2.5.2.27 2008/12/31 11:17:37 sebastian Exp $, dbase, date/5.2.9, curl, ctype, calendar, bz2, bcmath, zlib/1.1, openssl, cgi, PDO/1.0.4dev, pdo_sqlite/1.0.1, SQLite/2.0-dev, pdo_mysql/1.0.2, pdo_pgsql/1.0.2, htscanner/1.0.0, strainer/0.1, ionCube Loader, Zend Optimizer
Offline
#910 2011-07-13 12:54:49
Re: hak_tinymce WYSIWYG article editor
Hmm, the only thing i can see right away is that i use hak_tinymce 0.99 instead of 1.0.
The changelog doesn’t indicate, that this would matter, though.
Is your clean install an actual clean install, or did you use a database backup to reimport content afterwards?
If the latter, then it might make sense to go really clean first, and use a fresh database to only install a fresh 4.4.1 and the hak_tinymce to see if that works.
A hole turned upside down is a dome, when there’s also gravity.
Offline
#911 2011-07-13 12:58:30
Re: hak_tinymce WYSIWYG article editor
By the way your .htaccess file most probably doesn’t use a correct path for mod_rewrite
RewriteEngine On #RewriteBase /relative/web/path/
Instead should be something like /home/kerfpres/public_html/test/
EDIT: Try taking out the #
(so uncomment), then write RewriteBase /
Last edited by jayrope (2011-07-13 13:02:51)
A hole turned upside down is a dome, when there’s also gravity.
Offline
#912 2011-07-13 13:02:59
- euan
- New Member
- Registered: 2011-05-02
- Posts: 9
Re: hak_tinymce WYSIWYG article editor
I’ll try the previous version. It’s a completely clean install – new database, new user, removed all the previous attempts completely (as I’m just starting the project).
Thanks for your help anyway! I wonder if it has anything to do with my hosting company. I had a problem a while back where they upgraded something and it gave me frontside errors similar to these ones for some of the plugins. They sorted it out with a php.ini file added to the root directory. But then that wouldn’t explain how an existing website updated to TXP 4.4.1 has had no problems at all with the offending plugins.
The problem is it’s a number of plugins (including hak_tinymce).
Probably something really obvious and easy to sort out!
Offline