No Coder Am I

But I can sorta kinda get around...apply updates/mods and such (I make backups of course).  So, everything was working swimmingly with the default template, but I added a new template and now my join button isn't working.  I get the following error:

Warning: require_once(/home/jetteski/public_html/templates/tmpl_skin014/scripts/BxTemplJoinPageView.php) [function.require-once]: failed to open stream: No such file or directory in /home/jetteski/public_html/inc/utils.inc.php on line 861

Fatal error: require_once() [function.require]: Failed opening required '/home/jetteski/public_html/templates/tmpl_skin014/scripts/BxTemplJoinPageView.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jetteski/public_html/inc/utils.inc.php on line 861

I understand that it cannot find BxTemplJoinPageView.php in the specified location, b/c it is not under any of the template folders.  There is a BxBaseJoinPageView.php under base/scripts.

Here is Line 861 in utils.inc.php :

require_once(BX_DIRECTORY_PATH_ROOT . "templates/tmpl_{$GLOBALS['tmpl']}/scripts/" . $sClassName . '.php');

What did I miss?  I appreciate any help...deciphering code is not my strong suit.

Thanks...

Quote · 23 May 2010

Yikes!  I hope not...but I'll check it out.  Thanks.

Quote · 23 May 2010

and here's the BxTemplJoinPageView.php file code

<?php

/***************************************************************************
*                            Dolphin Smart Community Builder
*                              -----------------
*     begin                : Mon Mar 23 2006
*     copyright            : (C) 2006 BoonEx Group
*     website              : http://www.boonex.com/
* This file is part of Dolphin - Smart Community Builder
*
* Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License.
* http://creativecommons.org/licenses/by/3.0/
*
* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the Creative Commons Attribution 3.0 License for more details.
* You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin,
* see license.txt file; if not, write to marketing@boonex.com
***************************************************************************/

bx_import('BxBaseJoinPageView');

class BxTemplJoinPageView extends BxBaseJoinPageView {
function BxTemplJoinPageView()  {
parent::BxBaseJoinPageView();
}
}
?>

Looking for Help? http://www.boonex.com/kevinmitnick
Quote · 23 May 2010

You guys are the best, I am not worthy.  That wee bit of code absolutely did the trick.  Thanks again!!

Quote · 23 May 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.