Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-14-2013, 04:06 PM
vibethemes vibethemes is offline
 
Join Date: Nov 2012
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Duplicate posts on each reply

I am facing a strange issue. When I use quick reply to reply to any post, two duplicate entries are being posted for each reply.

Just in case if this is important:
Previously, my webhost had disabled ini() function because of which vbulletin stopped working. After this I enabled it and I was getting an error in functions.php which I removed after editing functions.php. After this change I am facing this issue.
URL :http://forums.vibethemes.com
Reply With Quote
  #2  
Old 08-14-2013, 05:33 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What exactly did you remove from functions.php? You should not have to modify that file at all to run the software.
Reply With Quote
  #3  
Old 08-16-2013, 05:56 AM
vibethemes vibethemes is offline
 
Join Date: Nov 2012
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I located that code on this forum itself.
I was getting a warning message on line 6899, there was an if condition related to this variable $_SERVER. The warning message said $_SERVER is not an array, so I put a check to perform that condition only if it is an array.

--------------- Added [DATE]1376704369[/DATE] at [TIME]1376704369[/TIME] ---------------

Now I am getting another warning message:

Warning: Illegal string offset 'link' in [path]/includes/class_bbcode.php on line 2777
Reply With Quote
  #4  
Old 08-17-2013, 06:14 PM
vibethemes vibethemes is offline
 
Join Date: Nov 2012
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I do not know what should I do to stop this error.. Any help will be useful
Reply With Quote
  #5  
Old 08-17-2013, 11:45 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What version of vB4 and what version of PHP are you running?
Reply With Quote
  #6  
Old 08-18-2013, 01:48 AM
vibethemes vibethemes is offline
 
Join Date: Nov 2012
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBulletin : 4.2
Php version : 5.2

The error message is below:

"Warning: Illegal string offset 'link' in [path]/includes/class_bbcode.php on line 2777

Warning: Illegal string offset 'link' in [path]/includes/class_bbcode.php on line 2791

Warning: Illegal string offset 'link' in [path]/includes/class_bbcode.php on line 2777

Warning: Illegal string offset 'link' in [path]/includes/class_bbcode.php on line 2791"
Reply With Quote
  #7  
Old 08-18-2013, 03:29 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is definitely a PHP5.4 error - are you positive you are not using PHP5.4? Can you provide us with an image on the front of your admicnp that is right under where it says "Welcome to the vBulletin Admin Control Panel"
Reply With Quote
  #8  
Old 08-21-2013, 03:58 AM
vibethemes vibethemes is offline
 
Join Date: Nov 2012
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes you're right...I am on php v 5.4 .

Here's the screenshot : http://goo.gl/suyoDi
Reply With Quote
  #9  
Old 08-21-2013, 03:13 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vB4 doesn't work with PHP5.4 without making some changes to the files. There is a thread on vbulletin.com about this.
Reply With Quote
  #10  
Old 08-23-2013, 05:31 AM
vibethemes vibethemes is offline
 
Join Date: Nov 2012
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WHAT!! this is not an answer !! php 5.3 is now end-of-life. Why am I being penalised for not using an outdated software?
When can I expect vBulletin 4.2 to be compatible with php 5.4 ?

Apart from this, I am facing more issues. The PM are now not working.

Anyways, thanks for replying!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:44 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.04247 seconds
  • Memory Usage 2,243KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete