Fatal error: Class 'JParameter' not found

Moderator: fanno

Forum rules
Please post all the bugs you encounter on our issue tracker.

Re: Fatal error: Class 'JParameter' not found

Postby fanno on Fri Aug 27, 2010 2:52 am

in inc/common.php (dokuwiki)

Code: Select all
/**
 * Check the secret CSRF token
 */
function checkSecurityToken($token=null){
  if(!$_SERVER['REMOTE_USER']) return true; // no logged in user, no need for a check

  if(is_null($token)) $token = $_REQUEST['sectok'];
  if(getSecurityToken() != $token){
    msg('Security Token did not match. Possible CSRF attack.',-1);
    return false;
  }
  return true;
}


you could disable this, but i would much rather figure out what excatly is going on =)

just to clerify, you are using dokuwiki frameless ?

view the source of the page and let me know what the action (url) of the form used for the save button is (mine is blank), as well as the method

also ckeck sectok is there.
Code: Select all
<input type="hidden" value="..............." name="sectok">


what url mode are you running in frameless ?

good night for now it is 4:51 in the morning here =P
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7884
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Fatal error: Class 'JParameter' not found

Postby Kmuda on Fri Aug 27, 2010 3:14 am

Yes, I am using DokuWiki in Frameless

The code from my common.php:
Code: Select all
/**
 * Check the secret CSRF token
 */
function checkSecurityToken($token=null){
  if(!$_SERVER['REMOTE_USER']) return true; // no logged in user, no need for a check

  if(is_null($token)) $token = $_REQUEST['sectok'];
  if(getSecurityToken() != $token){
    msg('Security Token did not match. Possible CSRF attack.',-1);
    return false;
  }
  return true;
}


And to make sure I got everything you were looking for, here is "view source" on the page in it's entirty:

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
 
<head>
 
  <base href="http://www.oscarfish.com/article-database/doku.php/" />
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <meta name="robots" content="noindex,nofollow" />
  <meta name="keywords" content="oscarfish, oscar, astronotus, ocellatus, cichlid, fish, red, tiger, albino, lutino, breeding, tankmate, health, disease, care, hith, hole, head, fishless, cycling, size, forum, articles, chat, photos, pictures" />
  <meta name="description" content="Oscarfish.com is the largest, oldest, and most resourceful Oscar Fish cichlid site for general help, care, health, disease, tanks, breeding, and tankmate information." />
  <meta name="generator" content="Joomla! 1.5 - Open Source Content Management, DokuWiki Release 2009-12-25c &quot;Lemming&quot;" />
  <title>
    start    [Oscarfish Articles]
  </title>
  <link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
  <style type="text/css">
    <!--
 
.osolCaptchaBlock{
   width:100%;
}
.osolCaptchaBlock label{
   
}
.osolCaptchaBlock table td{
   
   text-align:center;
}
 
    -->
  </style>
  <script type="text/javascript" src="/includes/js/joomla.javascript.js"></script>
  <link rel="search" type="application/opensearchdescription+xml" href="http://www.oscarfish.com/articles/lib/exe/opensearch.php" title="Oscarfish Articles" />
