[solved] Pageblock erro on local windows server with apache

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
israel.cefrin
Forum Members
Forum Members
Posts: 10
Joined: Sat Oct 28, 2006 9:37 pm

[solved] Pageblock erro on local windows server with apache

Post by israel.cefrin »

Hi all,
On my home office I got a development machine running windows XP with apache as webserver and mysql 5.
I´m facing a weird problem with page blocks module. All pageblock content insert is not shown on the main painel of this module.
I can see the page with 'Add Block' button, but the inserted blocks are never shown.

When I test with my host server (with linux + apache) everything works fine.

I saw and compare the rendered source and find out that locally a piece of code is being generated, check this out:

Local code (windows ):

Code: Select all

<__script__ language="JavaScript" type="text/javascript"><!--
function populateHiddenVars() {

return true;
}
//-->
</__script>
remote code (linux):

Code: Select all

<__script__ language="JavaScript" type="text/javascript"><!--
function populateHiddenVars() {
document.getElementById('parent45ListOrder').value = Sortable.serialize('parent45');
return true;
}
//-->
</__script>
The file which outputs this piece is the : modules/PageBlocks/lib/sllists/SLLists.class.php

And this is the piece of code:

Code: Select all

<?php
foreach($this->lists as $list) {
?>
document.getElementById('<?php echo $list['input'];?>').value = Sortable.serialize('<?php echo $list['list'];?>');
<?php
}
?>
I dont´ know is this happens only with me, but if someone had similar problem, could please, post a tip for solution ?

regards

Israel
Last edited by israel.cefrin on Thu Aug 30, 2007 3:08 am, edited 1 time in total.
israel.cefrin
Forum Members
Forum Members
Posts: 10
Joined: Sat Oct 28, 2006 9:37 pm

Re: [solved] Pageblock erro on local windows server with apache

Post by israel.cefrin »

I got solve this issue changing apache 1.33 to 2.0 :D on my local machine.
Post Reply

Return to “CMSMS Core”