Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 03:46 am EST

Geeklog Forums

STAIC PAGE BUG (?) or ERROR (?)


Jesus

Anonymous
confused
i created a static page -- and all went okay -- however, when i enter the admin panel to edit the created static page, I get this error ====>

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

why is that?

thanks
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
What about the wonderfull feature of SEARCH Mr. Green

the answer to your question is here

CHEERZ
Vanrillaer.com - our Family Portal
 Quote

Jesus

Anonymous
True -- the SEARCH feature had the answer --

and for those of you who also ran into this wall.....

==========================================

Tuesday, October 11 2005 @ 08:08 PM EDT
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()...

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

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Hmmm, ... do check out the thread above, as Dirk pointed out, Vinny has a different solution which will make it as an official correction once it is tested ...

Quote by Dirk: Could people suffering from this problem please try out Vinny's suggestion from the bugtracker and give us some feedback, please?

bye, Dirk

Vanrillaer.com - our Family Portal
 Quote

All times are EST. The time is now 03:46 am.

  • 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