<link rel="start" href="http://www.oscarfish.com/articles/" />
<link rel="contents" href="http://www.oscarfish.com/articles/doku.php?id=start&amp;do=index" title="Index" />
<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="http://www.oscarfish.com/articles/feed.php" />
<link rel="alternate" type="application/rss+xml" title="Current Namespace" href="http://www.oscarfish.com/articles/feed.php?mode=list&amp;ns=" />
<link rel="alternate" type="text/html" title="Plain HTML" href="http://www.oscarfish.com/articles/doku.php?do=export_xhtml&amp;id=start" />
<link rel="stylesheet" media="all" type="text/css" href="http://www.oscarfish.com/articles/lib/exe/css.php?s=all&amp;t=default&amp;tseed=1282873438" />
<link rel="stylesheet" media="screen" type="text/css" href="http://www.oscarfish.com/articles/lib/exe/css.php?t=default&amp;tseed=1282873438" />
<link rel="stylesheet" media="print" type="text/css" href="http://www.oscarfish.com/articles/lib/exe/css.php?s=print&amp;t=default&amp;tseed=1282873438" />
<script type="text/javascript" charset="utf-8" ><!--//--><![CDATA[//><!--
var NS='';var SIG=' --- //[[kmuda@kmuda.com|Kmuda]] 2010/08/26 23:08//';var JSINFO = null;
//--><!]]></script>
<script type="text/javascript" charset="utf-8" src="http://www.oscarfish.com/articles/lib/exe/js.php?tseed=1282873438" ></script>
 
  <link rel="shortcut icon" href="http://www.oscarfish.com/articles/lib/tpl/default/images/favicon.ico" />
 
 
<meta http-equiv="Content-Type" content="text/html; _ISO" />
 
<link href="/templates/sunshine/css/template.css" rel="stylesheet" type="text/css" />
<link href="/templates/sunshine/css/blue.css" rel="stylesheet" type="text/css" />
 
<link rel="shortcut icon" href="/images/favicon.ico" />
 
