Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2007-05-16 16:34:55

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: wet_quicklink: Quick internal link builder

Hi

I’m not sure who to ask for help in fixing my problem, so to avoid double posting, I’ll start here :) I scanned previous posts, the help page, and the plug-in help but didn’t see an answer. My apologies if I overlooked something.

I installed wet_quicklink (and wet_peex) today. The new menu option did not show in the content-write tab. It occurred to me that perhaps it might be a conflict with zem_event. Disabling zem_event confirmed the conflict (the menu option for wet_quicklink showed up). Reabling zem_event caused wet_quicklink to disappear again.

I am hazzarding a guess that it may be a conflict from both plugins using jQuery. (I’m not well versed on javascript, though). It looks to me that wet_quicklink is pulling jQuery from the jQuery website, while zem_event is pulling from a version located in my textpattern installation.

Is the conflict “fixable”, and if so, what’s the best way to resolve it? Is it as simple as editing wet_quicklink to use the local install of jQuery?

Thanks

Mike

Last edited by maverick (2007-05-16 16:35:19)

Offline

#38 2007-05-17 15:37:23

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,320
Website Mastodon

Re: wet_quicklink: Quick internal link builder

wolle wrote:

I don’t know what to do, what is wrong!? Can someone help me?

At first glance, there’s nothing wrong with that query. Please post your high-level diagnostics.

maverick wrote:

Is the conflict “fixable”, and if so, what’s the best way to resolve it?

I have just tried to install both zem_link and wet_quicklink and experienced no problems with Opera 9.20, Firefox 2 and IE7, all of them on Windows XP. What browser are you using?

Offline

#39 2007-05-17 17:09:42

wolle
Member
Registered: 2006-05-04
Posts: 19
Website

Re: wet_quicklink: Quick internal link builder

wet wrote:

At first glance, there’s nothing wrong with that query. Please post your high-level diagnostics.

Sure :-) – I just „cleaned“ the name with ##### and deleted the last lines with the release-numbers. I hope it containes everything you need:

Textpattern-Version: 4.0.4 (r1956)
Letzte Aktualisierung: 2007-04-30 18:11:45/2007-04-30 18:11:00
Document Root: /home/www/kunden/#####/pages (/home/ftp/kunden/#####/data)
$path_to_site: /home/ftp/kunden/#####/data/cms
Textpattern-Pfad: /home/ftp/kunden/#####/data/cms/textpattern
Schema der URLs: section_id_title
Temporäres Verzeichnis: /tmp
Seiten-URL: www.#####.de/cms
PHP-Version: 5.2.1
Register globals: 1
Lokale Serverzeit: 2007-05-17 18:55:53
MySQL: 3.23.49
Regionale Einstellungen: de_DE.UTF-8
Server: Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.6c
Apache-Version: Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.6c
PHP Server API: apache
RFC-2616-Header: 
Betriebssystem des Servers: Linux 2.4.34
Aktive Plugins: fpx_image_import-0.3, glx_admin_image-2006.1, zem_ir-0.5, altum Email Obfuscator-1.1.2, upm_img_popper-1.3.4, Postmaster_library-0.1, chh_if_data-0.10m, rss_live_search-0.5m, rss_if_search_results-0.1, rss_admin_db_manager-4.3, swf_if_empty-0.31, upm_textile-0.2, upm_datetime-0.4, upm_category_image-0.4.8, jmc_event_manager-0.2 beta, zem_contact_reborn-4.0.3.17m, zem_contact_lang-4.0.3.03m, chh_article_lib-1.04, chh_flipflop-1.01, nhn_typotuner-0.1, rss_admin_show_adv_opts-0.3, bas_img_selector-0.7, chh_article_custom-1.15, bas_lightbox_lang_de_de-0.1m, bas_lightbox-0.4, rss_suparchive-0.18, rss_posted-0.1, ako_ifBrowser-0.2, upm_image-0.6, rss_pluginstaller-0.1, gho_alternation-2006.1a, wet_peex-0.2, wet_quicklink-0.4.2, Postmaster-0.3

Inhalt der .htaccess-Datei: 
------------------------
DirectoryIndex index.php index.html
Options +FollowSymLinks
RewriteBase /cms

<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/latin1
character_set: latin1
character_sets: latin1 big5 cp1251 cp1257 croat czech danish dec8 dos estonia euc_kr gb2312 gbk german1 greek hebrew hp8 hungarian koi8_ru koi8_ukr latin2 latin5 swe7 usa7 win1250 win1251 win1251ukr ujis sjis tis620
21 Tables: OK

PHP-Erweiterungen: xmlwriter/0.1, libxml, xml, tokenizer/0.1, session, SimpleXML, SPL, PDO, standard/5.2.1, Reflection, posix, pdo_sqlite/1.0.1, SQLite, mysql/1.0, ldap, json/1.2.1, imap, iconv, hash/1.0, gettext, gd, ftp, filter/0.11.0, dom/20031129, date/5.2.1, curl, ctype, bz2, bcmath, zlib/1.1, pcre, openssl, xmlreader/0.1, apache, Zend Optimizer

