Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2008-01-11 18:45:04

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

Re: rvm_maintenance (v0.5)

On a brand new untouched install of 4.05 I get these error messages at the top of the public page:

Warning: tag does not exist in /users/home/domains/website.com/web/public/textpattern/publish.php on line 973
Warning: tag does not exist in /users/home/domains/website.com/web/public/textpattern/publish.php on line 973

Then below:

503 Service Unavailable

Site maintenance in progress. Please check back later.

EDIT: Thanks iblastoff

Last edited by lee (2008-01-11 18:58:43)

Offline

#38 2008-01-11 19:51:03

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

Re: rvm_maintenance (v0.5)

Just for your information Ruud, version 0.3 works fine for me with an SVN install and FF/ PC. I have no idea why Matthew was having a problem with it. Maybe Safari/Mac?


Stuart

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

Offline

#39 2008-01-13 16:43:28

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

Re: rvm_maintenance (v0.5)

Wondering if there is any chance of getting this to work with mac/safari? I only ever get the maintenance page when logged in.

Thanks very much
Lee

Offline

#40 2008-01-13 18:33:14

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: rvm_maintenance (v0.5)

Els, I use Firefox/Linux. Works fine for me. The important part, especially with v0.3 (v0.4 is less strict, but requires TXP 4.0.6), is that you have to click the “view website” tab on the TXP admin side to view your website… or otherwise load the TXP website in the same browser session where you’re logged in on the TXP admin side, otherwise you will get the 503 error. Simply having two separate browser windows open, one for the admin side and one for the public side, will not work.

Lee, try Firefox.

If it’s not working, please check in your browser if the ‘rvm_maintenance’ cookie is set and if so, how many of such cookies are set. There should be only one. If there’s more than one, clear them all, and visit a tab on the admin side. Logging out/in is not needed.

Offline

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

thebombsite
Archived 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

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: 5,068
Website

Re: rvm_maintenance (v0.5)

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

Offline

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

thebombsite
Archived 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

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

Offline

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

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

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)

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: 5,068
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.

Offline

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

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

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 :)

Offline

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

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: rvm_maintenance (v0.5)

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

Offline

Board footer

Powered by FluxBB