vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Plugin Accelerator (https://vborg.vbsupport.ru/showthread.php?t=107315)

Trigunflame 02-10-2006 07:02 AM

Quote:

Originally Posted by Reef
This is a great concept Trigunflame, I would love to improve speed any way possible but this killed my board after running Rebuild Hooks + Plugins.

After running those I recieved this error on every page I tried loading

Code:

Parse error: parse error, unexpected ']' in /home/rplace/public_html/board/includes/functions.php on line 4353

I ended up having to replace the php files with backups since I couldn't reload the page to try uninstalling it.

Thanks, ya this is a really tough hack to perfect due to the regexp involved, ive already spent many hours on it.

I know this may be difficult for you, but it would really help me fix this problem. If you could install the hack again and run it; if the problem happens again save that file and rename to .txt and upload it as an attachment here; and also attach your backup copy of the same file that way I can do a Text Diff on it to see whats actually being changed.

I really want to get problems like these solved as this hack has a lot of potential to make the Vbulletin Plugin System Good; ive done lots of test on my own and other forums and while very rare.. problems like yours has occured; so hopefully I can fix it for you.

eNforce 02-10-2006 07:05 AM

I wouldn't know what to look for when you say weird HTML in the source, but no I'm not getting any errors of any sort :)

Click , it works just fine when placed under navbar just no where else :surprised:

Trigunflame 02-10-2006 07:10 AM

Quote:

Originally Posted by eNforce
I wouldn't know what to look for when you say weird HTML in the source, but no I'm not getting any errors of any sort :)

Click , it works just fine when placed under navbar just no where else :surprised:

Turn the compression hack off, "Uncompress Templates", so I can actually read the HTML.. lol

Then place it under the forums I believe you said; see what we have then..

Hmm the shoutbox appears.. im not registered though, i imagine it gives you someway to input text.

eNforce 02-10-2006 07:14 AM

Okay, I uncompressed and put shoutbox at the bottom, now it's showing :)

So maybe it's the template compressor's fault not the plugin accel :squareeyed:

Well, I'm just confused now

Trigunflame 02-10-2006 07:15 AM

Quote:

Originally Posted by eNforce
Okay, I uncompressed and put shoutbox at the bottom, now it's showing :)

So let me get this straight, it works fine as long as its uncompressed? But when you compress it, it only works at the top?

Ya this is a template compressor problem -_-, lets go back over there.

Reef 02-10-2006 07:19 AM

lol. got your hands full with releasing these 2 at once...

I did the reinstall as requested and recieved the same errors again.. This time I only replaced functions.php with the original and everything is loading so far..

I will zip and PM you a link to those files requested as someone would throw a fit if I posted original vb code here :(

Trigunflame 02-10-2006 07:22 AM

Quote:

Originally Posted by Reef
lol. got your hands full with releasing these 2 at once...

I did the reinstall as requested and recieved the same errors again.. This time I only replaced functions.php with the original and everything is loading so far..

I will zip and PM you a link to those files requested as someone would throw a fit if I posted original vb code here :(

Really? I dont see why, you have to be licensed to download an attachment anyway I believe.

But either works, thanks.

Zia 02-10-2006 07:53 AM

dear coder...

when we can accept final version will be relase...
i trust this & Compress Forum Templates
together will be a grate things..

thnx

Trigunflame 02-10-2006 09:04 AM

Update

Critical Bug Fix, dealing with code with double backslashes \\ creating parse errors, it was kicking my butt determining the source of the error, but its now fixed; thats gonna solve a LOT of problems for anyone that had trouble in the past.

If you have installed this hack in the past, download the new Release Immediately, just replace the class_plugin_accelerator.php with the new one.

goyo 02-10-2006 04:43 PM

Thank You Trigunflame

This is the biggest Vb optimization for 3.5.x branch! No problems so far...

Combined with template compressor it's accelerated around 15-30% (on reply's and searches more, on showthread, index less but still visible...)
Now with over 500 concurrent users our board actually stays usable...it means you can download a page in less than a minute :nervous: .

Thank You once again... :)

Trigunflame 02-10-2006 08:08 PM

Quote:

Originally Posted by goyo
Thank You Trigunflame

This is the biggest Vb optimization for 3.5.x branch! No problems so far...

Combined with template compressor it's accelerated around 15-30% (on reply's and searches more, on showthread, index less but still visible...)
Now with over 500 concurrent users our board actually stays usable...it means you can download a page in less than a minute :nervous: .

Thank You once again... :)

Hopefully that fix last night weeded out any further problems we might have.

Zia 02-11-2006 02:11 AM

Quote:

Originally Posted by Trigunflame
Update

Critical Bug Fix, dealing with code with double backslashes \\ creating parse errors, it was kicking my butt determining the source of the error, but its now fixed;

Thnx Man....:)

Gizmo5h1t3 02-11-2006 08:57 AM

not sure its working as surely as you are mate, i installed it as per instructions, changed all perms on every file listed in the hooks file.....and enabled it.

first i was presented with a parse error, with Tstrings and whitespace errors all over the place, then when i disabled, and re enabled, the board came on, but the forumhome looked like it had been ravaged by feature eating animals....ie.....nothing was wrrking as it should....lol

Trigunflame 02-11-2006 09:15 AM

Quote:

Originally Posted by Gizmo5h1t3
not sure its working as surely as you are mate, i installed it as per instructions, changed all perms on every file listed in the hooks file.....and enabled it.

first i was presented with a parse error, with Tstrings and whitespace errors all over the place, then when i disabled, and re enabled, the board came on, but the forumhome looked like it had been ravaged by feature eating animals....ie.....nothing was wrrking as it should....lol

Which plugins do you have installed; the files that reported the parse errors can you keep 2 copies, 1 after its been modified (and has the problems, just rename it and place it elsewhere and the original file along with it. You could zip both of these up and upload them somewhere; just PM me with the info.

After I exam the files that are corrupted I will make the appropriate fixes to the hack.

Thanks for the report.

Ps. Did the problem occur after enabling, build all hooks, or build all plugins

Gizmo5h1t3 02-11-2006 09:31 AM

i have absolutely LOADS of stuff installed...probably too much to be honest....

the fiel that reported the parse error, strangely was global .php in the root....which to my knowledge isnt altered with your hack....

also, it gave the error on line 1135, which is weird, as my global.php in the root only has 700 odd lines....lol

the problem occurs after enabling the hack, when ive clicked on "build all hooks"....

the board still shows, but with everything missing on forumhome from all my installed hacks..the tables are all still there, but no content....

then, when i click "build all plugins".....i get the weird parse error in the root/global.php.

weird

ive uninstalled it for now

Trigunflame 02-11-2006 09:36 AM

Quote:

Originally Posted by Gizmo5h1t3
i have absolutely LOADS of stuff installed...probably too much to be honest....

the fiel that reported the parse error, strangely was global .php in the root....which to my knowledge isnt altered with your hack....

also, it gave the error on line 1135, which is weird, as my global.php in the root only has 700 odd lines....lol

the problem occurs after enabling the hack, when ive clicked on "build all hooks"....

the board still shows, but with everything missing on forumhome from all my installed hacks..the tables are all still there, but no content....

then, when i click "build all plugins".....i get the weird parse error in the root/global.php.


weird

ive uninstalled it for now

build_hooks.php lists all files to be modified and global.php is one of them. Please create a zip file containing the modified global.php after you "rebuild all plugins" as well as your backed up version of global.php and send me a link to it via private message.

Thanks.

cd1986 02-11-2006 01:37 PM

Worked well, other than it stopped Dean C's URL re-write mod from working when active, so i've had to disable it for now. Also had to disable the template compressor for the same reason (both affect the url re-write independantly of each other).

derekivey 02-11-2006 01:39 PM

Looks interesting, Thanks!

/me clicks install.

yxboom 02-11-2006 05:50 PM

Quote:

Originally Posted by Trigunflame
build_hooks.php lists all files to be modified and global.php is one of them. Please create a zip file containing the modified global.php after you "rebuild all plugins" as well as your backed up version of global.php and send me a link to it via private message.

Thanks.

after installing, enabling and rebuilding as per instructions. my forumdisplay page is empty. no error, no complaints, just an empty page.

Trigunflame 02-11-2006 06:32 PM

Quote:

Originally Posted by cd1986
Worked well, other than it stopped Dean C's URL re-write mod from working when active, so i've had to disable it for now. Also had to disable the template compressor for the same reason (both affect the url re-write independantly of each other).

Again as I said to the other person, plz make copies of the affected files along with their backed up version, zip, and upload for me to review.

Thankyou.

Trigunflame 02-11-2006 06:33 PM

Quote:

Originally Posted by yxboom
after installing, enabling and rebuilding as per instructions. my forumdisplay page is empty. no error, no complaints, just an empty page.

Again as I said to the other person, plz make copies of the affected files along with their backed up version, zip, and upload for me to review.

Thankyou.

Alex_ 02-11-2006 07:11 PM

Just installed it and I'm quite happy with this but one plugin does not work.

It seems your code does strip one slash that shouldn't be stripped...

I uploaded you two files with the old plugin code and the code that was produced by your script.
It loses the slash in front of the $varname I guess...

Trigunflame 02-11-2006 08:42 PM

Quote:

Originally Posted by Alex_
Just installed it and I'm quite happy with this but one plugin does not work.

It seems your code does strip one slash that shouldn't be stripped...

I uploaded you two files with the old plugin code and the code that was produced by your script.
It loses the slash in front of the $varname I guess...

That doesnt help much bro, when you attach as txt files slashes are added; put them in a zip file and use a free filehosting service to upload. Thanks :)

Trigunflame 02-11-2006 08:52 PM

