PDA

View Full Version : Edit Post = Blank Post...


Ahharu
01-15-2013, 09:30 PM
Hi guys, when I edit a Post, or I give preview, the text area sometimes is empty...I searched but did not find anything...

I attached a capture:

https://vborg.vbsupport.ru/external/2014/03/69.png



I do not understand this error ... is a clean install. The Host is 1and1 and PHP version is 5.4


I found that only fail when edit Post with words with accent...only :S. I need help please :(.



Regards.

KimR
02-06-2013, 02:27 PM
The same thing happens to me. Edit post and preview post both return blank screens.

There is no error message in the server error log. Using the fully updated default vBulletin template has no effect. Disabling Ajax has no effect. Clearing the cache has no effect.

I'm stuck and would appreciate any advice.

Environment is:

VBulletin 4.2.0 Patch Level 3

CentOS Linux 6.3
PHP 5.4.11
MySQL 5.5.28

Lynne
02-06-2013, 05:38 PM
If you are running PHP 5.4, you should downgrade to PHP 5.3, if possible, or else read the big long thread on vbulletin.com about PHP 5.4 and what code changes you may make to have vbulletin work with PHP 5.4.

KimR
02-12-2013, 03:15 PM
Thanks! I looked for the big, long thread and, after the first 200 or so posts with people complaining that vBulletin really ought to fix the software to work with PHP 5.4 and why, why, why-eee won't you? I decided to go with the downgrade. ;)

It's fairly easy on CentOS. Start with the command (run as root or sudo):

yum downgrade php php-common php-cli php-api php-devel

If you've installed PHP from the Remi repo (as I did) you'll get a lot of dependency errors. Just keep adding the problem packages to the end of the command.

For example, if the error looks like this:

Error: Package: php-odbc-5.4.11-1.el6.remi.x86_64 (@remi)
Requires: php-pdo(x86-64) = 5.4.11-1.el6.remi


The command above looks like this:

yum downgrade php php-common php-cli php-api php-devel php-odbc

Keep adding the packages that show up with errors until the yum downgrade command stops complaining.

Thanks for your help. I think my vBulletin is all better now.

Fera2k
05-24-2013, 02:48 AM
They say it's because VB4 its not compatible with PHP 5.4, but I've got the solution for this problem here:

http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/411631-after-upgraded-to-php-5-4-3-the-textarea-is-empty-if-i-want-to-edit-posts-or-threads?p=3548501#post3548501

It worked!

icona
09-01-2013, 04:24 PM
special thank's to Fera2k: it work's fine for me with vbulletin 4.2.0 patch level 3!!!

I hope vbulletin staff upload vbulletin for php 5.4,because my problem is that my hosting change it for me!


ico

Lynne
09-02-2013, 01:32 AM
I just want to post a link to the blog with the shell script that will modify your files to be PHP5.4 compatible - http://www.vbulletin.com/forum/blogs/george-l-vb-4-x-blog/3991278-vbulletin-4-2-x-and-php-5-4-unofficial-work-around-automated-shell-script You can only use that script if you have shell access to your server.

tbworld
09-02-2013, 02:22 AM
Interesting ... Thanks Lynne. Somehow I missed this blog.