|
Robert Schuster - 2019-04-15 12:24:21
Hallo,
After I had installed the package and won't start the php-script.
I've got then fallowing Message:
Parse error: syntax error, unexpected end of file in /var/www/html/booking/calendar.php on line 727.
Leas could you solf the Problem?
Damir - 2019-04-16 09:17:09 - In reply to message 1 from Robert Schuster
Hi Robert,
it seems that ?> at end of file has been removed somehow.
Just add that at the end of file...
Regards,
DV
Mick89 - 2019-04-16 12:24:16 - In reply to message 2 from Damir
Hello,
Thank you for your class.
I have some PHP errors :
PHP Notice: Uninitialized string offset: 32 in calendar.php on line 483
PHP Notice: Undefined property: calW::$SMJid in calendar.php on line 702
PHP Notice: Undefined offset: 35 in calendar.php on line 234
PHP Notice: Undefined offset: 34 in calendar.php on line 297
PHP Notice: Undefined offset: 35 in calendar.php on line 287
Is it possible to correct these errors?
Thanks!
Mick
Damir - 2019-04-16 21:01:38 - In reply to message 3 from Mick89
Hi Mick,
Notices are not errors.
Ignore them.
Just put on the beginning of the file:
error_reporting( error_reporting() & ~E_NOTICE );
Regards,
DV
Robert Schuster - 2019-04-22 21:24:03 - In reply to message 2 from Damir
Hallo thank You for answer my question.
I' ve recognized that my nginx-machine with fpm-php doesn't accept *.inc-files as include-files.
I renamed the *.inc-file in *.php and there was another problem.
I changed all php-tags you have made in the PHP-Files from a simple "<?" to a "<?php"-tag.
Now all problems have been solved.
Please change this in the php-code, which is downloadable from phpclasses.org, too.
Thank you for the work and code!
With Regards R. Sch.
|