> Ok I'll feel a bug for this. Sorry for submitting boring things.
That's ok - always good to refine the code base.
> I think I met just 2 kinds of messages (notices) :
>
> - undefined index (testing a table value without checking if it as been set)
> example : index.php, line 12
> $state = preg_replace("/[^a-z]/", "", $_REQUEST['state']);
> should be something like :
> $state = preg_replace("/[^a-z]/", "", isset($_REQUEST['state']) ?
> $_REQUEST['state'] : '');
>
>
>
> - undefined variable (trying to echo a variable which is sometimes not
> defined).
> example : index.php, line 38 :
> <?= $scripts ?>
> $script is not always defined. a simple isset test can solve this too :
> <?= isset($scripts) ? $scripts : '' ?>
>
> If you set your server to strict error reporting, you'll be warn for
> them. and if you install xdebug as I did, you can't miss the big
> orange messages :)
Unnnfff... lame. Ok, feel free to file a bug and I'll check in to it, as well.
> I first installed testSwarm in a folder on an existing virtualHost (so
> the URL was : http://myhost/testswarm/ ). Than I had a lot of 404
> errors on css, js and image files because they are called with a path
> starting with / (exemple : /css/site.css).
> It's not a big deal to change the paths, but it would be nice if their
> was nothing to change. It's more encouraging for beginners to get
> something working out of the box :) (and it's easier than to update).
Ah, yes. I'll make a note of it in the install docs and see if I make
some tweaks to make it possible to run in a directory.
Thanks for all the feedback!
--John
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TestSwarm" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/testswarm?hl=en
-~----------~----~----~----~------~----~------~--~---