Page 3 of 3

Re: FrontEndUsers & SelfRegistration tags - break my page

Posted: Fri Jun 14, 2013 7:28 am
by staartmees

Re: FrontEndUsers & SelfRegistration tags - break my page

Posted: Sat Jun 15, 2013 5:54 pm
by churchcat
DR. CSS: the tags {FrontEndUsers} and {SelfRegistration...} are inserted in the pages, not a template. This is per the module instructions and it has worked fine for over a year--until just recently. In case the page template is relevant, I'll append a copy at the end of this post.

I did find this error log (in the cmssimple/admin folder) entry on the day I did the fresh install :

13-Jun-2013 12:45:16 America/New_York] PHP Warning: rawurlencode() expects parameter 1 to be string, array given in /home/fuusm/public_html/cmssimple/lib/classes/module_support/modredirect.inc.php on line 116
[13-Jun-2013 12:45:16 America/New_York] PHP Warning: rawurlencode() expects parameter 1 to be string, array given in /home/fuusm/public_html/cmssimple/lib/classes/module_support/modredirect.inc.php on line 116
[13-Jun-2013 12:46:19 America/New_York] PHP Warning: rawurlencode() expects parameter 1 to be string, array given in /home/fuusm/public_html/cmssimple/lib/classes/module_support/modredirect.inc.php on line 116
[13-Jun-2013 12:46:19 America/New_York] PHP Warning: rawurlencode() expects parameter 1 to be string, array given in /home/fuusm/public_html/cmssimple/lib/classes/module_support/modredirect.inc.php on line 116


The last user able to login was on April 30. Looking back at the error log of the original install ther were these:

01-May-2013 20:28:42 America/New_York] PHP Warning: Parameter username is not known by module SelfRegistration dropped in /home/fuusm/public_html/lib/misc.functions.php on line 1411
[01-May-2013 20:28:42 America/New_York] PHP Warning: Parameter email is not known by module SelfRegistration dropped in /home/fuusm/public_html/lib/misc.functions.php on line 1411
[12-May-2013 20:47:48 America/New_York] PHP Warning: Parameter username is not known by module SelfRegistration dropped in /home/fuusm/public_html/lib/misc.functions.php on line 1411
[14-May-2013 20:36:13 America/New_York] PHP Warning: Parameter username is not known by module SelfRegistration dropped in /home/fuusm/public_html/lib/misc.functions.php on line 1411
[19-May-2013 10:10:33 America/New_York] PHP Warning: Parameter submit is not known by module SelfRegistration dropped in /home/fuusm/public_html/lib/misc.functions.php on line 1411


Don't know if that helps or is important, but there you have it. Here is the page template:

{process_pagedata}<!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" lang="en">
{* Change lang="en" to the language of your site *}

{* note: anything inside these are smarty comments, they will not show up in the page source *}

<head>
<title>{sitename} - {title}</title>
{* The sitename is changed in Site Admin/Global settings. {title} is the name of each page *}

{metadata}
{* Don't remove this! Metadata is entered in Site Admin/Global settings. *}

{cms_stylesheet}
{* This is how all the stylesheets attached to this template are linked to it *}

{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{* Relational links for interconnections between pages, good for accessibility and Search Engine Optimization *}

{* the literal below and the /literal at the end are needed whenever there are {"curly brackets"} as smarty will think it's something to process and will throw an error *}
{literal}
<__script__ type="text/JavaScript">
<!--
//pass min and max - measured against window width
function P7_MinMaxW(a,b){
var nw="auto",w=document.documentElement.clientWidth;
if(w>=b){nw=b+"px";}if(w<=a){nw=a+"px";}return nw;
}
//-->
</__script>
<!--[if lte IE 6]>
<style type="text/css">
#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}
</style>
<![endif]-->
{/literal}
{* The min and max page width for Internet Explorer is set here. For other browsers it's in the stylesheet "Layout: Top menu + 2 columns" *}

</head>
</__body>

<div id="pagewrapper">

{* start accessibility skip links, anything with the class of accessibility is hidden with CSS from visual browsers *}
<ul class="accessibility">
<li>{anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}</li>
<li>{anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}</li>
</ul>
{* end accessibility skip links *}

<hr class="accessibility" />
{* Horizontal ruler that is hidden for visual browsers by CSS *
}
</div>
{* Start Header, with logo image that links to the default start page. Logo image is changed in the stylesheet "Layout: Top menu + 2 columns" *}
<div id="header">

{* this holds the name of the site on the right side *}
<h2 class="headright">{sitename}</h2>

{* this holds a link back to home page and the header left image/logo, text is hidden using CSS *}
<h1>{cms_selflink dir="start" text="$sitename"}</h1>
<hr class="accessibility" />
</div>
{* End Header *}

{* Start Navigation *}
<div id="menu_horiz">
{* stylesheet "Navigation: CSSMenu - Horizontal" *}
<h2 class="accessibility">Navigation</h2>
{menu loadprops=0 template='cssmenu.tpl'}
<hr class="accessibility" />
</div>
{* End Navigation *}
{* Start Search, the input "Submit" is using an image, CSS: input.search-button *}
<div id="search">
{search}
</div>
{* End Search *}

{* Start Breadcrumbs *}
<div class="crbk">
{* holds the right image, we need 2 divs to be able to make this site fluid, if it was fixed width we could use one div, one image *}

<div class="breadcrumbs">
{breadcrumbs starttext='You are here' root='Home' delimiter='&raquo;'}
<hr class="accessibility" />
</div>
</div>
{* End Breadcrumbs *}

{* Start Content (Navigation and Content columns) *}
<div id="content">

{* Start Sidebar, 2 divs one for top image one for bottom image *}
<div id="sidebar">
<div id="sidebara">

{* Start Sub Navigation, stylesheet "Navigation: Simple - Vertical" *}
<div id="menu_vert">
<h2 class="accessibility">Sub Navigation</h2>
{menu loadprops=0 template='simple_navigation.tpl' start_level='2' collapse='1'}
<hr class="accessibility" />
</div>
{* End Sub Navigation *}

</div>
</div>
{* End Sidebar *}

{* Start Content Area, the back1, back2, back3, hold the 3 outside images, main holds the 4th one, to make the box complete, if the template were fixed width not fluid we could use just 2 divs and 2 images, 1 top 1 bottom *}
<div class="back1">
<div class="back2">
<div class="back3">
<div id="main">
<h2>{title}</h2>
{content}
<br />{* to insure space below content *}

<hr class="accessibility" />
<div class="clear"></div>
</div>
</div>
</div>
</div>
{* End Content Area *}

</div>
{* End Content *}

{* Start Footer. Edit the footer in the Global Content Block called "footer" *}
<div class="footback">
<div id="footer">
<div id="footrt">
{global_content name='footer'}
</div>
<div class="clear"></div>
</div>
</div>
{* End Footer *}

</div>
{* end pagewrapper *}

<__body>
</__html>

Re: FrontEndUsers & SelfRegistration tags-break my page [Sol

Posted: Thu Jun 27, 2013 12:10 pm
by churchcat
I stumbled upon the solution in an older post in another forum: it was the Captcha module that was at the root of the problem. When my host upgraded to php 5.3.25, it did not have support for TrueType fonts (as the help for the module explicitly states is required). Once the host added in that support, FEU and SelfRegistration worked smoothly again.

I added 'solved' to the subject since it is for me despite the fact that the originator of this thread has not been heard from for some time. Hope that's okay.

Thanks to all who made the effort to help in this.