vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - [OzzModz] Change Forumrow Color On Mouseover (https://vborg.vbsupport.ru/showthread.php?t=314297)

ozzy47 10-12-2014 12:01 AM

Do you get that error editing any other stylevars?

gajinoz 10-12-2014 03:36 AM

That error happens as soon as I try to open the editor. In the screen shot you can see where I try to open it, (clicking on the go button). Soon as I do that the error happens.

Max Taxable 10-12-2014 04:26 AM

Quote:

Originally Posted by gajinoz (Post 2518513)
Parse error: syntax error, unexpected $end in /home/XXXXXX/public_html/vb4/admincp/stylevar.php on line 1587

Not your problem, I know, but if you have any ideas I'd appreciate your advice.

Open that file using Notepad++ and see what's on the line indicated. Paste it here.

ozzy47 10-12-2014 08:57 AM

Actually 10 lines before and after that line number, so c/p lines 1577 through 1597

gajinoz 10-12-2014 10:29 PM

OK guys, here is 1574 to the end of the file 1586. Line 1587 appears to be blank.

print_form_header('stylevar', 'dorevertall');
print_table_header($vbphrase['revert_all_stylevars']);
print_description_row("
<blockquote><br />
" . construct_phrase($vbphrase["revert_all_stylevars_from_style_x"], $style['title'], $stylevarlist) . "
<br /></blockquote>
");
construct_hidden_code('dostyleid', $style['styleid']);
print_submit_row($vbphrase['yes'], 0, 2, $vbphrase['no']);
}
}
else
{

Thanks for your help.

gajinoz 10-12-2014 10:42 PM

Hmmmmm.... this is interesting, I just looked at the original file and it has this from line 1587 on:

---------------------------------

print_stop_message('invalid_style_specified');
}
}

print_cp_footer();

/*================================================= =====================*\
|| ################################################## ##################
|| # Downloaded: 18:32, Fri Oct 21st 2011
|| # CVS: $RCSfile$ - $Revision: 42666 $
|| ################################################## ##################
\*================================================ ======================*/

---------------------------

I have no idea why it would be missing from the currently active one!

Should I simply copy this stuff over and see how it goes, or might that cause other problems?

ozzy47 10-12-2014 10:50 PM

I would download a copy of the version you are running from vB.com, and upload admincp/stylevar.php and see what happens.

Max Taxable 10-12-2014 10:51 PM

Quote:

Originally Posted by ozzy47 (Post 2518601)
I would download a copy of the version you are running from vB.com, and upload admincp/stylevar.php and see what happens.

Yep, overwrite the file from the original.

gajinoz 10-12-2014 11:08 PM

OK, great work guys, that seems to have fixed it. No idea how the file got corrupted, I've never fiddled with it.

Thanks very much for your help, greatly appreciated. :up:

ozzy47 10-12-2014 11:09 PM

Glad to hear it is sorted, and thanks for reporting back. :)


All times are GMT. The time now is 09:11 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01118 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete