Page 1 of 2

Strange Error with Backend Buttons

Posted: Tue 3. May 2005, 14:50
by plotti
See below:
Image

Posted: Tue 3. May 2005, 14:51
by Pappnase
hello

what should we see there is no image to display! ;-)

Posted: Tue 3. May 2005, 14:58
by plotti
should work now. sorry.

Posted: Tue 3. May 2005, 15:38
by plotti
especially this is in the upper corner of the site:
Image

Posted: Tue 3. May 2005, 15:41
by plotti
and this comment is in the plaintext:
<?= '<!-- '.ACTIVE_REFERER.' //-->' ?>

Posted: Tue 3. May 2005, 15:48
by plotti
PHP Version 4.3.8

Posted: Tue 3. May 2005, 15:54
by pico
Hi

looks like there is somewhere in your php-Code Scripts a semikolon ; is missing or another 'end'-Sign like ' "

Posted: Tue 3. May 2005, 15:58
by Pappnase
hello

i would say upload the whole include folder once again!

Posted: Tue 3. May 2005, 16:17
by plotti
i did it and it did not help :(

perhaps a freh install would help, but thats a lot of work...

Posted: Tue 3. May 2005, 16:45
by Pappnase
hello

i don't think that this is an phpwcms error!
this would be an server error! delete all! reupload all! how did you upload as binary or ascii?

Posted: Wed 4. May 2005, 17:56
by plotti
I uploaded in in mixed mode depending on the files...

Posted: Wed 4. May 2005, 18:00
by plotti
i just found out that i was uploading .js files binary, it might have been the error... i'll report

Posted: Wed 4. May 2005, 18:11
by plotti
does anybody know which files exactly have to be transferred ascii and binary?

Posted: Wed 4. May 2005, 19:40
by plotti
oh wtf is that system about:

I've unpacked a clean version of phpwcms 1.2.1
and have found the bug:

it is in:
articlecontent.list.tmpl.php

in about line 151
the code is:

Code: Select all

<td><input type="submit" name="image" value="<? $BL['be_article_cnt_add'] ?>" class="v10" title="<? $BL['be_article_cnt_addtitle'] ?>"></td>

Seems my Webserver doesnt parse shorttags thats bad news for me.
But why dont you use the normal tags instead?


but it should be:

Code: Select all

<td><input type="submit" name="image" value="<?php echo $BL['be_article_cnt_add'] ?>" class="v10" title="<?php echo $BL['be_article_cnt_addtitle'] ?>"></td>
why the fuck is that error there? Did nobody encouter it before?

Posted: Wed 4. May 2005, 19:59
by pico
Hi

if you use a Apache Server take a look into http.conf and you will see a Paprameter for this. :D or was it in the php.ini :? - can check it tommorrow