>
>> PHP config to run testSwarm :
>>
>> short_open_tag = on
>
> Yeah, I should probably change that - it's been deprecated, if I
> remember correctly - feel free to file a bug!

Ok I'll feel a bug for this. Sorry for submitting boring things.

>> error_reporting = E_ALL & ~E_NOTICE
>
> Hmm, ok - probably better to just fix the errors and warnings on my
> end -  do you have a list of which errors/warnings are popping up?

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 :)

>> Apache config :
>>
>> - testSwarm must be executed on a dedicated virtualHost (no alias, or
>> there's adaptations to do)
>
> How do you mean? Can you expand on this?

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).


Nico

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to