vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Anti-Spam Options - [GlowHost] Spam-O-Matic - Spam Firewall stops forum spam (https://vborg.vbsupport.ru/showthread.php?t=248042)

Phalynx 08-14-2010 04:52 PM

PHP Parse error: parse error in \includes\functions_newpost.php (433) : eval()'d code on line 11

This happens by creating a new post within vBulletin 4.0.6 Suite.

I disable the hook newpost_process of you hack for now as it did double posts and print this message.

fluidswork 08-14-2010 05:18 PM

Thanks very much for this mod ...

TheLastSuperman 08-14-2010 05:25 PM

Quote:

Originally Posted by solboy (Post 2083729)
If you create a mod for vb 4.0 and users post an error in the same thread then it should be obvious which version they are using. The mod should work in all 4.0+ forums. No worries though. I found a way to remove the mod completly. You should test this thing out some more before offering it.

Well barring my previous comments... your statement is only half true... basically one of us can create a mod but if something default in vBulletin changes from one version to the next then the mod must be recoded. Otherwise since your half way there we could simply say well heck if that was the case nearly all 3.x mods should work on 4.x, it's only a one number difference! J/K of course as we all know syntax changes in the least took place lol so just bare in mind those things are needed when de-bugging. I do think though if your having to upgrade a mod for let's say 4.0.6 then you should leave the old .zip and specify which version of the mod works on which version of vBulletin unless the update remedies the errors in all current versions.

Quote:

Originally Posted by Phalynx (Post 2083823)
PHP Parse error: parse error in \includes\functions_newpost.php (433) : eval()'d code on line 11

This happens by creating a new post within vBulletin 4.0.6 Suite.

I disable the hook newpost_process of you hack for now as it did double posts and print this message.

See solboy, as Phalanx posted it's only 4.0.6 Suite for him, this might not be an issue on 4.0.5.

utahraves 08-14-2010 10:17 PM

I am using 4.0.6 suite and experience this when replying to a thread:
I use Firefox 3.6.8

Parse error: syntax error, unexpected T_BOOLEAN_OR in /serverpath/includes/functions_newpost.php(433) : eval()'d code on line 31

Then creating a new thread I get:

Parse error: syntax error, unexpected T_BOOLEAN_OR in /serverpath/includes/functions_newpost.php(433) : eval()'d code on line 31

Parse error: syntax error, unexpected T_BOOLEAN_OR in /serverpath/includes/class_dm_threadpost.php(1766) : eval()'d code on line 4

Unable to add cookies, header already sent.
File: /serverpath/functions_newpost.php(433) : eval()'d code
Line: 31

Disabling until resolved.

Snookieboy 08-15-2010 12:31 AM

Quote:

Originally Posted by GlowHost.com (Post 2083175)
Thanks.

Yes that is possible, do you have an example of the old mod so I can see how it was handled?

Yeah sure, the old mod we use to use on VB3.8 was:
https://vborg.vbsupport.ru/showthread.php?t=184757

Dude, thank you so much for considering this, if we can just get it to deny posts with an error message instead of sending to moderation, it would save having to go through a daily moderation queue of over 100 posts! :)

sas forum 08-15-2010 03:20 PM

Fixed when I installed the V 1.2.2 Update. Thanks.


I am running VB 4.05 and installed the updated version of this mod this morning. I went to create a new thread and received an error which was not showing before the update.

Here is the info I received. I tried to create multiple threads and received the same error each time. I have disabled the product and I do not get the error anymore.

Hope this info helps if there is some sort of bug. I can turn it back on again and check other stuff if needed.

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

Parse error: syntax error, unexpected T_BOOLEAN_OR in /home/domain/public_html/community/includes/functions_newpost.php(433) : eval()'d code on line 5

Parse error: syntax error, unexpected T_BOOLEAN_OR in /home/domain/public_html/community/includes/class_dm_threadpost.php(1795) : eval()'d code on line 4
Domain.com Message

Unable to add cookies, header already sent.
File: /home/domain/public_html/community/includes/functions_newpost.php(433) : eval()'d code
Line: 5


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

Update. I guess I am not the only one that got the error. I just checked my emails and some members said they got the same error. They said the first time they went to post, they got a white screen with the above error. they hit the back button and submtited the post again, receiving the error again, but the post successfully posted.

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

Fixed when I installed the V 1.2.2 Update. Thanks.

cfish 08-15-2010 03:56 PM

I was hoping to upgrade to vB4.0.6 this weekend but I'm finding this product so useful that I'm delaying the upgrade until this issue is resolved.

Can you give us an idea how soon this will be done?

GlowHost.com 08-15-2010 04:21 PM

Version 1.2.2 has been released.

* Log System Improvements
* Fixed a bug with facebook
* fixed a bug with advanced post
* Code Optimizations

sas forum 08-15-2010 04:34 PM

Quote:

Originally Posted by GlowHost.com (Post 2084321)
Version 1.2.2 has been released.

* Log System Improvements
* Fixed a bug with facebook
* fixed a bug with advanced post
* Code Optimizations

FYI: Went to download, but it says "No files uploaded" where the donwload links would be.

GlowHost.com 08-15-2010 04:48 PM

Try it now.


All times are GMT. The time now is 02:13 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.03285 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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