vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   VB 3.8.7 and PHP 5.4 (https://vborg.vbsupport.ru/showthread.php?t=293024)

kh99 12-31-2012 01:23 PM

I understand what you mean, you're hoping to find someone who already knows the kinds of things that have to be changed, so that you don't have to go through all the code looking for things (which is a big task even if you know what needs to change). But I think in post #3 you could have explained that without starting with "Are you kidding me". That kind of puts people on the defensive.

Anyway, the only one I know is that you can change " &= new " to " = new ", but that's the same one they've told you about. It would be great if someone could take a fresh copy of vb3.8.7 and fix it for php 5.4, then post a diff.

Hall of Famer 01-02-2013 08:15 PM

Quote:

Originally Posted by kh99 (Post 2393792)
I understand what you mean, you're hoping to find someone who already knows the kinds of things that have to be changed, so that you don't have to go through all the code looking for things (which is a big task even if you know what needs to change). But I think in post #3 you could have explained that without starting with "Are you kidding me". That kind of puts people on the defensive.

Anyway, the only one I know is that you can change " &= new " to " = new ", but that's the same one they've told you about. It would be great if someone could take a fresh copy of vb3.8.7 and fix it for php 5.4, then post a diff.

Oh thanks for your comment, and yeah I was looking for something at least more helpful than 'please read on PHP's manual'. Indeed, if someone actually has fixed it for PHP 5.4 and post a solution, that would be the best. I am not hoping for that, but at least some hints.

I am aware of the ampersand issues, I surely can fix them all myself by searching through the files. The reason why I posted this thread here is that I saw a thread on VB's official forum that the incompatibility is more than just the ampersand. I asked what the others might be but received no answer, instead I was directed here. This makes me really curious, if there are more compatibility issues than merely ampersand, what are they?

Max Taxable 01-02-2013 09:03 PM

Quote:

Originally Posted by Hall of Famer (Post 2393780)
Oh yeah, you finally got it. Anyway, if this is the way you guys answer questions here, it may be a good idea to just close down this forum and leave a note:

"Got a problem? Go to PHP.net and w3schools.com".

Just like the magic quote "Google is your friend", it works doesnt it?

Clearly you'll share with us all, the specific v3 solutions once you find them. Leading by example, as it were?

Hall of Famer 01-02-2013 11:16 PM

Quote:

Originally Posted by Max Taxable (Post 2394338)
Clearly you'll share with us all, the specific v3 solutions once you find them. Leading by example, as it were?

If I do find the answer myself I will share. At least, I wont be telling people to read PHP.net manual for reference.
:)

Hall of Famer 01-06-2013 11:47 PM

Oh yeah, it pretty much works after I remove the deprecated ampersands, but there are minor issues. I fixed one of them in includes/functions_online.php, simply add this one at line 452(assuming you are using VB 3.8.7 patch level 3:

PHP Code:

if(!is_array($userinfo['values'])) continue; 

Anyway my forum is working out nicely so far after I upgrade to PHP 5.4.10, but there are still a few things I havent tested so I aint quite sure if everything is fine now. Once I figure this out, I will be posting a PHP 5.4 guide for VB3.8.7 users. It may be a bit messy, but at least I wont be telling people to go to PHP.NET and read that manual.
:)

mute 03-22-2013 01:45 AM

Quote:

Originally Posted by Hall of Famer (Post 2395172)
Oh yeah, it pretty much works after I remove the deprecated ampersands, but there are minor issues. I fixed one of them in includes/functions_online.php, simply add this one at line 452(assuming you are using VB 3.8.7 patch level 3:

PHP Code:

if(!is_array($userinfo['values'])) continue; 

Anyway my forum is working out nicely so far after I upgrade to PHP 5.4.10, but there are still a few things I havent tested so I aint quite sure if everything is fine now. Once I figure this out, I will be posting a PHP 5.4 guide for VB3.8.7 users. It may be a bit messy, but at least I wont be telling people to go to PHP.NET and read that manual.
:)

Hall of Famer, do you have any updates on your progress in patching in PHP 5.4 support?

0ptima 03-27-2013 02:52 AM

VB 3.8.8 is being worked on by Paul M which will address the PHP issues :)

Max Taxable 04-01-2013 01:35 AM

Quote:

Originally Posted by 0ptima (Post 2412489)
VB 3.8.8 is being worked on by Paul M which will address the PHP issues :)

New version of 3.8?

tyler_d 07-19-2013 02:53 AM

Quote:

Originally Posted by Hall of Famer (Post 2395172)
I will be posting a PHP 5.4 guide for VB3.8.7 users. It may be a bit messy, but at least I wont be telling people to go to PHP.NET and read that manual.

I like your method of giving advice much better than those who like to sit and point.

Anyway, if you have anything you can write in terms of a guide, that would help me soooo much in my migration to php 5.4.

I am having so much trouble and my forum won't even show up at all on my wamp test server. Can't even get admincp to load up.

mute 07-19-2013 11:51 AM

Quote:

Originally Posted by tyler_d (Post 2434364)
I like your method of giving advice much better than those who like to sit and point.

Anyway, if you have anything you can write in terms of a guide, that would help me soooo much in my migration to php 5.4.

I am having so much trouble and my forum won't even show up at all on my wamp test server. Can't even get admincp to load up.

Why not just wait for 3.8.8, which has PHP 5.4 support and is in beta right now?


All times are GMT. The time now is 01:52 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.01048 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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