Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2008-12-14 15:48:27

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Write tab, 4.0.7

wet wrote:

r3040 re-establishes toggling panes in Konqueror 3.5.

I synchronized the site up on DreamHost with the latest SVN, I still have the same issues. When I get a chance, I’ll install a fresh copy of 4.0.7 on my hosting space and report back.

Offline

#32 2008-12-15 21:29:02

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Write tab, 4.0.7

Had a chance to install a fresh copy of 4.0.7 on DreamHost at another domain, the write tab works just fine.

For some reason, the site I was upgrading is screwed up. Time to wipe and start fresh. That teaches me to keep up with SVN, I’ll refrain from wanting to have the latest and greatest code.

My apologies for wasting people’s time.

Edit: The error I was getting was $ not defined in textpattern.js at line 211.

Last edited by hcgtv (2008-12-16 02:49:39)

Offline

#33 2008-12-16 17:01:49

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Write tab, 4.0.7

Spoke too soon :(

The fresh copy of 4.0.7 I installed yesterday, which was working fine, is now exhibiting the same javascript problems:

$ not defined in textpattern.js at line 211

I use Firefox 3.0.4 and I’ve also created another user to test things out with Opera 9.62, same thing is happening.

If Wet or Ruud would like a signon to this site, just send me a forum message with the email I should use for your registration. If I can’t find this problem, I won’t be able to upgrade any of my live sites to 4.0.7.

Offline

#34 2008-12-16 17:06:32

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Write tab, 4.0.7

Burt, you’re in all kinds of hell. Did you remember to sacrifice the chickens?

Offline

#35 2008-12-16 17:22:12

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,423
Website GitHub Mastodon

Re: Write tab, 4.0.7

hcgtv wrote:

If I can’t find this problem

http://yoursite.com/textpattern/jquery.js => 404 Not Found. Uploading or permission problems?

Offline

#36 2008-12-16 17:34:12

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Write tab, 4.0.7

Dale, the gods have shined down on me!

Wet, this is the .htaccess in the textpattern folder:

<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} !textpattern(/setup)?/?$
 RewriteCond %{REQUEST_FILENAME} !textpattern/((setup/)?index|css)\.php$
 RewriteCond %{REQUEST_FILENAME} !textpattern/textpattern\.(css|js)$
 RewriteCond %{REQUEST_FILENAME} !textpattern/txp_img/.+\.(jpg|gif|png)$
 RewriteRule ^(.*) - [F]
</IfModule>

It wasn’t allowing access to jquery.js, so I renamed it, now things work.

My naive question is this, why did it work in 4.0.6?

Thank you wet, another pair of eyes helped.

Offline

#37 2008-12-16 17:37:38

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,423
Website GitHub Mastodon

Re: Write tab, 4.0.7

hcgtv wrote:

My naive question is this, why did it work in 4.0.6?

4.0.7 is the very first TXP version to actually use jQuery in core. We’re a bit late…

Offline

#38 2008-12-16 18:02:39

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Write tab, 4.0.7

wet wrote:

4.0.7 is the very first TXP version to actually use jQuery in core. We’re a bit late…

I never thought to look in the .htaccess file, since jquery.js has been around since 4.0.5.

The Apache error.log showed no errors and I developed tunnel vision over time.

Here’s the new .htaccess:

<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} !textpattern(/setup)?/?$
 RewriteCond %{REQUEST_FILENAME} !textpattern/((setup/)?index|css)\.php$
 RewriteCond %{REQUEST_FILENAME} !textpattern/textpattern\.(css|js)$
 RewriteCond %{REQUEST_FILENAME} !textpattern/jquery\.js$
 RewriteCond %{REQUEST_FILENAME} !textpattern/txp_img/.+\.(jpg|gif|png)$
 RewriteRule ^(.*) - [F]
</IfModule>

Thanks again Wet, I’ll keep the Bat Light handy :)

Offline

Board footer

Powered by FluxBB