Recent Topics

1 Oct 20, 2007 18:53    

My b2evolution Version: Not Entered

Hello everybody,
I installed (brand new) b2evolution 2.0.2 (and I migrated my blog from wordpress - b2 seems so much better!); I have, though, some problems, one of them is this:

under Global settings->install skins it says (for each skin)

Parse error: syntax error, unexpected T_DNUMBER, expecting ',' or ';' in /....my-blog/inc/_core/ui/results/_results.class.php(1167) : eval()'d code on line 1


and this is the _results.class.php

1164  // Contents to output:
1165				$output = $this->parse_col_content( $col['td'] );
1166				#pre_dump( '{'.$output.'}' );
1167				eval( "echo '$output';" );

This prevents me from uninstalling skins etc.

And I get exactly the same message under User Management (for each user).

Thanks

2 Oct 21, 2007 18:05

The first thing I'd try is grabbing a fresh copy of the zip and re-uploading the whole of the inc folder.

¥

3 Oct 21, 2007 18:40

thanks for the tip. It didn't do the trick, though, I get the same messages.

4 Oct 21, 2007 18:49

The next thing I'd probably try is un-commenting line 1166 ( just delete the # ), and seeing what the answer is ;)

¥

5 Oct 21, 2007 19:08

nope, doesn't work.
My question would be, anyway, if that commented line creates the problem, wouldn't it create the problem for all users, since it's an unaltered php file?

6 Oct 22, 2007 09:26

Uncommenting that line will show you what the next line is trying to evaluate ( which is the line that's throwing the error ).

¥

7 Oct 22, 2007 19:03

I should have mentioned, it shows the same error.

8 Oct 23, 2007 15:56

You get the same error from the uncommented line or you get the same error on the same line?

If it's the latter then you should also see a box above it that shows you what is being fed to the next line.

¥

9 Oct 23, 2007 18:58

error from the same line, and yes, I get this in the box:

string(1164) "{<a  href="'.regenerate_url( '', 'skin_ID='.format_to_output($row->skin_ID).'&amp;action=edit').'" title="Edit skin properties..." class="action_icon"><img src="http://oregonstate.edu/'.7E


more or less, I am not sure I could copy the whole content of the box

10 Oct 23, 2007 19:03

The whole content of the box would be useful

¥

11 Oct 23, 2007 19:23

okay, I got the whole box in IE :D
here it is. What I see wrong off the bat is how the address is rendered; the adress is oregonstate.edu/~dogaruc, etc (with a tilde). In address bar is rendered http://oregonstate.edu/%7Edogaruc/ta... (I guess %7E is the hex code for ~), but in the box i see it as '.7E...

string(1164) "{<a  href="'.regenerate_url( '', 'skin_ID='.format_to_output($row->skin_ID).'&amp;action=edit').'" title="Edit skin properties..." class="action_icon"><img src="http://oregonstate.edu/'.7Edogaruc/tapirul-blog/rsc/icons/properties.png" border="0" align="top" width="18" height="13"  title="Edit skin properties..." alt="Properties"/></a><a  href=".'regenerate_url( '', 'skin_ID='.format_to_output($row->skin_ID).'&amp;action=reload')'." title="Reload containers!" class="action_icon"><img src="http://oregonstate.edu/.'7Edogaruc/tapirul-blog/rsc/icons/reload.gif" border="0" align="top" width="15" height="15"  title="Reload containers!" alt="Reload"/></a>'.conditional( $row->nb_blogs < 1, '<a  href="'.regenerate_url( '', 'skin_ID='.format_to_output($row->skin_ID).'&amp;action=delete').'" title="Uninstall this skin!" class="action_icon"><img src="http://oregonstate.edu/'.7Edogaruc/tapirul-blog/rsc/icons/delete.gif" border="0" align="top" width="15" height="15"  title="Uninstall this skin!" alt="Del"/></a>', '<img src="http://oregonstate.edu/.'7Edogaruc/tapirul-blog/rsc/icons/blank.gif" border="0" align="top" width="15" height="15"  class="no_icon"/>' ).'}"

14 Nov 01, 2007 08:45

thanks, they are (they were from the beginning, actually). Changing _locales.php did the trick with the romanian characters, however, this seems to be a different issue, namely how the address is rendered in that particular script ('.7E instead of %7E). I don't get other errors, only the one related to that line in _results.class.php. I was wondering if somebody can point to the file I might need to edit.


Form is loading...