unexpected T_VARIABLE ???

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

unexpected T_VARIABLE ???

Post 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?
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

This is fixed. My fault.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

Post by Moozie »

What do you mean "this is fixed"?

Do I have to update some php files??

On my server it's not fixed ;-)
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Sorry - you have to download current patched files.


Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Moozie
Posts: 164
Joined: Sat 8. Nov 2003, 00:21
Location: Netherlands

Post 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?
ruben
Posts: 29
Joined: Mon 10. Nov 2003, 21:58
Location: Norway

Post 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
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Download every patch file - every fixes a little bit more ;-)
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply