comment out the loadSystemContent functions in module.inc for each module.
aravot
Joined: 2005-03-05
Posts: 61
Posted: Wed, 2005-04-27 21:32
This is what I did went to Gallery2->modules->members->module.inc searched for loadSystemContent commented out the following:
/**
* @see GalleryModule::loadSystemContent
*
function loadSystemContent(&$template) {
global $gallery;
$content = array();
$view = GalleryUtilities::getRequestVariables('view');
if ($view == 'members:MembersList' || $view == 'members:MembersProfile') {
return array(GalleryStatus::success(), array());
}/*
if I have done correctly (I don't think so) when accessing my website I get the following error.
Quote:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/domains/mysite.com/public_html/mambo/gallery2/modules/members/module.inc on line 108
mindless
Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-04-27 22:03
um, the code block above ends with /* instead of */
rhambling
Joined: 2004-08-26
Posts: 11
Posted: Fri, 2005-05-13 17:49
find this code
/**
* @see GalleryModule::loadSystemContent
*/
function loadSystemContent(&$template) {
global $gallery;
$content = array();
$view = GalleryUtilities::getRequestVariables('view');
if ($view == 'members:MembersList' || $view == 'members:MembersProfile') {
return array(GalleryStatus::success(), array());
}
and replace with the following code
/**
* @see GalleryModule::loadSystemContent
*/
function loadSystemContent(&$template) {
global $gallery;
$content = array();
/*$view = GalleryUtilities::getRequestVariables('view');
if ($view == 'members:MembersList' || $view == 'members:MembersProfile')*/ {
return array(GalleryStatus::success(), array());
}
Posts: 8601
comment out the loadSystemContent functions in module.inc for each module.
Posts: 61
This is what I did went to Gallery2->modules->members->module.inc searched for loadSystemContent commented out the following:
if I have done correctly (I don't think so) when accessing my website I get the following error.
Posts: 8601
um, the code block above ends with /* instead of */
Posts: 11
find this code
and replace with the following code