Calendar error

A place for users and developers of the Xataface to discuss and receive support.

Postby njw » Wed Mar 29, 2006 5:26 am

I'm getting this error when I try to display a form with a date field in it. Any ideas?

Parse error: parse error, unexpected $ in /home/qsgi2ec/public_html/archomai/dataface/HTML/QuickForm/calendar.php on line 1

Many thanks

Neil
njw
 
Posts: 280
Joined: Wed Dec 31, 1969 5:00 pm

Postby njw » Wed Mar 29, 2006 5:29 am

Sorry - forgot to mention that I'm using v 0.5.3
njw
 
Posts: 280
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Wed Mar 29, 2006 8:45 am

It looks like some of the files in the dataface 0.5.3 release had macintosh line endings. This isn''t a problem for most systems but evidently some systems don't like them. I have changed the line endings to unix and released a bug-fix release 0.5.3r1 that contains the corrections.

Please download this release and let me know what happens.
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby njw » Thu Mar 30, 2006 10:00 am

Thanks Steve, but still get the same error message.
njw
 
Posts: 280
Joined: Wed Dec 31, 1969 5:00 pm

Postby njw » Thu Mar 30, 2006 11:24 am

Can you send me a copy of the calendar.php file that you are using? I cannot seem to reproduce this. I have tested on PHP 4.4/Apache2 (Solaris), PHP 5/Apache1.3 (OS X), PHP 5/IIS (Windows XP Pro) and cannot seem to reproduce the error. What system are you using?

I suspect that some artifacts may have been introduced when you uploaded the file to your server. Sometimes FTP can muck things up if you upload text files in binary mode and vice versa.

-Steve
njw
 
Posts: 280
Joined: Wed Dec 31, 1969 5:00 pm

Postby njw » Sat Apr 01, 2006 8:18 am

I am using a Linux server, Apache version 1.3.33 (Unix), PHP 4.3.10, MySQL 4.0.25-standard.

I will email the php file separately.

Many thanks

Neil
njw
 
Posts: 280
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 41 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved