Page 1 of 1

how to solve PageBlocks modul problems?

Posted: Fri Jan 19, 2007 9:57 am
by pumuklee
hi

i have problems with PageBlocks modul
when i click on add block it comes an empty page in firefox
and page not found in ie

any ideea?
any solution

thanks

Re: how to solve PageBlocks modul problems?

Posted: Fri Feb 09, 2007 1:57 pm
by pumuklee
hi

i have some information about this problem

so that
on my local computer which is windows and i have wammp server included apache
it works the pageblocks modul but i have always the error message tha the apache is encountered an error and it is closed

and on my server which is linux suse with apache
when i want to add some pagblocks - add block -  to a page in ie comes a page not found
in firefox an empty page
no javascript error

any ideea?
thanks

Re: how to solve PageBlocks modul problems?

Posted: Fri Feb 09, 2007 3:34 pm
by pumuklee
hi i found that the error is in admin/footer.php

in this part

Code: Select all

foreach($gCms->modules as $key=>$value)
{
	if ($gCms->modules[$key]['installed'] == true &&
		$gCms->modules[$key]['active'] == true 
		&& $gCms->modules[$key]['object']->IsWYSIWYG() == true
		)
	{
		$loadit=false;
		if ($gCms->modules[$key]['object']->WYSIWYGActive()) {
			$loadit=true;
		} else {
		  if (get_preference(get_userid(), 'wysiwyg')==$gCms->modules[$key]['object']->GetName()) {
		  	$loadit=true;
		  }
		}
		if ($loadit) {
		  $bodytext.=$gCms->modules[$key]['object']->WYSIWYGGenerateBody();
		  $footertext.=$gCms->modules[$key]['object']->WYSIWYGGenerateHeader($htmlresult);
		  $formtext.=$gCms->modules[$key]['object']->WYSIWYGPageForm();
		  $formsubmittext.=$gCms->modules[$key]['object']->WYSIWYGPageFormSubmit();
		}
	}	
}
and it is something in connection with wysiwyg
i dont have now time to debug it

if someone has any ideea?

thanks