Re: iconv switch
Neil Broers <neil-4/[email protected]> Mon, 22 Aug 2005 14:15:38 +0200
| Newsgroups | gmane.comp.lib.binarycloud.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============0485561478== Content-Type: multipart/alternative; boundary="------------080702060107020703000209" This is a multi-part message in MIME format. --------------080702060107020703000209 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Finally got the test site working (if you could call it that). For some reason the echo logger was not printing to the screen properly and I just kept getting the timeout error time after time (excuse the pun). I'm not even sure what exactly I did, but I eventually got the echo logger to print. So it turns out BC is trying to create some directories in C:\binarycloud\testsite\tmp but is failing, even though the web server user has recursive write permissions on the BC directory... So I created the following directories: C:\binarycloud\testsite\tmp C:\binarycloud\testsite\tmp\cache C:\binarycloud\testsite\tmp\cache\conf C:\binarycloud\testsite\tmp\cache\ndf C:\binarycloud\testsite\tmp\cache\ndf\en_US C:\binarycloud\testsite\tmp\cache\php C:\binarycloud\testsite\tmp\cache\php\en C:\binarycloud\testsite\tmp\smarty C:\binarycloud\testsite\tmp\smarty\bin C:\binarycloud\testsite\tmp\smarty\bin\en_US C:\binarycloud\testsite\tmp\smarty\cache\en_US At some point it seems BC then created the following additional folders with no problems: C:\binarycloud\testsite\tmp\smarty\cache\de_AU C:\binarycloud\testsite\tmp\smarty\bin\de_AU (And a range of temp cache directories) After running BC again it turns out it needs a database too, so I create the database using scripts in the SQL folder and creating the MySQL user to access it. So finally the test site pops up with a menu system at the top and page content at the bottom... Is the page content not supposed to be to the right of the menu? And then, the shocker - clicking on some links actually crashed Apache! I have never seen this happen (and didn't think it was possible :)) I have no idea how to begin debugging this, except I saw somewhere that the error was relevant to some php4 dll... regards, Neil Jean-Christophe Michel wrote: >Neil Broers wrote: > > >>Warning: >>file_get_contents(c:\binarycloud/binarycloud/init/binarycloud.conf.xml): >>failed to open stream: Permission denied in >>c:\binarycloud\binarycloud\conf\XmlConfContainer.php on line 92 >> >>(This repeats until the server times out after 30 s) >> >>The file in question has full permissions by everyone... >> >>I'm not sure if it's the mix of "/" and "\" causing the problem but I >>suspect that DIRECTORY_SEPARATOR should be used in any case for >>consistency. >> >> > >Try to check the archives about this problem (I don't use Windows). Did >you enter your constants in binarycloud.php with / ? >Anyway I cannot think this error is linked to the iconv switch I added ;-) > > > >>Also, after turning on logging, the Warning messages disappear and I get >>the same timeout error I got previously. Now where are the log files >>actually stored so that i can post them here?? >> >> > >They are not stored by default. Configure your conf/loggers.conf.xml. > >PS: sorry, I'm far from a fast connection. I'll be more responsive in >four days when I'm back. > > --------------080702060107020703000209 Content-Type: text/html; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-15" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Finally got the test site working (if you could call it that).<br> <br> For some reason the echo logger was not printing to the screen properly and I just kept getting the timeout error time after time (excuse the pun). I'm not even sure what exactly I did, but I eventually got the echo logger to print. <br> <br> So it turns out BC is trying to create some directories in C:\binarycloud\testsite\tmp but is failing, even though the web server user has recursive write permissions on the BC directory...<br> <br> So I created the following directories:<br> C:\binarycloud\testsite\tmp<br> C:\binarycloud\testsite\tmp\cache<br> C:\binarycloud\testsite\tmp\cache\conf<br> C:\binarycloud\testsite\tmp\cache\ndf<br> C:\binarycloud\testsite\tmp\cache\ndf\en_US<br> C:\binarycloud\testsite\tmp\cache\php<br> C:\binarycloud\testsite\tmp\cache\php\en<br> C:\binarycloud\testsite\tmp\smarty<br> C:\binarycloud\testsite\tmp\smarty\bin<br> C:\binarycloud\testsite\tmp\smarty\bin\en_US<br> C:\binarycloud\testsite\tmp\smarty\cache\en_US<br> <br> At some point it seems BC then created the following additional folders with no problems:<br> C:\binarycloud\testsite\tmp\smarty\cache\de_AU<br> C:\binarycloud\testsite\tmp\smarty\bin\de_AU<br> (And a range of temp cache directories)<br> <br> After running BC again it turns out it needs a database too, so I create the database using scripts in the SQL folder and creating the MySQL user to access it.<br> <br> So finally the test site pops up with a menu system at the top and page content at the bottom... Is the page content not supposed to be to the right of the menu?<br> <br> And then, the shocker - clicking on some links actually crashed Apache! I have never seen this happen (and didn't think it was possible :)) I have no idea how to begin debugging this, except I saw somewhere that the error was relevant to some php4 dll...<br> <br> regards,<br> Neil<br> <br> Jean-Christophe Michel wrote: <blockquote cite="mid4308F161.2010105-/aRvmaKoZxNWk0Htik3J/[email protected]" type="cite"> <pre wrap="">Neil Broers wrote: </pre> <blockquote type="cite"> <pre wrap="">Warning: file_get_contents(c:\binarycloud/binarycloud/init/binarycloud.conf.xml): failed to open stream: Permission denied in c:\binarycloud\binarycloud\conf\XmlConfContainer.php on line 92 (This repeats until the server times out after 30 s) The file in question has full permissions by everyone... I'm not sure if it's the mix of "/" and "\" causing the problem but I suspect that DIRECTORY_SEPARATOR should be used in any case for consistency. </pre> </blockquote> <pre wrap=""><!----> Try to check the archives about this problem (I don't use Windows). Did you enter your constants in binarycloud.php with / ? Anyway I cannot think this error is linked to the iconv switch I added ;-) </pre> <blockquote type="cite"> <pre wrap="">Also, after turning on logging, the Warning messages disappear and I get the same timeout error I got previously. Now where are the log files actually stored so that i can post them here?? </pre> </blockquote> <pre wrap=""><!----> They are not stored by default. Configure your conf/loggers.conf.xml. PS: sorry, I'm far from a fast connection. I'll be more responsive in four days when I'm back. </pre> </blockquote> <br> </body> </html> --------------080702060107020703000209-- --===============0485561478== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dev mailing list dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected] http://lists.binarycloud.com/mailman/listinfo/dev --===============0485561478==--