[Cialug] PHP problem, ..

L. V. Lammert lvl at omnitec.net
Fri Feb 12 10:46:18 CST 2010


On Thu, 11 Feb 2010, David Champion wrote:

> The first problem may be related to this...
>
> http://bugs.php.net/bug.php?id=49503
> http://bugs.php.net/bug.php?id=49401
>
> Looks like the quick fix is to make sure you set your session.save_path
> explicitly.
>
> The second problem with the "unexpected $end" can be caused by a lot of
> thing, usually because the code doesn't close a quote or something like
> that. Also check to see if the server is now requiring php long tags
> "<?php" but you're using short tags "<?" some place... including "<?=" in
> place of "<?php echo".
>
Bingo!!! The session.save_path is not related to the syntax error, but
the production server is configured to not use short tags; replacing the
<?'s with <?php's fixed the problem!

Now, if there were a way to push a git update via ftp :-( [the production
server is at Nuvox, and they only allow ftp from a limited number of
clients - not even MC!].

	Thanks!

	Lee


More information about the Cialug mailing list