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 01-15-2013, 09:30 PM
Ahharu Ahharu is offline
 
Join Date: Sep 2010
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Edit Post = Blank Post...

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:





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.
Reply With Quote
  #2  
Old 02-06-2013, 02:27 PM
KimR KimR is offline
 
Join Date: Jan 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 02-06-2013, 05:38 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 02-12-2013, 03:15 PM
KimR KimR is offline
 
Join Date: Jan 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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):

Code:
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:

Code:
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.
Reply With Quote
  #5  
Old 05-24-2013, 02:48 AM
Fera2k Fera2k is offline
 
Join Date: Mar 2013
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...01#post3548501

It worked!
Reply With Quote
Благодарность от:
icona
  #6  
Old 09-01-2013, 04:24 PM
icona icona is offline
 
Join Date: Aug 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

special thank's to [name]Fera2k[/name]: 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
Reply With Quote
  #7  
Old 09-02-2013, 01:32 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...d-shell-script You can only use that script if you have shell access to your server.
Reply With Quote
  #8  
Old 09-02-2013, 02:22 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting ... Thanks Lynne. Somehow I missed this blog.
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 07:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05253 seconds
  • Memory Usage 2,232KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete