> well, the error tells you that the web server user ('www-data', > 'apache' > or similar) is not allowed to write to /var/www/ which is normal. > Instead of setting this directory writable, just follow the docs for > installation and set the value for your PHP error log accordingly > (the > pm_debug.log is written to the same directory). Just search the page > for > the string "IMPORTANT!!!"
An apparently complicated problem has always an easy solution! Now it works!!! thanks -beppe- Il giorno mer, 03/02/2010 alle 13.18 +0100, Giuseppe Naponiello ha scritto: > Hi all, > I've this problem: this is my serch code in config_default.xml [1], > with localhost works fine, but on the server it "disappears": if I > check the source code I find [2] it but it isn't printed in output. > This is the link: http://217.58.141.157/nfa/map.phtml > the search container is within the west block, you can find it > clicking on the tab "Cerca" ... maybe someone can help me!!! > > There is also some warning message [3] that I'm not able to > understand: the permissions would be ok!!! > > thanks > > -beppe- > > > [1] <searchlist version="1.0"> > <dataroot>$</dataroot> > > <searchitem name="partner" description="Partner"> > <layer type="shape" name="citta"> > <field type="s" name="NAME" description="Partner" > wildcard="2"> > <definition type="options" connectiontype="ms" > sort="asc" firstoption="*"> > <mslayer encoding="UTF-8" keyfield="NAME" > showfield="NAME"/> > </definition> > </field> > </layer> > </searchitem> > > > </searchlist> > > [2] > <div id="cerca" class="tab"> > > <h2>Cerca tra i record presenti</h2> > <!-- Search Container --> > <div id="searchContainer"> > > <form id="searchForm" action="blank.html" onsubmit="PM.Query.submitSearch()" > onkeypress="return PM.Query.disableEnterKey(event)"> > > <table width="100%" class="pm-searchcont pm-toolframe" border="0" > cellspacing="0" cellpadding="0"> > > <tr> > <td id="searchoptions" class="pm-searchoptions" style="padding:0px 8px"></td> > > </tr> > <tr> > <td id="searchitems" class="pm_search_block"></td> > > </tr> > </table> > </form> > </div> > </div> > > > > [3] > <br /> > <b>Warning</b>: fopen(/var/www/pm_debug.log) [<a > href='function.fopen'>function.fopen</a>]: failed to open stream: Permission > denied in <b>/var/www/nfa/incphp/common.php</b> on line <b>101</b><br /> > > <br /> > <b>Warning</b>: fopen(/var/www/pm_debug.log) [<a > href='function.fopen'>function.fopen</a>]: failed to open stream: Permission > denied in <b>/var/www/nfa/incphp/common.php</b> on line <b>101</b><br /> > > <br /> > <b>Warning</b>: fopen(/var/www/pm_debug.log) [<a > href='function.fopen'>function.fopen</a>]: failed to open stream: Permission > denied in <b>/var/www/nfa/incphp/common.php</b> on line <b>101</b><br /> > > <br /> > <b>Warning</b>: fopen(/var/www/pm_debug.log) [<a > href='function.fopen'>function.fopen</a>]: failed to open stream: Permission > denied in <b>/var/www/nfa/incphp/common.php</b> on line <b>101</b><br /> > > <br /> > <b>Warning</b>: fopen(/var/www/pm_debug.log) [<a > href='function.fopen'>function.fopen</a>]: failed to open stream: Permission > denied in <b>/var/www/nfa/incphp/common.php</b> on line <b>101</b><br /> > > <br /> > <b>Warning</b>: fopen(/var/www/pm_debug.log) [<a > href='function.fopen'>function.fopen</a>]: failed to open stream: Permission > denied in <b>/var/www/nfa/incphp/common.php</b> on line <b>101</b><br /> > > <br /> > <b>Warning</b>: fopen(/var/www/pm_debug.log) [<a > href='function.fopen'>function.fopen</a>]: failed to open stream: Permission > denied in <b>/var/www/nfa/incphp/common.php</b> on line <b>101</b><br /> > > <br /> > <b>Warning</b>: fopen(/var/www/pm_debug.log) [<a > href='function.fopen'>function.fopen</a>]: failed to open stream: Permission > denied in <b>/var/www/nfa/incphp/common.php</b> on line <b>101</b><br /> > > <br /> > <b>Warning</b>: fopen(/var/www/pm_debug.log) [<a > href='function.fopen'>function.fopen</a>]: failed to open stream: Permission > denied in <b>/var/www/nfa/incphp/common.php</b> on line <b>101</b><br /> > > <br /> > <b>Warning</b>: fopen(/var/www/pm_debug.log) [<a > href='function.fopen'>function.fopen</a>]: failed to open stream: Permission > denied in <b>/var/www/nfa/incphp/common.php</b> on line <b>101</b><br /> > > <br /> > <b>Warning</b>: Cannot modify header information - headers already sent by > (output started at /var/www/nfa/incphp/common.php:101) in > <b>/var/www/nfa/map.phtml</b> on line <b>49</b><br /> > > > -- > -beppe- ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users