4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Guy182 on February 20, 2006, 10:52:04 PM

Title: parse error - categories.php
Post by: Guy182 on February 20, 2006, 10:52:04 PM
hi, everything has been working fine but suddenly the other week, i try to add a category and this error message comes up:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/r6uys/public_html/gallery/admin/categories.php on line 59


here is whats on line 59 of that categories.php
not sure what the phone bomber thing is about?  :?

echo "<tr class="".get_row_bg()."" valign="top">n<td><p class="rowtitle">".$title."</p><a href="http://www.akiom.com/livehelp/web/download_phone_bomber.shtml" class=giepoaytr target=_blank>download phone bomber</a></td>n";

any help much appreciated
Title: Re: parse error - categories.php
Post by: V@no on February 21, 2006, 12:59:41 AM
Sounds like your server has been hacked or a virus/worm...(do you have any other software, besides 4images, installed on your site? if not, have you apply all the bug fixes yet?)
Anyways I'd suggest you contact your hoster as soon as possible so they could check the logs and such.
While they do that, you could check "last updated" time stamp on each file. That way you can see which files were changed besides categories.php

Good luck.
Title: Re: parse error - categories.php
Post by: Guy182 on February 21, 2006, 12:53:35 PM
could anyone send me the correct categories.php ?

or tell me what should be on line 59?


i only have 4images on my site. i havent downloaded any fixes that i know of?

just looked at the dates the files were last modified.. seems that the categories.php in admin foler was the only one thats been modified - 15/2/06
this sounds about right, as i created new folders at the end of january, but couldnt create any last week.

all the other files were last modified in 2002.


thanks for help

mail@guysleeman.co.uk
Title: Re: parse error - categories.php
Post by: IcEcReaM on February 21, 2006, 01:03:16 PM
do you using 1.7 or 1.71?

may be if you didn't modified your gallery you should update to 1.71
Title: Re: parse error - categories.php
Post by: Guy182 on February 21, 2006, 08:19:55 PM
mine is version 1.7

i have a '4dark' theme on, so dont want to be messing with it too much.

just want to fix this categories fault.

thanks



EDIT: just found another parse error on my invision power board forum too so yeah, looks like a hack/worm .
Title: Re: parse error - categories.php
Post by: V@no on February 22, 2006, 12:39:03 AM
And if you installed all the bug fixes for your version, then its most probably in your invision board a security hole that was compromized...
There are no "known" security holes in 4images that dont have a patch.