Textpattern Forum

You are not logged in. Register | Login | Help

#41 2008-01-13 19:17:35

thebombsite
Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: rvm_maintenance (v0.5)

Just a quick word. I noticed that when the plug-in is activated, in Diagnostics it throws up a “Clean URL test failed.” notice. If switched off the notice goes away and I get a clean bill of health. I haven’t noticed that it is actually affecting clean URLs but then I haven’t created any sections yet on the site I’m working on. If I have a problem I’ll get back.


Stuart – The BombsiteProText ThemesTextgarden

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#42 2008-01-13 20:03:07

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 4,492
Website

Re: rvm_maintenance (v0.5)

It only affects the ‘clean url’ test in diagnostics, not the actual clean urls.

Online

#43 2008-01-13 20:24:07

thebombsite
Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: rvm_maintenance (v0.5)

Thanks. As it happens I have just created a section on this new site and I’m not having any problems with it.


Stuart – The BombsiteProText ThemesTextgarden

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#44 2008-01-13 22:48:38

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,380
Website

Re: rvm_maintenance (v0.5)

Ruud, I am using the View Site tab… It is very strange, because it works with another site that is on the same server. Both sites are using 4.0.5 and v0.3. I don’t know where to look to find the difference between these two situations.

Edit: I will try disabling other plugins to see if one of those is interfering.

Edit 2: Disabling all other plugins did not make any difference :( What else can I do?

Last edited by Els (2008-01-13 23:03:51)


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

#45 2008-01-14 23:06:32

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: rvm_maintenance (v0.5)

Sorry to keep bugging you Rudd, but I’m using this on a site (English/French) using MLP and have problems. When first switching to the French part of the site all is fine, but when I then click on a French menu link I get maintenance page. You’re welcome to the site login if that would help.

Thanks,
Lee

Offline

#46 2008-01-15 16:43:16

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 4,492
Website

Re: rvm_maintenance (v0.5)

Els, Lee, try replacing this line:

setcookie('rvm_maintenance', $txp_user.','.md5($nonce.$txp_user), 0, preg_replace('|//$|','/', rhu.'/'));

with

setcookie('rvm_maintenance', $txp_user.','.md5($nonce.$txp_user), time()+3600, preg_replace('|//$|','/', rhu.'/'));

That will create a cookie that is valid for 1 hour, instead of expiring at the end of the browser session.

Online

#47 2008-01-15 16:56:33

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,380
Website

Re: rvm_maintenance (v0.5)

Thanks Ruud! I did that and was just about to say ‘damn, still no luck’ when it finally hit me: the site itself is using www.domain.com and on the back-end I use domain.com/textpattern/index.php… Once I added the www of course it worked right away. Oh I hate being so stupid!

Apologies and thanks again for your time :)


<txp:Els /> ;)
Tag Reference | Unexpected behaviour? Check the tag trace | Still no clue? Check the names of your custom fields

Offline

#48 2008-01-15 17:07:09

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 4,492
Website

Re: rvm_maintenance (v0.5)

LOL…. thanks for mentioning that. I hadn’t even considered that could be the problem.

Online

#49 2008-01-15 17:07:17

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: rvm_maintenance (v0.5)

Thanks very much Rudd, it works perfectly now.

Offline

#50 2008-01-16 18:09:03

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

Re: rvm_maintenance (v0.5)

Hi Ruud

Have you released v0.4 yet? (If it works on 4.0.6, is it safe to assume it works with the latest svn?)

Last edited by maverick (2008-01-16 18:09:25)

Offline

Board footer

Powered by FluxBB