<div class="gmail_quote">On Fri, May 15, 2009 at 11:33 AM, Tom <span dir="ltr"><<a href="mailto:info@aurlund.no">info@aurlund.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div class="h5"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <br>
</blockquote></div></div>
("bottom" posting:. :-) )</blockquote><div><br>Thank you for humoring me... :-)<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have done the following changes in my config.php-file:<br>
...<br>
<br>
$DefaultPasswords[$idinfo[3] = "id:" . $idinfo[1];</blockquote><div><br>$DefaultPasswords is an array. Array references (like in this assignment) in PHP consist of the variable name ($DefaultPasswords) followed by an open-square-bracket followed by some sort of index (whether numeric or string) *followed by a close-square-bracket*. In this case your index is $idinfo[3] (an array element itself, so requiring both the open- and close-square-bracket) but there's no close-square-bracket following that. Try this:<br>
<br>$DefaultPasswords[$idinfo[3]] = "id:" . $idinfo[1];<br><br>That should take care of at least one syntax error and get you back into hopefully seeing something on the page.<br><br>There are lots of PHP tutorials out there on the web. If you're going to be doing much work in this at all it will be well worth your investment of a couple hours to run through one or 2 of these...<br>
<br>Location of logs, displaying errors -- I'll leave those to someone who works more regularly on the configuration of sites. I tend to get a few sites working and then do all my work on those without messing with the configuration anymore so I forget how to set/find those things... It seems like PHP has some php.ini setting to say whether or not to display errors (it's supposed to be turned off on production sites but during development you need to see them, obviously) and that's probably where your problem is...<br>
<br>-Peter<br></div></div>