Special Events in the next 30 days
Results 1 to 13 of 13
Thread: I get this message sometimes
-
07-27-2012, 10:59 AM #1Forum Leader Corporate Member
DQ
- Nickname
- Mike
- Join Date
- Dec 2005
- Location
- Walnut Cove, NC
- Posts
- 6,200
- Visit Freq:
- 7.00 visits/week
- Threads
- 371
- Classifieds
- 0
I get this message sometimes
Type of Help Needed: ProblemWhere: Main Site
Fatal error: Cannot redeclare tojulian() (previously declared in /home/ncwoodwo/public_html/forums/packages/vbcms/widget/execphp.php(191) : eval()'d code:123) in /home/ncwoodwo/public_html/forums/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 137Most people who are into preparedness, didn't get there because it makes sense. They got there because they suffered and chose not to suffer again.
-
07-27-2012, 11:22 AM #2Corporate Member
DQ
- Nickname
- Steve (68)
- Join Date
- Jul 2005
- Location
- Apex, NC
- Posts
- 8,876
- Visit Freq:
- 1.73 visits/week
- Threads
- 1297
- Classifieds
- 0
Re: I get this message sometimes
can you tell what page you were going to when that happens?
-
07-27-2012, 11:40 AM #3Forum Leader Corporate Member
DQ
- Nickname
- Mike
- Join Date
- Dec 2005
- Location
- Walnut Cove, NC
- Posts
- 6,200
- Visit Freq:
- 7.00 visits/week
- Threads
- 371
- Classifieds
- 0
Re: I get this message sometimes
Most people who are into preparedness, didn't get there because it makes sense. They got there because they suffered and chose not to suffer again.
-
07-27-2012, 11:44 AM #4Administrator Corporate Member
DQ
- Nickname
- Ethan (41)
- Join Date
- Oct 2009
- Location
- Anderson, SC
- Posts
- 2,977
- Visit Freq:
- 7.04 visits/week
- Threads
- 123
- Classifieds
- 0
Re: I get this message sometimes
The toJulian() routine is code (a PHP function) that has just been added to the Who's Chatting Widget, so the issue has to come from there one way or another -- unless we can find something else within vBulletin that also has a function called toJulian() and that is rarely executed.
However, what is downright puzzling is that for this to occur the code must be getting eval'd twice, simultaneously, and within the same memory space. I would tend to expect this kind of issue to either be exceptionally rare (once in a blue moon kind of rare) or near constant in nature.
I have not seen the issue in any of my browsing this morning, so I'm not sure what this tells us off hand unless we can identify what is different between my browsing habits and Mikes (if we can identify that then we may have something to work with).
Unfortunately, I do not have a good workaround to the issue, the function itself is rather critical and it's presence should not be causing such issues (such functions certainly don't cause issues within other plugins on the site).
So, sign me as "baffled" for the moment.
-
07-27-2012, 11:51 AM #5Corporate Member
DQ
- Nickname
- Steve (68)
- Join Date
- Jul 2005
- Location
- Apex, NC
- Posts
- 8,876
- Visit Freq:
- 1.73 visits/week
- Threads
- 1297
- Classifieds
- 0
Re: I get this message sometimes
Got the error the first time I tried mike's link. Not the second.
-
07-27-2012, 12:11 PM #6Administrator Corporate Member
DQ
- Nickname
- Ethan (41)
- Join Date
- Oct 2009
- Location
- Anderson, SC
- Posts
- 2,977
- Visit Freq:
- 7.04 visits/week
- Threads
- 123
- Classifieds
- 0
Re: I get this message sometimes
The most infamous plight of the debugger: Please God, let it happen to me!

It happens for you all on the first try, I just hit that URL about 600-800 times and not one error!
I have searched the Widget and Plugin tables and verified there is no other code with a function titled toJulian(). I have also searched about 90% of the vBulletin and addon code files and also not turned up any other instances of toJulian () (though I would not expect such files to be executed in the context of an eval().
-
07-27-2012, 12:15 PM #7Forum Leader Corporate Member
DQ
- Nickname
- Mike
- Join Date
- Dec 2005
- Location
- Walnut Cove, NC
- Posts
- 6,200
- Visit Freq:
- 7.00 visits/week
- Threads
- 371
- Classifieds
- 0
Re: I get this message sometimes
Correct it only happens on the first attempt to log in. Visit a different site then log in to NCWW and it happens again only the first attempt.
Most people who are into preparedness, didn't get there because it makes sense. They got there because they suffered and chose not to suffer again.
-
07-27-2012, 12:21 PM #8Forum Leader Corporate Member
DQ
- Nickname
- Mike
- Join Date
- Dec 2005
- Location
- Walnut Cove, NC
- Posts
- 6,200
- Visit Freq:
- 7.00 visits/week
- Threads
- 371
- Classifieds
- 0
Re: I get this message sometimes
http://www.ncwoodworker.net/index.php
Does not return the error and I believe the chat widget is not on that page.Most people who are into preparedness, didn't get there because it makes sense. They got there because they suffered and chose not to suffer again.
-
07-27-2012, 12:40 PM #9Corporate Member
DQ
- Nickname
- Randy
- Join Date
- Jan 2006
- Location
- Macon, NC
- Posts
- 2,410
- Visit Freq:
- 5.92 visits/week
- Threads
- 31
- Classifieds
- 0
Re: I get this message sometimes
If it helps, I get the same thing only the first time I hit Mike's first link. Works fine thereafter...
Fatal error: Cannot redeclare tojulian() (previously declared in /home/ncwoodwo/public_html/forums/packages/vbcms/widget/execphp.php(191) : eval()'d code:123) in /home/ncwoodwo/public_html/forums/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 137Randy
-
The following user says Thank You to RandyJ for this useful post:
-
07-27-2012, 01:08 PM #10Administrator Corporate Member
DQ
- Nickname
- Ethan (41)
- Join Date
- Oct 2009
- Location
- Anderson, SC
- Posts
- 2,977
- Visit Freq:
- 7.04 visits/week
- Threads
- 123
- Classifieds
- 0
Re: I get this message sometimes
I have rewritten the widget with more protection for the toJulian() function, so hopefully this issue will not popup again.
Fundamentally, the bug is in vBulletin for eval'ing the same code twice within the same session when it should not be. I'm really surprised that it has not caused other such errors (unless there is something very peculiar about the way they eval() Widget code versus plugin/forum block code.
For whatever reason, I could only reliably reproduce the issue, thanks to Mike's followup info, when using Chrome -- it just would not happen with any of other browsers I was trying.
-
07-27-2012, 02:08 PM #11Forum Leader Corporate Member
DQ
- Nickname
- Mike
- Join Date
- Dec 2005
- Location
- Walnut Cove, NC
- Posts
- 6,200
- Visit Freq:
- 7.00 visits/week
- Threads
- 371
- Classifieds
- 0
Re: I get this message sometimes
Thanks, it is fixed now for me. I use Safari Version 4.1.3 (4533.19.4) On Mac OS 10.4.11 if you are curious.
Most people who are into preparedness, didn't get there because it makes sense. They got there because they suffered and chose not to suffer again.
-
The following user says Thank You to Mike Davis for this useful post:
-
07-27-2012, 02:14 PM #12Administrator Corporate Member
DQ
- Nickname
- Ethan (41)
- Join Date
- Oct 2009
- Location
- Anderson, SC
- Posts
- 2,977
- Visit Freq:
- 7.04 visits/week
- Threads
- 123
- Classifieds
- 0
Re: I get this message sometimes
Thank you for reporting the issue Mike.
We don't always learn of these issues until a user takes the time to report them -- it had not happened to me all morning. And, especially, thank you for Copying&Pasting the full text of the error message.
-
07-27-2012, 02:28 PM #13Forum Leader Corporate Member
DQ
- Nickname
- Mike
- Join Date
- Dec 2005
- Location
- Walnut Cove, NC
- Posts
- 6,200
- Visit Freq:
- 7.00 visits/week
- Threads
- 371
- Classifieds
- 0
Re: I get this message sometimes
Glad to help.
Most people who are into preparedness, didn't get there because it makes sense. They got there because they suffered and chose not to suffer again.
Similar Threads
-
Message too short?
By gazzer in forum Help DeskReplies: 1Last Post: 06-10-2012, 12:47 PM -
Have to log in twice to website after getting this message on the first try
By Guy in Paradise in forum Help DeskReplies: 1Last Post: 03-11-2012, 01:18 AM -
[Suggestion-Help Desk] Text of Personal Message Included in Email Alert Message?
By Tarhead in forum Help DeskReplies: 3Last Post: 10-30-2007, 08:19 AM -
How to edit a message
By clowman in forum Help DeskReplies: 0Last Post: 11-08-2005, 02:38 PM






