vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Advanced Warning System 3.6.7 (https://vborg.vbsupport.ru/showthread.php?t=124477)

Silver_Seagull 06-01-2007 02:46 PM

I can confirm the error with PHP 4.4.4 (and presumably lower)

When posting a message, users receive the error "This post is a duplicate of a post that you have posted in the last five minutes. You will be redirected to that thread."

as well as a server response injected into the page, reading
Code:

Parse error: parse error, unexpected ')' in *real path to forums*\includes\class_dm_threadpost.php(656) : eval()'d code on line 2
4.4.7 may fix it, I'll have to talk at my host today.

Silver_Seagull 06-02-2007 02:47 PM

PHP has been updated on my host and I still receive the same error. I do not have "vBux" installed, or any other hack that would interfere. It throws the error on the default skin as well with all other hacks disabled.

Let me know if I can do anything else to help get this solved.

Delphiprogrammi 06-02-2007 03:12 PM

Quote:

Originally Posted by Silver_Seagull (Post 1259792)
PHP has been updated on my host and I still receive the same error. I do not have "vBux" installed, or any other hack that would interfere. It throws the error on the default skin as well with all other hacks disabled.

Let me know if I can do anything else to help get this solved.

this error message

Quote:

Parse error: parse error, unexpected ')' in ***\httpdocs\forum\includes\class_dm_threadpost.ph p(772) : eval()'d code on line 4
is possible to it is caused by aws the system does use that datamanager

while this one

Quote:

Fatal error: Field vbbux is not defined in $validfields in class vB_DataManager_Post in \includes\class_dm.php on line 485
is impossible to come from the aws system that is as the error messages indicates a problem with vbux (evanoo post)

it is however possible you only get the first one because you don't have vbux installed

try this.Goto in your admincp => product system => plugins manager and temporarly disable the aws plugin at hook postdata_start (set it to inactive) then try again it the error message disappaers we know it's been caused by that plugin

edit

make sure the plugin phpcode for hook postdata_start is

PHP Code:

$this->validfields['title'][VF_CODE] = '$dm->set_info(\'orgtitle\', $data); return $dm->verify_title($data);'
$this->validfields['pagetext'][VF_CODE] = '$dm->set_info(\'orgmessage\', $data); return $dm->verify_pagetext($data);'



there is a difference in the package currently availible i will update it

package has been update with this change

Bravo 06-03-2007 02:38 AM

Delphiprogrammi, do you recommend PHP 4.4.4 or PHP 5.2.2 ? those are the only 2 I can use on my hosting account

Delphiprogrammi 06-03-2007 07:17 AM

Quote:

Originally Posted by Bravo2007 (Post 1260087)
Delphiprogrammi, do you recommend PHP 4.4.4 or PHP 5.2.2 ? those are the only 2 I can use on my hosting account

then i would choose 5.2.2 the depency type has been removed from the package so you should not see vBulletin complaining about the used PHP version.The error message a couple of posts back should be gone to

Bravo 06-03-2007 07:28 AM

Quote:

Originally Posted by Delphiprogrammi (Post 1260178)
then i would choose 5.2.2 the depency type has been removed from the package so you should not see vBulletin complaining about the used PHP version.The error message a couple of posts back should be gone to

ok thanks, I'll re-install it and let you know :)

The Bouncer 611 06-03-2007 08:55 AM

Im having the same issue that bravo2007 is having.I had aws installed and it ran perfectly until I upgraded to the new verison and now I cant edit post.I disabled every hack and still cant edit post.So I went back to the older verison until this issue is fixed.

Celtkin 06-03-2007 02:47 PM

Hi Erik,

I am having the same problem but no longer have vbBux or vbPlaza installed. I get error briefly when someone posts:

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in .../httpdocs/boardvb2/includes/class_dm_threadpost.php(656) : eval()'d code on line 1

ginger22 06-06-2007 12:49 PM

Same error
[06-Jun-2007 17:44:59] PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /hq/site/foo/www/includes/class_dm_threadpost.php(656) : eval()'d code on line 1

[06-Jun-2007 17:46:05] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /hq/site/foo/www/includes/class_dm_threadpost.php(829) : eval()'d code on line 64

I have installed Favorite Smiles, ipInfo, vbAnonymizer.

Delphiprogrammi 06-06-2007 01:10 PM

is that error still there damn it :mad: gonna test it right now

ginger22 06-06-2007 01:16 PM

This error:
[06-Jun-2007 17:44:59] PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /hq/site/foo/www/includes/class_dm_threadpost.php(656) : eval()'d code on line 1
Dissappear when I disabled postdata_start hook.
But, what happend if this be disabled? Or I need to enable this agayn?

Second error still here...

Delphiprogrammi 06-06-2007 01:34 PM

i tested it on my testboard with a post related warning and a non post related warning no errors at all (both of them didn't showed up) the postdata_start hook at wrong code PHP code in it true but you need to manually edit the plugin at that hook and no you need that hook or some data will be missing.I'll see later to package the fix as a plugin that you can import.This is not your fault but mine i forgot to mention you need to manually update that hook otherwise vBulletin will not update it

here it is imprt this through admincp => product system => download/ upload plugins

ginger22 06-06-2007 01:39 PM

The second error will be fixed?

Silver_Seagull 06-06-2007 06:46 PM

I am still getting errors on 4.4.7 after applying the fix and the updated files.

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in C:\<path>\includes\class_dm_threadpost.php(656) : eval()'d code on line 1

and

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\<path>\includes\class_dm_threadpost.php(829) : eval()'d code on line 64

I've disabled all other hacks except this and I am still getting these errors, even on the default skin. Had to disable, since I don't have the old version lying around.

Delphiprogrammi 06-06-2007 09:05 PM

hmmmz,

I do drink much but it doesn't contain any alcohol. :rolleyes:

Code:

this->validfields['title'][VF_CODE] = '$dm->set_info(\'orgtitle\', $data); return $dm->verify_title($data);';
$this->validfields['pagetext'][VF_CODE] = '$dm->set_info(\'orgmessage\', $data); return $dm->verify_pagetext($data);';

should be
Code:

$this->validfields['title'][VF_CODE] = '$dm->set_info(\'orgtitle\', $data); return $dm->verify_title($data);';
$this->validfields['pagetext'][VF_CODE] = '$dm->set_info(\'orgmessage\', $data); return $dm->verify_pagetext($data);';

i forgot a "$" $this is a PHP variable refering to the "current" object.The newly attached error_fix.xml contains the change and this time it's gonna work or you can shoot me :D

ginger22 06-07-2007 04:59 AM

Wow! Great! This work!
But i still get
[07-Jun-2007 09:57:54] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /hq/site/foo/www/includes/class_dm_threadpost.php(829) : eval()'d code on line 64

ginger22 06-07-2007 07:23 AM

And also: How can I do another language template?

Delphiprogrammi 06-07-2007 09:21 AM

Quote:

Originally Posted by ginger22 (Post 1263032)
And also: How can I do another language template?

You are free to Translate the phrases into any language you wish to use.. that's why the phrases system excist

as for the error message you still see that is coming from the postdata_postsave hook and that one is used by the automatic warnings feature which can be turned off in the system settings

The package availible for download has been updated to include the fix for the PHP error message and the original error_fix.xml is removed to avoid confusion

ginger22 06-07-2007 09:34 AM

Quote:

Originally Posted by Delphiprogrammi (Post 1263078)
You are free to Translate the phrases into any language you wish to use.. that's why the phrases system excist

No, I mean, how can I create a language .xml file only for Language?
Quote:

Originally Posted by Delphiprogrammi (Post 1263078)
as for the error message you still see that is coming from the postdata_postsave hook and that one is used by the automatic warnings feature which can be turned off in the system settings

Can you say, what exactly I should to do?

Delphiprogrammi 06-07-2007 11:49 AM

Quote:

Originally Posted by ginger22 (Post 1263085)
No, I mean, how can I create a language .xml file only for Language?

Can you say, what exactly I should to do?

  • admincp => languages & phrases => {YOUR LANUGAGE} => translate phrases
  • admincp => language.php?do=files => product advanced Warning System
  • for each language you have installed vBulletin will display a corrosponding "translation box"
  • please note you must be able to translate "from english"
  • you will need the phrasetype id's used (you can see that in the product XML)
automatic warnings can be turned of by going to admincp => advanced warning system => manage system settings => use automatic warnings from posts and use automatic warnings from private messages set that to no

in case you get confused by the XML coding.You can also find the phrases you'll need to translate by quering your database like this

[sql]
SELECT * FROM vb3_phrase WHERE product = 'aws' ORDER BY fieldname DESC
[/sql]

if you use another table prefix (or none at all) you will need to replace that in the above example

ginger22 06-08-2007 07:34 AM

Many thanks, but I have found many phrases in file ~/admincp/admin_warn.php.
Did you plan in the future transfer this to vBulletin language settings?

Delphiprogrammi 06-09-2007 07:58 AM

everything that can use phrases already does except for the info if a new warning is issued (or viewed) the rows displayed in the system tables.That can also use phrases but it would require construct_phrase(); calls and that functions confuses me :( for example if you view the warninglog in the admincp the reason and such will *always* display in english

ginger22 06-11-2007 12:08 PM

Maybe this canhelp you?

Delphiprogrammi 06-11-2007 07:50 PM

Quote:

Originally Posted by ginger22 (Post 1266195)
Maybe this canhelp you?

ow did you do that ? you phrased the mesages the systems outputs that's fine but you gotta be verry carefull you do not open any holes if it does work for you i have no problem with it.I never understood nor i ever will the use of construct_phrase()

tanand79 06-12-2007 01:00 PM

Iam getting this error....pls help me

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/local/apache/htdocs/includes/class_dm_threadpost.php(939) : eval()'d code on line 64

Delphiprogrammi 06-12-2007 03:20 PM

Quote:

Originally Posted by tanand79 (Post 1266933)
Iam getting this error....pls help me

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/local/apache/htdocs/includes/class_dm_threadpost.php(939) : eval()'d code on line 64

hmmz are you sure that's coming from thishack ?

tanand79 06-12-2007 05:49 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1266985)
hmmz are you sure that's coming from thishack ?

Yes...
when i uninstall this hack its not happening...

Delphiprogrammi 06-13-2007 10:38 AM

Quote:

Originally Posted by tanand79 (Post 1267066)
Yes...
when i uninstall this hack its not happening...

line 939 of /includes/class_dm_threadpost.php is a comment.My guess would be you modified that file and you didn't do that correctly ... i'm talking about vBulletin version 3.6.7PL1 here if you run another you must tell

tanand79 06-13-2007 10:43 AM

Quote:

Originally Posted by Delphiprogrammi (Post 1267561)
line 939 of /includes/class_dm_threadpost.php is a comment.My guess would be you modified that file and you didn't do that correctly ... i'm talking about vBulletin version 3.6.7PL1 here if you run another you must tell

Iam using....VB 3.6.3

Silver_Seagull 06-13-2007 03:40 PM

I've had to uninstall this hack- it just isn't working. I run 3.6.7PL1 and receive the whitespace error. When I disable or uninstall this mod, it stops happening.

I am no expert, but it appears that the mod is passing something that is escaping to class_dm_threadpost, as I have no modified .php files on my board, which means it's something this mod is passing.

I'll be happy to reinstall when this bug is definitively fixed!

jian 06-13-2007 04:27 PM

I've installed it today and it works, the only thing is the options on the left bar of the admincp is no longer there.

I saw the options to add new types before but now they aren't there. Please help.

Delphiprogrammi 06-14-2007 07:38 PM

allright that error is working on my nerves i will see if i can catch it and come up with solution

Delphiprogrammi 06-14-2007 07:41 PM

Quote:

Originally Posted by jian (Post 1267764)
I've installed it today and it works, the only thing is the options on the left bar of the admincp is no longer there.

I saw the options to add new types before but now they aren't there. Please help.

you mean you have no "options menu" at the left frame ? that's handeled by cpnav_aws.xml that file must be in your /includes/xml/ directory and has appricate permissions

lil7rocket 06-16-2007 12:39 PM

one of my forums this works but the quickreply doesnt work at all.
on the other forum i disabled posting quickreply without first clicking the quick reply trigger and it works great

freemchr 06-19-2007 07:15 AM

Im having exactly the same problem with 3.6.7PL1

tanand79 06-19-2007 07:39 AM

Quote:

Originally Posted by tanand79 (Post 1267562)
Iam using....VB 3.6.3

Any updates for this version...as in how to fix the errors....

thanks

Delphiprogrammi 06-19-2007 10:47 AM

Quote:

Originally Posted by lil7rocket (Post 1269715)
one of my forums this works but the quickreply doesnt work at all.
on the other forum i disabled posting quickreply without first clicking the quick reply trigger and it works great

There whas indeed a problem with quickreply verry annoying this should fix it

admincp => products & plugins => down & upload plugins

freemchr 06-20-2007 07:53 AM

Just wondering how i fix the following error with the latest version of the forum software.

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/torq/public_html/forum/includes/class_dm_threadpost.php(829) : eval()'d code on line 64

Delphiprogrammi 06-20-2007 09:35 AM

Quote:

Originally Posted by freemchr (Post 1272316)
Just wondering how i fix the following error with the latest version of the forum software.

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/torq/public_html/forum/includes/class_dm_threadpost.php(829) : eval()'d code on line 64

known problem however i cannot reproduce that error in that case it isn't easy to provide fixes.On my vBulletin 3.6.7PL1 that error is not there

freemchr 06-20-2007 10:47 AM

Your more than welcome to look at my board and try and figure it out.. site isnt launched yet.


All times are GMT. The time now is 05:50 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.01963 seconds
  • Memory Usage 1,846KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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