<style type="text/css">
   body, p, td, tr {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 12px;
   color: #000000;
   }
   #background {
   background-image: url(/templates/sunshine/images/oscarfishbackground.jpg);
   background-color: #768DAD;
   background-repeat: no-repeat;
   }
   #container, #header-in, #user { width: 100%; }
   a:link, a:visited { color: #46AC13; }
   #topmenu  a:hover, #topmenu #active_menu, #topmenu li#current a { background-color: #46AC13; }
   
      
</style>
 
<!--[if lte IE 6]>
<style type="text/css">
#content {width: 99%;}
.user_bg {width: 99%;}
</style>
<![endif]-->
 
<!--
author: Fio
web: http://www.vonfio.de
License: Creative Commons Attribution-Share Alike 3.0 Unported License
-->
<link href="/css/template.css" rel="stylesheet" type="text/css" />
</head>
 
<body>
<div id="background">
  <div id="header">
   <div id="header-in">
                        <div id="pathway"><span class="breadcrumbs pathway">
<a href="http://www.oscarfish.com/" class="pathway">Home</a> <img src="/images/M_images/arrow.png" alt=""  /> <a href="/article-database.html" class="pathway">Articles</a> <img src="/images/M_images/arrow.png" alt=""  /> start ( Array )</span>
</div>
                        <div id="search_out">
        <div id="search">      <div class="moduletable">
               <form action="index.php" method="post">
   <div class="search">
      <input name="searchword" id="mod_search_searchword" maxlength="20" alt="Search" class="inputbox" type="text" size="20" value="search..."  onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" />   </div>
   <input type="hidden" name="task"   value="search" />
   <input type="hidden" name="option" value="com_search" />
   <input type="hidden" name="Itemid" value="59" />
</form>      </div>
   </div>
        </div>
          </div>
    </div>
    <div class="clr"></div>
   
    <div id="container">
 
<div id="banner_out">
    <div id="banner_left">
        <div class="sitetitle"><a href="/" >The Ultimate Oscar Fish Community</a></div>
    </div>
    </div>       
 
<div class="clr"></div>   
     
<div id="topmenu_out">
    <div id="topmenu_left">
        <div id="topmenu_right">
            <div id="topmenu">
                <div id="navigation">      <div class="moduletable">
               <ul id="mainlevel-nav"><li><a href="/home.html" class="mainlevel-nav" >Home</a></li><li><a href="/oscar-forum.html" class="mainlevel-nav" >Forum</a></li><li><a href="/photo-gallery.html" class="mainlevel-nav" >Photos</a></li><li><a href="/article-database.html" class="mainlevel-nav" >Articles</a></li><li><a href="/search.html" class="mainlevel-nav" >Search</a></li></ul>      </div>
   </div>
            </div>
        </div>
    </div>
</div>
                           
<div id="left_border">
    <div id="right_border">
        <div id="maincontent">
            <div id="main">
                                    <div id="left_out">      <div class="module">
         <div>
            <div>
               <div>
                                       <h3>Member Login</h3>
                                 <form action="index.php" method="post" name="login" id="form-login"><div align="center"><img src="http://i154.photobucket.com/albums/s279/kmuda/AlbinoLeo.jpg" alt="kmuda" style=" max-height: 130px; max-width: 130px;" /></div>
<div align="center">Hi kmuda.</div><div align="center">You have <a href="/oscar-forum/ucp.php/i,pm/folder,inbox/">11 messages</a>, 0 are unread.</div><div align="center"><a href="/oscar-forum/search.php/search_id,newposts/">View new forum messages.</a></div><div align="center"><input type="submit" name="Submit" class="button" value="Logout" /></div><input type="hidden" name="option" value="com_user" /><input type="hidden" name="task" value="logout" /><input type="hidden" name="silent" value="true" /><input type="hidden" name="return" value="L2hvbWUuaHRtbA==" /></form>               </div>
            </div>
         </div>
      </div>
         <div class="module">
         <div>
            <div>
               <div>
                                       <h3>Whos Online?</h3>
                                  We have&nbsp;1 guest&nbsp;and&nbsp;4 members&nbsp;online<br />               </div>
            </div>
         </div>
      </div>
         <div class="module_menu">
         <div>
            <div>
               <div>
                                       <h3>Resources</h3>
                                 <ul class="menu"><li class="item17"><a href="/administrator/"><span>Joomla Administrator</span></a></li><li class="item71"><a href="http://www.oscarfish.com/discussion/index.php" target="_blank"><span>Forum Direct Access</span></a></li><li class="item72"><a href="http://www.oscarfish.com/articles/doku.php?do=admin" target="_blank"><span>DocuWiki Admin</span></a></li><li class="item73"><a href="http://www.oscarfish.com/gallery/main.php" target="_blank"><span>Gallery Direct Access</span></a></li></ul>               </div>
            </div>
         </div>
      </div>
   </div>
                                           
                <div id="content_outleft">
               
                                       
                    <div id="content">
                        <div id="content_border_right">
                            <div id="content_border_left">
                                <div id="content_bottom_right">
                                    <div id="content_bottom_left">
                                        <div id="component">
<div class="dokuwiki">
 
  <div class="stylehead">
 
    <div class="header">
      <div class="pagename">
        [[<a href="/article-database/doku.php/id,start/do,backlink/"  title="Backlinks">start</a>]]
      </div>
      <div class="logo">
        <a href="/article-database/doku.php/"  name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">Oscarfish Articles</a>      </div>
 
      <div class="clearer"></div>
    </div>
 
   
    <div class="bar" id="bar__top">
      <div class="bar-left" id="bar__topleft">
        <form class="button btn_show" method="get" action="/article-database/doku.php/"><div class="no"><input type="hidden" name="do" value="show" /><input type="hidden" name="id" value="start" /><input type="submit" value="Show page" class="button" accesskey="v" title="Show page [V]" /></div></form>              </div>
 
      <div class="bar-right" id="bar__topright">
        <form class="button btn_recent" method="get" action="/article-database/doku.php/"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="start" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form>        <form action="/article-database/doku.php/" accept-charset="utf-8" class="search" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" class="edit" title="[F]" /><input type="submit" value="Search" class="button" title="Search" /><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>&nbsp;
      </div>
 
      <div class="clearer"></div>
    </div>
 
        <div class="breadcrumbs">
      <span class="bchead">Trace:</span> <span class="bcsep">&raquo;</span> <span class="curid"><a href="/article-database/doku.php/id,start/"  class="breadcrumbs" title="start">start</a></span>          </div>
   
   
  </div>
 
 
  <div class="page">
    <!-- wikipage start -->
   
<p>
Edit the page and hit <code>Save</code>. See <a href="/article-database/doku.php/id,wiki;syntax/" class="wikilink1" title="wiki:syntax">syntax</a> for Wiki syntax. Please edit the page only if you can <strong>improve</strong> it. If you want to test some things, learn to make your first steps on the <a href="/article-database/doku.php/id,playground;playground/" class="wikilink1" title="playground:playground">playground</a>.
</p>
        <div style="width:99%;">
 
        <div class="toolbar">
        <div id="draft__status">Draft autosaved on 2010/08/26 23:08</div>
        <div id="tool__bar"><a href="http://www.oscarfish.com/articles/lib/exe/mediamanager.php?ns="
            target="_blank">Media Files</a></div>
 
                            <script type="text/javascript" charset="utf-8"><!--//--><![CDATA[//><!--
                                        textChanged = false;
                //--><!]]></script>
                    </div>
        <form id="dw__editform" method="post" action="" accept-charset="utf-8"><div class="no">
<input type="hidden" name="sectok" value="30d916cb9de93f7c2c43180ec38e6d63" /><input type="hidden" name="id" value="start" /><input type="hidden" name="rev" value="" /><input type="hidden" name="date" value="1282686962" /><input type="hidden" name="prefix" value="" /><input type="hidden" name="suffix" value="" /><input type="hidden" name="changecheck" value="f9073ca0615be65cfe07b9bb5946a1d4" /><textarea name="wikitext" id="wiki__text" class="edit" cols="80" rows="10" tabindex="1" >
~~
====== Welcome to the Oscarfish Article Database ======
[{{ :ofish70.jpg|}}]
 
Contained within these articles is a wealth of knowlege, representing decades of experience, to help you be successful in your fish keeping endevours.
 
Please bear with us as this section of the site is being reconstructed with articles exported from an old phpBB format and manually edited into Wiki Syntax, which is a time consuming process.
 
Before launching into the articles, you may want to familiarize yourself with some of the site lingo.
  * [[miscellaneous:site_lingo|What do all of these abbreviations and acronyms mean?]]
 
If you are new to aquariums in general, you may want to familiarize yourself with the definitions of some frequently used terms in the hobby.
  * [[miscellaneous:hobby_terms|What do all of these words mean? Terms commonly used in the Hobby.]]
 
===== All About Oscars =====
  * [[all_about_oscars:New Oscar Owner Information Packet]]
  * [[all_about_oscars:Tank Sizes|What Size Tank Do I need For My Oscar(s)?]]
  * [[all_about_oscars:tank_filtration|What Filtration do I Need for My Oscar Tank?]]
  * [[all_about_oscars:oscar_tank_decorations|What Decorations are Apropriate for an Oscar Tank?]]
  * [[all_about_oscars:oscar_varities|Oscar Varieties, A Photographic Record of Different Types of Oscar Fish]]
  * [[all_about_oscars:albino_lutino_differences|What are the differences between an Albino and Lutino Oscar?]]
  * [[all_about_oscars:What Are Albino and Lutino Oscars?]]
  * [[all_about_oscars:Breeding Oscars]]
  * [[all_about_oscars:how_to_breed_oscars|What is the best way to breed oscars?]]
  * [[all_about_oscars:do_oscars_have_teeth|Do Oscars Have Teeth?]]
  * [[all_about_oscars:test_results|What Test Results are Suitable for Oscars?]]
  * [[all_about_oscars:fish_anatomy|What are the names of the various parts of an Oscar?]]
  * [[all_about_oscars:oscar_sex|How can I tell the sex of my Oscar?]]
  * [[all_about_oscars:Oscar Tankmates|What are the best Oscar Tankmates?]]
  * [[all_about_oscars:compatible_species|Compatible Species,A View from Forum Members]]
  * [[all_about_oscars:hith|What is Hole in the Head Disease (HITH, LLE), and how can I treat it?]]
  * [[all_about_oscars:Feeding Live Foods]]
 
===== All About the Water =====
  * [[all_about_the_water:Autotrophic Nitrifying Bacteria and Their Practical Application in Freshwater Aquariums]]
  * [[all_about_the_water:heterotrophic_bacteria|Heterotrophic Bacteria and Their Practical Application in a Freshwater Tank]]
  * [[all_about_the_water:Myths of pH Shock]]
  * [[all_about_the_water:realities_of_ph_shock|Realities of pH Shock]]
  * [[all_about_the_water:controlling_algae|Controlling Aquarium Algae In Fish Only Tanks]]
  * [[all_about_the_water:tank_cycling|What is the Nitrogen Cycle and how do I do it to my tank?]]
  * [[all_about_the_water:temperature|What Temperature Should I Keep My Tank?]]
  * [[all_about_the_water:stocking_levels|How can I tell if my tank is overstocked?]]
  * [[all_about_the_water:nitrate_toxicty|Is Nitrate Toxic? A Study of Nitrate Toxicity]]
  * [[all_about_the_water:Nitrates and Oscars, Article and Discussion]]
  * [[all_about_the_water:fishless_cycle|How Do I Perform a Fishless Cycle?]]
  * [[all_about_the_water:diatoms|Diatoms. What are they and how can I get rid of them?]]
  * [[all_about_the_water:ammonia|How should I reduce the ammonia and nitrites in my tank water?]]
  * [[all_about_the_water:carbon_filtration|Carbon Filtration In Freshwater Aquariums]]
  * [[all_about_the_water:Water Testing FAQ]]
 
===== All About The Fish =====
  * [[all_about_the_fish:aequidens_sp._goldsaum_vs._aequidens_pulcher|Which fish do I have? Green Terror (&quot;Aequidens&quot; sp. goldsaum) vs. Blue Acara (Aequidens pulcher)]]
  * [[all_about_the_fish:amphilophus_festae_or_cichlasoma_uropthlamus|Which fish do I have? Red Terror Cichlid (Amphilophus festae) vs Midas Cichlid (Cichlasoma uropthlamus)]]
  * [[all_about_the_fish:herichthys_cyanoguttatus_vs_herichthys_carpintis|Which fish do I have? Texas Cichlid ~ Herichthys cyanoguttatus vs Herichthys carpintis]]
  * [[all_about_the_fish:red_devil_vs_midas|Which fish do I have? Red Devil Cichlid (Amphilophus labiatus) vs Midas Cichlid (Amphilophus citrinellus)]]
  * [[all_about_the_fish:cichlids_vs_sunfish|Cichlids and Sunfish: A Comparison]]
  * [[all_about_the_fish:giants_amongst_us1|Giants Among Us: Part 1]]
  * [[all_about_the_fish:giants_amongst_us|Giants Among Us: Part 2]]
  * [[all_about_the_fish:giants_amongst_us3|Giants Among Us: Part 3]]
  * [[all_about_the_fish:Mixing Aggressive Cichlids]]
  * [[all_about_the_fish:breed_your_own_feeders|How to breed guppys and In 6 easy setup steps!]]
  * [[all_about_the_fish:Keeping Bullhead Catfish]]
  * [[all_about_the_fish:fat_head_minnows|Keeping and Breeding the Fathead minnow (rosy red)]]
  * [[all_about_the_fish:Pleco Dietary Needs]]
  * [[all_about_the_fish:Keeping Sunfish]]
  * [[all_about_the_fish:Convict FAQ]]
  * [[all_about_the_fish:yellow_lab|LABIDOCHROMIS CAERULEUS (Yellow Lab)]]
  * [[all_about_the_fish:dividing_a_tank|Dividing a Tank – What and When]]
  * [[all_about_the_fish:moving_large_cichlids|Moving large cichlids: how to make it as painless as possible.]]
  * [[all_about_the_fish: Going on Vacation? How to prepare your tank]]
 
 
 
===== All About The Equipment =====
  * [[all_about_the_equipment:article|How much and what type of filtration will I need?]]
  * [[all_about_the_equipment:surviving_power_outage|Preparing For And Surviving a Power Outage]] 
  * [[all_about_the_equipment:magnum_350|Magnum 350 Simple Modifications]]
  * [[all_about_the_equipment:Fluval 304 and 404]]
  * [[all_about_the_equipment:Biowheels on an AC110]]
  * [[all_about_the_equipment:water_damage|Water Damage Decontamination, Lessons Learned.]]
  * [[all_about_the_equipment:Gravel vs. Sand]]
  * [[all_about_the_equipment:substrate|Rinsing Substrate, One Aquarist's Example of Why Patience is a Virtue]]
  * [[all_about_the_equipment:seachem_excel|Buyer BeAware: SeaChem Excel]]
 
===== Health and Disease =====
  * [[jss_:aeromonas_bacterial_pitting|John Satisfaction Syndrome, Aeromonas Bacterial Pitting]]
  * [[jss_:kmuda_s_bacterial_pitting_treatment|Kmuda's Bacterial Pitting Treatment]]
  * [[health_and_disease:articles_and_effective_treatments_eradication|ICH, links to in-depth articles and effective treatments/eradication]]
  * [[health_and_disease:fish_bloat|Fish Bloat, Diagnoses and Treatment]]
  * [[health and disease:a_medication_kit|The Essential Aquarists Medkit]]
  * [[health and disease:salt|Salt in the Freshwater Aquarium]]
  * [[health and disease:planaria|What are all of these tiny white worms swimming in my tank?]]
  * [[health and disease:euthanasia|Euthanasia (What is the most humane way to put a dying fish out of its misery?)]]
 
 
===== DIY Articles =====
  * [[diy_articles:brine_shrimp|Baby Brine Shrimp - DIY Hatchery and Hatching Instructions]]
  * [[diy_articles:300_gallon_tank|DIY 310 gallon Fishtank]]
  * [[diy_articles:shipping_fish|Shipping Fish For Dummies]]
  * [[diy_articles:DIY Aquarium Stand]]
  * [[diy_articles:diy_python|How to Make a DIY Python-type Water Changer]]
 
===== Miscellaneous =====
  * [[miscellaneous:posting_response|How can I get more people to respond to my questions?]]
  * [[miscellaneous:site_lingo|What do all of these abbreviations and acronyms mean?]]
  * [[miscellaneous:ie8_compatibility_mode|How Do I Change IE8 ompatibility Mode?]]
  * [[miscellaneous:poison_dart_frogs|An Introduction to Poison Dart Frogs]]
  * [[miscellaneous:hobby_terms|What do all of these words mean? Terms commonly used in the Hobby.]]
  * [[miscellaneous:mrs_fish_a_memorial|Mrs. Fish, A Memorial]]
 
 
 
</textarea>
<div id="wiki__editbar" >
<div id="size__ctl" >
</div>
<div class="editButtons" >
<input name="do[save]" type="submit" value="Save" class="button" id="edbtn__save" accesskey="s" tabindex="4" title="Save [S]" />
<input name="do[preview]" type="submit" value="Preview" class="button" id="edbtn__preview" accesskey="p" tabindex="5" title="Preview [P]" />
<input name="do[draftdel]" type="submit" value="Cancel" class="button" tabindex="6" />
</div>
<div class="summary" >
<label class="nowrap" for="edit__summary"><span>Edit summary</span> <input type="text" id="edit__summary" name="summary" value="" class="edit" size="50" tabindex="2" /></label>
<label class="nowrap" for="minoredit"><input type="checkbox" id="minoredit" name="minor" value="1" tabindex="3" /> <span>Minor Changes</span></label>
</div>
</div>
</div></form>
</div>
 
    <!-- wikipage stop -->
  </div>
 
  <div class="clearer">&nbsp;</div>
 
 
  <div class="stylefoot">
 
    <div class="meta">
      <div class="user">
        Logged in as: Kmuda (kmuda)      </div>
      <div class="doc">
        start.txt &middot; Last modified: 2010/08/24 17:56 by kmuda      </div>
    </div>
 
   
    <div class="bar" id="bar__bottom">
      <div class="bar-left" id="bar__bottomleft">
        <form class="button btn_show" method="get" action="/article-database/doku.php/"><div class="no"><input type="hidden" name="do" value="show" /><input type="hidden" name="id" value="start" /><input type="submit" value="Show page" class="button" accesskey="v" title="Show page [V]" /></div></form>                      </div>
      <div class="bar-right" id="bar__bottomright">
                        <form class="button btn_admin" method="get" action="/article-database/doku.php/"><div class="no"><input type="hidden" name="do" value="admin" /><input type="hidden" name="id" value="start" /><input type="submit" value="Admin" class="button" title="Admin" /></div></form>                <form class="button btn_logout" method="get" action="/article-database/doku.php/"><div class="no"><input type="hidden" name="do" value="logout" /><input type="hidden" name="sectok" value="30d916cb9de93f7c2c43180ec38e6d63" /><input type="hidden" name="id" value="start" /><input type="submit" value="Logout" class="button" title="Logout" /></div></form>        <form class="button btn_index" method="get" action="/article-database/doku.php/"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="start" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>        <a class="nolink" href="http://www.oscarfish.com/article-database/doku.php/#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a>&nbsp;
      </div>
      <div class="clearer"></div>
    </div>
 
  </div>
 
 
</div>
 
<div class="footerinc">
 
  <a  href="http://www.oscarfish.com/articles/feed.php" title="Recent changes RSS feed"><img src="http://www.oscarfish.com/articles/lib/tpl/default/images/button-rss.png" width="80" height="15" alt="Recent changes RSS feed" /></a>
 
 
  <a  href="http://www.dokuwiki.org/donate" title="Donate"><img src="http://www.oscarfish.com/articles/lib/tpl/default/images/button-donate.gif" alt="Donate" width="80" height="15" /></a>
 
  <a  href="http://www.php.net" title="Powered by PHP"><img src="http://www.oscarfish.com/articles/lib/tpl/default/images/button-php.gif" width="80" height="15" alt="Powered by PHP" /></a>
 
  <a  href="http://validator.w3.org/check/referer" title="Valid XHTML 1.0"><img src="http://www.oscarfish.com/articles/lib/tpl/default/images/button-xhtml.png" width="80" height="15" alt="Valid XHTML 1.0" /></a>
 
  <a  href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS"><img src="http://www.oscarfish.com/articles/lib/tpl/default/images/button-css.png" width="80" height="15" alt="Valid CSS" /></a>
 
  <a  href="http://dokuwiki.org/" title="Driven by DokuWiki"><img src="http://www.oscarfish.com/articles/lib/tpl/default/images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a>
 
 
 
</div>
 
<div class="no"><img src="http://www.oscarfish.com/articles/lib/exe/indexer.php?id=start&amp;1282878489" width="1" height="1" alt=""  /></div>
</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
               
                </div>
               
            </div>
        </div>
    <div class="clr"></div>
                               
       
    </div>
</div>
                           
<div id="bottom">
    <div id="bottom_right">
        <div id="bottom_left">
            <div id="bottom_bg">
                <div id="copy">&copy; 2008 Oscarfish.com - Oscar fish cichlid help, care, breeding, health, disease, and tankmate information. | <a href="http://www.vonfio.de" style="color:#000000;">Joomla 1.5 Templates</a> by vonfio.de</div>
                <div id="othermenu">
                    <div id="othermenu_in">      <div class="moduletable">
               <ul id="mainlevel-nav"><li><a href="/home.html" class="mainlevel-nav" >Home</a></li><li><a href="/oscar-forum.html" class="mainlevel-nav" >Forum</a></li><li><a href="/photo-gallery.html" class="mainlevel-nav" >Photos</a></li><li><a href="/article-database.html" class="mainlevel-nav" >Articles</a></li><li><a href="/search.html" class="mainlevel-nav" >Search</a></li></ul>      </div>
   </div>
                </div>
            </div>
        </div>
    </div>
</div>
 
</div>
</div>       
</body>
</html>
User avatar
Kmuda
JFusion Newbie II
JFusion Newbie II
 
Posts: 25
Joined: Sun Aug 08, 2010 2:23 am

Re: Fatal error: Class 'JParameter' not found

Postby fanno on Fri Aug 27, 2010 11:49 am

source looks all right.

so something must cause your session to die and the token becomming invalid..
Code: Select all
/**
* Check the secret CSRF token
*/
function checkSecurityToken($token=null){
  return true;
  if(!$_SERVER['REMOTE_USER']) return true; // no logged in user, no need for a check

  if(is_null($token)) $token = $_REQUEST['sectok'];
  if(getSecurityToken() != $token){
    msg('Security Token did not match. Possible CSRF attack.',-1);
    return false;
  }
  return true;
}

try this ... it will disable this function, so i would not reccomend it but it should let us know if session may be the problem.

-Thanks
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7884
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Fatal error: Class 'JParameter' not found

Postby Kmuda on Fri Aug 27, 2010 12:27 pm

With the CSRF check disabled, everything appears to be working. No errors, not being knocked out/logged out, and am able to edit articles and perform Admin functions.
User avatar
Kmuda
JFusion Newbie II
JFusion Newbie II
 
Posts: 25
Joined: Sun Aug 08, 2010 2:23 am

Re: Fatal error: Class 'JParameter' not found

Postby fanno on Fri Aug 27, 2010 1:00 pm

must be session stuff ...
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7884
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Fatal error: Class 'JParameter' not found

Postby Kmuda on Fri Aug 27, 2010 5:51 pm

I have troubleshot it down to the Redirection Mod in jfusion. If showAuthMod Redirection Mod is "disabled", I do not get the CSRF Attack notices. If it is enabled, I do.

Any recommendations on what I look at next?
User avatar
Kmuda
JFusion Newbie II
JFusion Newbie II
 
Posts: 25
Joined: Sun Aug 08, 2010 2:23 am

Re: Fatal error: Class 'JParameter' not found

Postby fanno on Fri Aug 27, 2010 6:05 pm

i'll try and enable it when i get home.
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7884
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Fatal error: Class 'JParameter' not found

Postby fanno on Fri Aug 27, 2010 6:09 pm

while you wait post the source of the doku.php (with the redirect mode enabled)

-Thanks
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7884
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Fatal error: Class 'JParameter' not found

Postby Kmuda on Fri Aug 27, 2010 7:37 pm

Thanks for the interest. It will be a couple of hours before I can post the doku.php source code. I am currently at the office and cannot SSH thru the firewall. But I'll get it added to the thread as soon as I get home.
User avatar
Kmuda
JFusion Newbie II
JFusion Newbie II
 
Posts: 25
Joined: Sun Aug 08, 2010 2:23 am

Re: Fatal error: Class 'JParameter' not found

Postby fanno on Fri Aug 27, 2010 7:45 pm

Kmuda wrote:Thanks for the interest. It will be a couple of hours before I can post the doku.php source code. I am currently at the office and cannot SSH thru the firewall. But I'll get it added to the thread as soon as I get home.

i am at work too, they don't block the port i am using tho, so i am tunneling =P
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7884
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

PreviousNext

Return to DokuWiki

Who is online

Users browsing this forum: No registered users and 1 guest