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!

snakes1100 08-23-2013 06:05 AM

There is nothing wrong with running 5.3.x, that tree is still being given security updates depending on your flavor of linux, there is no need to upgrade to 5.4.x at this time.

IB is sad for not addressing vb 4 series long ago, heck, hey still havent released a stable version of 3.8.x for 5.4, they still list it as beta lol

Lynne 08-23-2013 03:02 PM

If you have shell access to your server, then this thread may help you out:

vBulletin 4.2.x and PHP 5.4 unofficial work around automated shell script

vibethemes 08-25-2013 07:28 AM

Quote:

Originally Posted by Lynne (Post 2440535)
If you have shell access to your server, then this thread may help you out:

vBulletin 4.2.x and PHP 5.4 unofficial work around automated shell script

Forum Search is not working as well.

Well, I guess I do not have much of a choice here.

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

Update : Just been informed 4.2.2 will be available in about 2 months and would be working with php v 5.4+.

This is good news!

vibethemes 09-02-2013 12:54 AM

Update: turns out one of my tables was crashed searchcora_text. I repaired it and everything is working fine as it was. Now I am using VB 4.2.0 PL3 with php 5.4 without any errors.


All times are GMT. The time now is 03:28 PM.

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.01042 seconds
  • Memory Usage 1,742KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete