vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Duplicate posts on each reply (https://vborg.vbsupport.ru/showthread.php?t=301190)

vibethemes 08-14-2013 04:06 PM

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

Lynne 08-14-2013 05:33 PM

What exactly did you remove from functions.php? You should not have to modify that file at all to run the software.

vibethemes 08-16-2013 05:56 AM

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

vibethemes 08-17-2013 06:14 PM

I do not know what should I do to stop this error.. Any help will be useful

Lynne 08-17-2013 11:45 PM

What version of vB4 and what version of PHP are you running?

vibethemes 08-18-2013 01:48 AM

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"

Lynne 08-18-2013 03:29 PM

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"

vibethemes 08-21-2013 03:58 AM

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

Here's the screenshot : http://goo.gl/suyoDi

Lynne 08-21-2013 03:13 PM

vB4 doesn't work with PHP5.4 without making some changes to the files. There is a thread on vbulletin.com about this.

vibethemes 08-23-2013 05:31 AM

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!


All times are GMT. The time now is 08:37 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.01927 seconds
  • Memory Usage 1,726KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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