Update:

Fixed another problem with backslashes, hopefully this will fix some other problems.
To upgrade, just replace the includes/class_plugin_accelerator.php with the new one.

MissKalunji 02-11-2006 10:08 PM

how is that mod going?

Trigunflame 02-11-2006 10:30 PM

Quote:

Originally Posted by MissKalunji
how is that mod going?

Feel free to try it.

lifesourcerec 02-12-2006 01:51 AM

I keep getting this even after I changed it to 777

Quote:

This system needs WRITE access to the specified files listed in /forums/includes/hook_files.php

Please use your FTP Client or other system, and Change Permissions on specified files to 666 or 777 depending on your setup.

yxboom 02-12-2006 02:18 AM

Quote:

Originally Posted by Trigunflame
Again as I said to the other person, plz make copies of the affected files along with their backed up version, zip, and upload for me to review.

Thankyou.

i wasnt intending on being difficult. sorry about that. anyway, seems there is no need to now since the update seems to have resolved the forumdisplay issue i was having. thanks.

Trigunflame 02-12-2006 02:40 AM

Quote:

Originally Posted by lifesourcerec
I keep getting this even after I changed it to 777

There is a "list" of filenames inside includes/hook_files.php that you have to change the permissions on.

Generally chmod all the files in your primary forum directory to 777, then chmod pretty much all of the files inside your forums includes directory (Do Not Chmod your Config File, leave it 755 or whatever it may be).

Trigunflame 02-12-2006 02:51 AM

Quote:

Originally Posted by yxboom
i wasnt intending on being difficult. sorry about that. anyway, seems there is no need to now since the update seems to have resolved the forumdisplay issue i was having. thanks.

You werent being difficult, I was just trying to get everyones problems fixed asap. :)
Glad its working.

Zia 02-12-2006 06:25 AM

:)
Good...really good...things update means more smootness & faster performance for forum :)

Thnx

Alex_ 02-12-2006 06:36 AM

Quote:

Originally Posted by Trigunflame
That doesnt help much bro, when you attach as txt files slashes are added; put them in a zip file and use a free filehosting service to upload. Thanks :)

I don't understand why backslashes are added when you downloading a plain txt file (maybe wrong browser? ;)) - with mine the files look just like they should.
But never mind your latest update did solve this problem for me...

Mudvayne 02-12-2006 06:00 PM

hello after updating this hack i've got an error..

Quote:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /www/*/********/*****/forum/includes/class_bbcode.php on line 348

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /www/*/********/*****/forum/includes/class_bbcode.php on line 35
:(.. Currently i'm disabled the hack..

Trigunflame 02-12-2006 08:43 PM

Quote:

Originally Posted by Shuvo
hello after updating this hack i've got an error..



:(.. Currently i'm disabled the hack..

Cant fix it if you dont provide the affected files.

redspider 02-12-2006 10:22 PM

after install this plugin accelerator and this https://vborg.vbsupport.ru/showthread.php?t=107615
2 things dont work in my forum :
1.who was online last 24 .
2.who is on chat roon .

any ideas?

Andreas 02-12-2006 10:49 PM

Quote:

Originally Posted by Trigunflame
Which plugins do you have installed; the files that reported the parse errors can you keep 2 copies, 1 after its been modified (and has the problems, just rename it and place it elsewhere and the original file along with it. You could zip both of these up and upload them somewhere; just PM me with the info.

Please note that distributing vBulletin files violates the license agreement.

vBulletin.org therefore cannot allow such actions, and the license(es) in question might get revoked.

Trigunflame 02-13-2006 12:19 AM

Quote:

Originally Posted by Andreas
Please note that distributing vBulletin files violates the license agreement.

vBulletin.org therefore cannot allow such actions, and the license(es) in question might get revoked.

I'm not going to argue you with you, but I dont agree :)

From my standpoint, its no different than him giving me access to his server and I get the files myself and perform the diffs that I need to see the problems.

Trigunflame 02-13-2006 12:21 AM

Quote:

Originally Posted by redspider
after install this plugin accelerator and this https://vborg.vbsupport.ru/showthread.php?t=107615
2 things dont work in my forum :
1.who was online last 24 .
2.who is on chat roon .

any ideas?

Those problems have to do with the Template Compressor, please read my first post in that thread.

You probably need to add forumhome to your ignored template settings for the compressor.

MissKalunji 02-13-2006 11:03 PM

so how is this going? is it safe to use? any HUGE bugs?

redspider 02-14-2006 06:10 AM

Quote:

Originally Posted by Trigunflame
Those problems have to do with the Template Compressor, please read my first post in that thread.

You probably need to add forumhome to your ignored template settings for the compressor.

thank you that work for me .


All times are GMT. The time now is 04:45 AM.

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.01359 seconds
  • Memory Usage 1,850KB
  • 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
  • (1)bbcode_code_printable
  • (24)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
  • (40)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