Apache-Module: http_core, mod_env, mod_log_config, mod_log_agent, mod_log_referer, 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_cern_meta, mod_so, mod_setenvif, mod_ssl, mod_proxy, mod_rewrite, mod_php5


pretext_data: array (
  'id' => '',
  's' => '',
  'c' => '',
  'q' => '',
  'pg' => '',
  'p' => '',
  'month' => '',
  'author' => '',
  'request_uri' => '/cms/5f50c0fb39380b37fff5ebc749fa2b99/?txpcleantest=1',
  'qs' => 'txpcleantest=1',
  'subpath' => '\\/cms\\/',
  'req' => '/5f50c0fb39380b37fff5ebc749fa2b99/?txpcleantest=1',
)

Thanks for your help!

Last edited by wolle (2007-05-17 17:11:03)

Offline

#40 2007-05-17 17:31:54

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,320
Website Mastodon

Re: wet_quicklink: Quick internal link builder

MySQL: 3.23.49.

DBMS Jurassic Park…

Please grab a SQL entry field (phpMyAdmin or anything else) and issue these three queries:

select * from textpattern where 1=1 order by Posted asc limit 20
select * from textpattern where 1=1 order by Posted asc limit 20 offset 0
select * from textpattern where 1=1 order by Posted asc limit 0,20

Please report back which one succeeds or fails.

Offline

#41 2007-05-17 17:57:16

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: wet_quicklink: Quick internal link builder

wet wrote:
bq. What browser are you using?

I’ve tested using Safari 2.04, Firefox 2.0 (latest update), OmniWeb 5.5.4, and Opera 9.20 on Mac OS 10.4.9 and Textpattern 4.0.4. All have the same results.

Plugin versions are:

wet_quicklink 0.4.2
zem_event 0.34

wet wrote:
bq. I have just tried to install both zem_link and wet_quicklink

The conflict I’m having is with zem_event (not zem_link)

Thanks for your help figuring this out.

Mike

Offline

#42 2007-05-17 18:02:14

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,320
Website Mastodon

Re: wet_quicklink: Quick internal link builder

maverick wrote:

The conflict I’m having is with zem_event (not zem_link)

That’s what I meant to say. Sorry to say, but as I cannot reproduce this conflict I am rather clueless on how to help any further. May someone with a Mac could try to chime in and duplicate this.

Offline

#43 2007-05-17 18:20:13

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: wet_quicklink: Quick internal link builder

Robert

Thanks for trying to help. I’ll post in zem_event and see if anyone else is having the problem. Would I “break” anything in your plugin if I change the jQuery url to the one on my server?

Thanks again

Mike

Offline

#44 2007-05-17 18:22:47

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,320
Website Mastodon

Re: wet_quicklink: Quick internal link builder

No, any jQuery will be fine.

Offline

#45 2007-05-17 18:55:51

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: wet_quicklink: Quick internal link builder

jus for the record – having same issue as maverick; on XP with Firefox 2.0

Offline

#46 2007-05-18 01:09:42

wolle
Member
Registered: 2006-05-04
Posts: 19
Website

Re: wet_quicklink: Quick internal link builder

wet schrieb:

bq. MySQL: 3.23.49.

DBMS Jurassic Park…

Please grab a SQL entry field (phpMyAdmin or anything else) and issue these three queries:

select * from textpattern where 1=1 order by Posted asc limit 20

select * from textpattern where 1=1 order by Posted asc limit 20 offset 0

select * from textpattern where 1=1 order by Posted asc limit 0,20

Please report back which one succeeds or fails.

The first and third succeed, the second fails.

Offline

#47 2007-05-18 04:12:32

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,320
Website Mastodon

Re: wet_quicklink: Quick internal link builder

Try this:

1 In the plugin screen, edit wet_peex.
2. Find this line

			$articles = safe_rows('*', 'textpattern', "$search order by $sort_sql limit $limit offset $offset");

and replace it with

			$articles = safe_rows('*', 'textpattern', "$search order by $sort_sql limit $offset,$limit");

3. Open the URL which revealed the SQL syntax error. You should receive a well-formed XML document.

Offline

#48 2007-05-18 09:37:13

wolle
Member
Registered: 2006-05-04
Posts: 19
Website

Re: wet_quicklink: Quick internal link builder

wet schrieb:

Try this:

1 In the plugin screen, edit wet_peex.
2. Find this line

$articles = safe_rows('*', 'textpattern', "$search order by $sort_sql limit $limit offset $offset");

and replace it with

$articles = safe_rows('*', 'textpattern', "$search order by $sort_sql limit $offset,$limit");

3. Open the URL which revealed the SQL syntax error. You should receive a well-formed XML document.

That solved my problem, everything works great now! Thank you very much!
Und eine tiefe Verneigung vor dem Können! :-)

Offline

Board footer

Powered by FluxBB