PDA

View Full Version : Duplicate posts on each reply


vibethemes
08-14-2013, 04:06 PM
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 1376704369 at 1376704369 ---------------

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 (http://www.vbulletin.com/forum/forum/general/server-configuration/3990673-vbulletin-4-2-x-and-php-5-4-unofficial-work-around-automated-shell-script)

vibethemes
08-25-2013, 07:28 AM
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 (http://www.vbulletin.com/forum/forum/general/server-configuration/3990673-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 1377497529 at 1377497529 ---------------

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.