Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 06:35 pm EDT

Geeklog Forums

install Upgrade of 1.3.11.sr2


Status: offline

jollymoon

Forum User
Junior
Registered: 09/08/05
Posts: 21
Installed the upgrade last night from 1.3.11sr1 to 1.3.11sr2.

Now I cannot edit my StaticPages...error error....

URL Class: number of names passed to setArgNames must be equal or greater than number of arguments found in URL

I tried to copy the functions.inc (the only file in the upgrade that has a file in Plugins/Staticpages) from 1.3.11sr1 OVER the one supplied in 1.3.11.sr2 (leaving everything else the same), but that didn't work. Must be somewhere else?

Everything else seems to work fine.

What did I do wrong.... Banging your head

thanx
 Quote

Status: offline

derekhed

Forum User
Newbie
Registered: 01/05/05
Posts: 6
determined
First off, I'll admit that I broke rule #1: I proceeded to upgrade before backing up my working installation!

I used the 1.3.11sr2 upgrade package and copied everything over to my server after testing the stuff on my laptop. My site now gives me a big, white page. Nada.

My question is: can I turn on any kind of logging or is there any way to find out where the site is damaged? I can set the site_enabled flag to false and see my site_disabled_msg. When I try and turn the site back on, I get nothing.

Any advice is welcome, harassment is expected!
 Quote

Status: offline

mevans

Forum User
Full Member
Registered: 02/08/04
Posts: 393
Location:Texas
jollymoon,

I found the same problem. I believe it was the fix listed in the CHANGELOG as:

Fixed bug with topic-specific blocks not showing up on the article page when
URL rewriting was enabled (bug #401) [Dirk]

I temporarily fixed the problem by commenting out the change in lib-common.php around line 806 in function COM_siteHeader()...

Text Formatted Code

        if( empty( $sid ) && $_CONF['url_rewrite'] )
        {
            COM_setArgNames( array( 'story' ));
            $sid = COM_applyFilter( COM_getArgument( 'story' ));
        }

 


By commenting these lines out, you can now edit your StaticPages.

I haven't had time to actually determine why this is a problem yet and hope to spend a little time this evening trying to figure it out so I can get both the staticpage edit working and the problem solved that this code was originally trying to fix.

 Quote

Status: offline

jollymoon

Forum User
Junior
Registered: 09/08/05
Posts: 21
stressed
That was deeper into the Rabbit hole than I wanted to go, but thanx Neo, live long and prosper!

not worthy
 Quote

duvide

Anonymous
I had the same problem after upgrading but this post resolved
it (http://www.geeklog.net/forum/viewtopic.php?showtopic=48726)...
turn url-rewrite off and on

Frank
 Quote

Status: offline

mevans

Forum User
Full Member
Registered: 02/08/04
Posts: 393
Location:Texas
I had the same problem after upgrading but this post resolved
it (http://www.geeklog.net/forum/viewtopic.php?showtopic=48726)...
turn url-rewrite off and on


Frank,

From reading the post you referenced, it appears that the fix was turning off the rewrite functionality. Unfortunately, that isn't an option for me, I have too many search engines that have already indexed my site with it on. Did you turn rewrite back on and it works now?

The only way I could get the rewrite code to work consistently was to comment out the lines referenced above in lib-common.php.

Mark
 Quote

duvide

Anonymous
I checked it once with turning off and on and it was working.
But now it is not working either, only when url-rewrite is turned off...

I am using url-rewrite as well and would like to have it back.

Frank
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
For those having problems editing static pages when URL rewriting is on, try this patch.

Haven't had a chance to look into the issue with that new piece of code in lib-common.php (as quoted above). If it's causing you problems, comment it out. The only consequence will be that blocks set to be displayed in a specific topic won't show up.

bye, Dirk
 Quote

Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
commenting these four lines out in lib-common, gives me another problem. Now trying to edit a static page leads me directly to the staticpages index page, no chance to edit Confused

geKow

correction: this happens if you apply dirks patch AND outcomment the four lines. Without the patch it seems to work.
 Quote

duvide

Anonymous
I experienced the same, the patch didn't solve the url-rewrite issue and commenting out brings only the static page editor up and keeps it there.

the old index and commenting out works.

Frank
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Could people suffering from this problem please try out Vinny's suggestion from the bugtracker and give us some feedback, please?

bye, Dirk
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Okay, another attempt to fix this issue:

Starting with an unmodified 1.3.11sr2 install (i.e. ignoring all the patches listed above), download a new admin/plugins/staticpages/index.php and a new staticpages/index.php.

Does that work?

bye, Dirk
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
I am pleased to report that I used only your new "admin.../index.php" (why would I even need the other one?) and it has solved the problem!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by LWC: (why would I even need the other one?)

Static pages have an "edit" link at the bottom (if you're a static pages admin). That one would still use a "rewritten" URL and won't work then.

bye, Dirk
 Quote

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
You're right - and that index.php solved the problem too for me.

Did you update sr2's full and upgrade archives?
 Quote

Status: offline

surgeon

Forum User
Newbie
Registered: 01/31/05
Posts: 8
Location:Poland
confused
Dirk links above won`t work anymore. Where i can find correct static index.php`s?
--
Pozdrawiam (Regards)
surgeon
http://galeria.lubin.pl/
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Sorry, both the CVS web frontend and the project site are currently down, so the above URLs don't work at the moment.

We will be releasing a bugfix update for 1.3.11sr2 eventually - give us some more time, please.

In the meantime, you can work around the problem by (temporarily) disabling url_rewrite in config.php

bye, Dirk
 Quote

All times are EDT. The time is now 06:35 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content