Page 1 of 1

unexpected T_VARIABLE ???

Posted: Mon 10. Nov 2003, 16:42
by Moozie
Oliver,

I get 2 (I think) small errors:

Error 1
Now that the Imagick works I get the following error when clicking om a thumbnail in the admin.

He shows the image correctly and displays the other info in the popup, but an error is shown in de top of the popup. Is shows:

Code: Select all

Parse error: parse error, unexpected T_VARIABLE in /home/httpd/vhosts/mydomain.nl/httpdocs/phpwcms/include/inc_lib/autolink.inc.php on line 79
When I open the source of the popup with the picture info and the enlarged picture it starts with.

Code: Select all

<br />
<b>Parse error</b>:  parse error, unexpected T_VARIABLE in <b>/home/httpd/vhosts/mydomain.nl/httpdocs/phpwcms/include/inc_lib/autolink.inc.php</b> on line <b>79</b><br />
<html>
<head>
<title>phpwcms: file info</title>

And error 2:
When I have a description and keywords entered at a picture I get an extra error in the popup, that shows underneath the picture and keywords:

Code: Select all

Fatal error: Call to undefined function: auto_link() in /home/httpd/vhosts/mydomain.nl/httpdocs/phpwcms/fileinfo.php on line 136
Strange is that all the info and picture appears as normal in the popup window...

Do you have any clue on this?

Posted: Tue 11. Nov 2003, 00:06
by Oliver Georgi
This is fixed. My fault.

Oliver

Posted: Tue 11. Nov 2003, 00:14
by Moozie
What do you mean "this is fixed"?

Do I have to update some php files??

On my server it's not fixed ;-)

Posted: Tue 11. Nov 2003, 00:16
by Oliver Georgi
Sorry - you have to download current patched files.


Oliver

Posted: Tue 11. Nov 2003, 00:47
by Moozie
Oliver,

OK, Now I see it. You supply new patches regularly.

I see the patches of yesterday:

patch_10-11-2003_b.zip 8.97 KB
patch_10-11-2003_a.zip 3.58 KB
patch_10-11-2003.zip 3.26 KB

But do I need to install all 3 these patches? Or just the last one?

Posted: Tue 11. Nov 2003, 00:55
by ruben
just download the patch_10-11-2003.zip and upload those files, i had the same problem and this fix 'fixes' it.

Ruben

Posted: Tue 11. Nov 2003, 00:59
by Oliver Georgi
Download every patch file - every fixes a little bit more ;-)