Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#349 2007-08-23 15:45:25
Re: MLP - The Multi-Lingual Publishing Pack
Right, found the problem myself, I left the old plugin installed and active <doooohhhhhh> so problem solved, now off to translate a lot
Sorry
Hi,
I’m having a problem with this plugin, originally it was working but when I waned multi tanguage pages, it only showed me blanks. So I set active to N again. Now when I want to work on it and turn it active, I get this error:
A problem occured while loading the plugin: gbp_admin_library -> Notice: Constant gbp_id already defined on line 4
Fatal error: Class ‘GBPAdminView’ not found in /home/jpsnetuk/public_html/textpattern/lib/txplib_misc.php(512) : eval()’d code on line 12
Hope you can shed some light on my problem as I;‘d love to have a mulit language txp site.
as I saw in earlier posts, diagnostics listings can give you a clue, here it is:
Textpattern version: 4.0.4 (r1956)
Last Update: 2006-11-28 18:21:32/2006-11-28 18:21:18
Document root: /home/jpsnetuk/public_html
$path_to_site: /home/jpsnetuk/public_html
Textpattern path: /home/jpsnetuk/public_html/textpattern
Permanent link mode: messy
Temp folder: /tmp
Site URL: www.jpsnet.co.uk
PHP version: 5.1.2
Server Local Time: 2007-08-23 16:39:59
MySQL: 5.0.27-standard
Locale: en_GB.UTF-8
Server: Apache/1.3.37 (Unix) PHP/5.1.2 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a
Apache version: Apache/1.3.37 (Unix) PHP/5.1.2 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a
PHP Server API: apache
rfc2616_headers:
Server OS: Linux 2.6.9-023stab032.1-entnosplit
active_plugins: zem_contact-0.6, dru_random_image-0.1m, mem_randimg-0.3m, gbp_admin_library-0.4.581, rss_auto_excerpt-0.4, hpw_admincss-0.1, mic_tinymce-0.5, ied_hide_in_admin-0.1.6, poe_bbclone-0.4m, zem_contact_lang-mlp-4.0.3-MLP
Pre-flight check:
————————————
Some Textpattern files have been modified: /lib/txplib_head.php,
/lib/txplib_db.php
————————————
.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php </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/
18 Tables: OK
PHP extensions: xmlwriter/0.1, libxml, dom/20031129, xmlreader/0.1, xml, tokenizer/0.1, standard/5.1.2, SimpleXML, SPL, session, sockets, PDO, SQLite, Reflection, posix, pdo_sqlite/1.0.1, mysqli/0.1, mysql/1.0, iconv, hash/1.0, gd, ftp, date/5.1.2, ctype, calendar, bcmath, zlib/1.1, pcre, apache
Apache modules: http_core, mod_env, mod_log_config, mod_mime, mod_negotiation, mod_status, mod_include, mod_autoindex, mod_dir, mod_cgi, mod_asis, mod_imap, mod_actions, mod_userdir, mod_alias, mod_access, mod_auth, mod_so, mod_setenvif, mod_ssl, mod_frontpage, mod_rewrite, mod_expires, mod_bwlimited, mod_log_bytes, mod_auth_passthrough, mod_php5
/include/txp_category.php: r1879 (aee777474b2f67ca07fc25756ba25c15)
/include/txp_plugin.php: r1917 (74184c0d8ed8608f840707a255178617)
/include/txp_auth.php: r1879 (b1dd4072b7daf4e997c6ff65ce3d1b2d)
/include/txp_form.php: r1913 (16ec600b41438b4cca10d2c8a19b2db8)
/include/txp_section.php: r1891 (2959593586ba3e97bc602f369c32e738)
/include/txp_tag.php: r1915 (3b4a7f73d92f9bbbe09985c5aa830d29)
/include/txp_list.php: r1892 (41f4d32fd070234b78f94adefebd5234)
/include/txp_page.php: r1913 (34331a5468bbb18dd9f6a282f3aa11e8)
/include/txp_discuss.php: r1909 (9b9ee934a30f52cd7a4d8cb45c8380ab)
/include/txp_prefs.php: r1946 (05615b6275d8927a2a0d51918d70a896)
/include/txp_log.php: r1919 (ed54d02e865319f2506c642a6bde768b)
/include/txp_preview.php: r1238 (5a4ae3ff0d68f4cb573d6d62a00ce9e8)
/include/txp_image.php: r1955 (20be975e67fa7c4aa9a1a3e51bfaf379)
/include/txp_article.php: r1889 (7749f699c03d0c57e04fafe17dbfa94c)
/include/txp_css.php: r1897 (f5cf1c20badb96a063c7c180e9020359)
/include/txp_admin.php: r1879 (d36dac010d21df7bcf9cf5e242b34d58)
/include/txp_link.php: r1879 (0652287df8bb32c66cfa1b939402404a)
/include/txp_diag.php: r1902 (96697ade63048e517177f4129d47de76)
/include/txp_file.php: r1895 (6ed67b094522e51b028dc88baa07444c)
/include/txp_import.php: r1238 (634e75d1b61958875ff275e3130f23ad)
/lib/admin_config.php: r1747 (1563fcbaffe25b3272b0d85ff9d5571d)
/lib/txplib_misc.php: r1956 (182c50b86195f1abe9dbe15728df3cae)
/lib/taglib.php: r1535 (04806ef864d5b0d2974e0e5f6397a2d7)
/lib/txplib_head.php: r1887 (7d053815ba5cb9cbe83a5de917efb271)
/lib/classTextile.php: r1943 (2c559991e34738eef1990dc079bd91c4)
/lib/txplib_html.php: r1937 (c206ca9cb9a54a7a95f3355b77fd0fa2)
/lib/txplib_db.php: r1879 (125d6835470af76be4b0b369533e25cf)
/lib/IXRClass.php: r765 (cbe59b59246dce060a4b4a52b4d448d8)
/lib/txplib_forms.php: r1887 (0049a228dc8eb346f8603478a7c1b2e2)
/lib/class.thumb.php: r1955 (12961180eee3add5096e69e0a154284e)
/lib/constants.php: unknown (0e40251c717c52b2b7fe992b62a3e97a)
/lib/txplib_update.php: r1239 (757f8189fcc53a795d7c807f17b2e788)
/lib/txplib_wrapper.php: unknown (584448787b4a3488200722672c0eee0d)
/publish/taghandlers.php: r1949 (3fa1b9ded18e6074b2495a3f4e3c33b5)
/publish/atom.php: r1864 (50602e2f1c443819a0a60f14f39d3093)
/publish/log.php: r1637 (a4a772567079f18101a1752446f3f6d4)
/publish/comment.php: r1951 (a3f803d744fea80808eb27a3f6b28674)
/publish/search.php: r1748 (b0182abc287055fe0932c263b2a5266d)
/publish/rss.php: r1864 (ae43eaa9ebe6b00e63810ae60ca7c6b6)
/publish.php: r1945 (abff727405efc6c4ec8b1cb403290063)
/index.php: r1948 (adf86f44861797f4969373c708ef48fb)
/css.php: r944 (763fa7658fc19ad23a5b2126fcdf366c)
Last edited by Exiladler (2007-08-23 16:06:34)
Offline
#350 2007-08-26 19:56:11
- NeZetiC
- New Member
- Registered: 2007-08-26
- Posts: 1
Re: MLP - The Multi-Lingual Publishing Pack
I use MLP on a TXP 4.0.5 website since a few days, and I had a big problem with it.
Downloading files via file_download links give me damaged files, because one character was add into it at the beginning.
Example : File uploaded : test.txt | File downloaded : test-1.txt
hexdump -C test.txt
00000000 74 6f 74 6f 0a 0a 74 61 74 61 0a 70 6f 75 65 74 |toto..tata.pouet|
00000010 0a 0a |..|
00000012
hexdump -C test-1.txt
00000000 0a 74 6f 74 6f 0a 0a 74 61 74 61 0a 70 6f 75 65 |.toto..tata.poue|
00000010 74 0a 0a |t..|
00000013
I search for a long time today, and I finally founds a hack to allow my website working correctly.
Into l10n plugin code, I modified function _l10n_pretext() like this :
function _l10n_pretext()
{
global $l10n_language , $textarray , $prefs;
while( @ob_end_clean() ); // <<<—- Ugly hack
$first_chunk = _l10n_process_url();
It’s funny, because just a few lines under this in sources, you can read this :
# There seems to be some whitespace getting into the output buffer.
# XHTML can cope but it causes a parse error in the feed xml
#
# Simple solution is to make sure the output buffer is empty before
# continuing the processing critical requests...
#
while( @ob_end_clean() );
Why making sure that output buffer is clean only when rendering feed ?
When using file_download, it’s a big problem too.
I hope this can help to improve MLP, which is an amazing plugin.
Offline
#351 2007-08-28 10:08:47
Re: MLP - The Multi-Lingual Publishing Pack
Howdy,
I thought everything was running smoothly until I started to run into this little warning message:
Warning: Column count doesn’t match value count at row 1 REPLACE INTO l10n_txp_fr_fr SELECT * FROM textpattern WHERE textpattern.ID=‘12’ LIMIT 1 in F:\xampp\htdocs\LANG2\textpattern\lib\txplib_db.php on line 117
which appears everytime I try to post a new article or edit a new article. It also means that none of my new articles or changes to existing ones appear on the website. Really odd. But new articles and or changes are still being saved.
My rather limited knowledge of MySQL stops me dead in the water here. I hope someone can help
/Christian
Last edited by cnolle (2007-08-28 10:12:08)
Offline
#352 2007-08-28 10:29:12
Re: MLP - The Multi-Lingual Publishing Pack
Looks like the ‘l10n_txp_fr_fr’ and ‘textpattern’ tables do not have the same columns (you can check this with phpmyadmin by looking at the table structure.
Offline
#353 2007-08-28 10:44:49
Re: MLP - The Multi-Lingual Publishing Pack
Ahh thank you very much. I had installed the stm_article_order plugin which had added a position table to my textpattern structure. its gone now and everything is working smoothly. Yay.
/Christian
Offline
#354 2007-08-31 13:19:36
Re: MLP - The Multi-Lingual Publishing Pack
Hi,
I’m using the MLP for my new portfolio but the redirection at the beginning seems to be somewhat obfuscating google. I found no other way to get this website listed on google other than switching off MLP for a few hours, submitting again the url to google, and wait until it passed by to check the root url.
How’s the redirection in MLP handled/calculated ?
Offline
#355 2007-09-06 11:59:51
- jmk
- Member
- Registered: 2006-09-04
- Posts: 49
Re: MLP - The Multi-Lingual Publishing Pack
hi all,
even though we found out earlier in this thread how to bypass the pre-install checks. now that i have “successfully” installed the ml-pack, i don’t see the “write” tab anymore … — not good :) but it somehow is the only tab i don’t see … and once i uninstall mlp i can see it again.
why? i have no idea …
but the good thing is, i can duplicate the “first post” and when i look at my site and change the language it works. so there must be something else wrong … i have txp 4.0.5 installed, but if somebody could direct me to the stable 4.0.4 i can try that, too.
regards,
jmk
ps: the original problem was, that my webhosters installation of mysql doesn’t answer to the “show grants” sql request correctly. it neither shows that i have all privs (which my hoster ensures me i have) nor does it show that i have only some. so ruud showed me how to short circuit this check in the l10n_admin_classes.php.
Offline
#356 2007-09-07 02:43:57
- Sandy
- New Member
- Registered: 2007-05-10
- Posts: 5
Re: MLP - The Multi-Lingual Publishing Pack
Hi everybody!
Can’t solve a problem. When activating MLP plug-in and trying to open admin page or clicking on the Content tab nothing happens, just opens blank page, the other admin pages open without any problem.
PHP version: 5.2.3
Register globals: 1
MySQL: 5.0.27-log
Server: Apache
PHP Server API: apache
ОS : Free BSD 6.2-RELEASE-p2
Thanks in advance,
Sandy
Offline
#357 2007-09-07 06:50:22
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
— Steve
Offline
#358 2007-09-07 07:09:13
- jmk
- Member
- Registered: 2006-09-04
- Posts: 49
Re: MLP - The Multi-Lingual Publishing Pack
yup, that fixed it for me! yay :) it finally looks like i can start working with it …
thank you
Offline
#359 2007-09-07 07:27:50
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: MLP - The Multi-Lingual Publishing Pack
jmk
glad to hear it.
BTW, thanks for your detailed reports regarding the MySQL grants issue!
— Steve
Offline
#360 2007-09-07 08:10:11
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: MLP - The Multi-Lingual Publishing Pack
Hi Steve, you back on the case with this one or just popping in?
Offline