vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Upgrading from 4.2.3 to 4.2.5 (https://vborg.vbsupport.ru/showthread.php?t=325297)

Cody.9791 06-30-2017 12:11 PM

Upgrading from 4.2.3 to 4.2.5
 
What steps do I need to take to upgrade from 4.2.3 Patch Level 2 to the newest 4.2.5? Is it worth the upgrade?

I've already did a complete backup of the home directory and database.

Thanks in advance!

Dave 06-30-2017 01:29 PM

1. Backup everything.
2. Overwrite current files with new files.
3. Go to /install/upgrade.php and follow steps.

It's definitely worth the upgrade, I recommend to use PHP 7 for a significant performance boost.

Mattwhf 06-30-2017 02:08 PM

It is worth if you want to use PHP 7 for vB 4.
The choice is yours and just some minutes you can upgrade to 4.2.5

tbellik 01-12-2019 06:10 PM

Anyone here ?
I will upgrade my site from 4.2.3 ?to 4.2.5 but I have worry about my plugin and postbits.

If I say overwrite all of them, isnt delete my plugin and postbit and some changes in css or my theme

MarkFL 01-12-2019 07:25 PM

Quote:

Originally Posted by tbellik (Post 2598064)
Anyone here ?
I will upgrade my site from 4.2.3 ?to 4.2.5 but I have worry about my plugin and postbits.

If I say overwrite all of them, isnt delete my plugin and postbit and some changes in css or my theme

Your installed products/plugins will not be overwritten or deleted, and any customized templates will also not be overwritten. You will simply be warned that they may be out of date. I left my customized templates as they were with no bad effects.

With vB 4.2.5, you will no longer have the option to use cookie based thread read marking, but the database marking is vastly superior in my opinion and I was using it for years anyway.

Upgrading from 4.2.3 to 4.2.5 should go smoothly. Of course, be sure to backup your site first.

tbellik 01-12-2019 08:11 PM

Quote:

Originally Posted by MarkFL (Post 2598065)
Your installed products/plugins will not be overwritten or deleted, and any customized templates will also not be overwritten. You will simply be warned that they may be out of date. I left my customized templates as they were with no bad effects.

With vB 4.2.5, you will no longer have the option to use cookie based thread read marking, but the database marking is vastly superior in my opinion and I was using it for years anyway.

Upgrading from 4.2.3 to 4.2.5 should go smoothly. Of course, be sure to backup your site first.

Full backup or sql backup is enough for me ?
Thanks for your advance.

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

Also when I start upgrade, the php version is important ?

My php version is 5.4 now.

Which version should I choose??

snakes1100 01-12-2019 09:16 PM

You can use up to 7.1 for vbulletin itself running 4.2.5

7.1 may break a addon/product test after implementing 7.1 to verify you have no errors, you may be able to disable display_errors if any warnings popup though

5.6 should be fine for any addon currently made for 4.2.5, BUT 5.6 is EOL, so id at least run 7.0

tbellik 01-13-2019 04:25 AM

Quote:

Originally Posted by snakes1100 (Post 2598068)
You can use up to 7.1 for vbulletin itself running 4.2.5

7.1 may break a addon/product test after implementing 7.1 to verify you have no errors, you may be able to disable display_errors if any warnings popup though

5.6 should be fine for any addon currently made for 4.2.5, BUT 5.6 is EOL, so id at least run 7.0

I will try it, hope everythings will work.
Latest question, my root directory backup is more than 40 gb. Because there is picture upload script inside and lots of picture.

So only sql backup enougf for me, if cant make it, possible ro recovery my forum?

snakes1100 01-13-2019 03:06 PM

Back up the home dir with tar/gzip etc

Images wont be removed because you're upgrading vbulletin.

tbellik 01-13-2019 03:29 PM

Dear snakes, I owerwrite files and folders but when I want to start upgrade.php, it gives an error

500 Error. Internal Server Error.

Any way for solution?

iA1 01-13-2019 03:41 PM

Check your server logs for php errors.

tbellik 01-13-2019 03:43 PM

Quote:

Originally Posted by iA1 (Post 2598076)
Check your server logs for php errors.

Where can I find logs ?

iA1 01-13-2019 03:46 PM

Do you use cpanel or plesk? Do you have root access to your server?

tbellik 01-13-2019 03:47 PM

Quote:

Originally Posted by iA1 (Post 2598076)
Check your server logs for php errors.

Inside the error log in includes.


Code:

[05-Jun-2017 09:35:10 America/Chicago] PHP Warning:  require_once(./includes/functions_navigation.php): failed to open stream: No such file or directory in /home4/omega/public_html/includes/functions.php on line 40


[05-Jun-2017 09:35:10 America/Chicago] PHP Fatal error:  require_once(): Failed opening required './includes/functions_navigation.php' (include_path='.:/opt/php54/lib/php') in /home4/omega/public_html/includes/functions.php on line 40

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

Quote:

Originally Posted by iA1 (Post 2598078)
Do you use cpanel or plesk? Do you have root access to your server?


I have cpanel, and I have access my roort right now.

iA1 01-13-2019 03:52 PM

It could be due to a plugin. Disable plugins using config.php or from admincp and run upgrade again.

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

Make sure you have uploaded all vbulletin files properly.
./includes/functions_navigation.php is part of vbulletin and your error says it is missing.

tbellik 01-13-2019 04:16 PM

Quote:

Originally Posted by iA1 (Post 2598081)
It could be due to a plugin. Disable plugins using config.php or from admincp and run upgrade again.

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

Make sure you have uploaded all vbulletin files properly.
./includes/functions_navigation.php is part of vbulletin and your error says it is missing.

it was giving error below.

Code:

Parse error: syntax error, unexpected '*' in /home4/omega/public_html/includes/functions.php on line 1576
--------------- Added [DATE]1547403423[/DATE] at [TIME]1547403423[/TIME] ---------------

Quote:

Originally Posted by iA1 (Post 2598081)
It could be due to a plugin. Disable plugins using config.php or from admincp and run upgrade again.

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

Make sure you have uploaded all vbulletin files properly.
./includes/functions_navigation.php is part of vbulletin and your error says it is missing.


I uploaded all my files from members.vbulletin.com

iA1 01-13-2019 04:25 PM

Line 1576 in functions.php is:
Code:

if (intval($profilefield_value) & (2**$key))
Edit: make sure your php version is at least 5.6 or higher.

tbellik 01-13-2019 04:32 PM

Quote:

Originally Posted by iA1 (Post 2598085)
Line 1576 in functions.php is:
Code:

if (intval($profilefield_value) & (2**$key))
I am not sure whether the double ** is a typo or not. I think you should open a support ticket at vbulletin.com

If they say it is a typo then delete the extra * and it should work.

I have not upgraded from a previous version to vB 4.2.5, but I run a new installation of vB 4.2.5 on my forum and it works fine without any issues.



When I changed php version from 5.4 to 7 or 7.1 It gives this is en error



Code:

Unexpected Text:
<?xml version="1.0" encoding="windows-1252"?>
<?xml version="1.0" encoding="windows-1252"?>
<errors>
        <error><![CDATA[<p>Database Error</p>

Invalid SQL:

                        SELECT bt.userid, bt.dateline, blogtextid, ipaddress, firstblogtextid
                        FROM blog_text bt
                        JOIN blog bl USING (blogid)
                        LEFT JOIN ipdata ip ON (
                                bt.ipaddress = ip.ipid AND bt.blogtextid  = ip.contentid
                                AND bt.userid = ip.userid AND ip.contenttypeid IN (, )
                        )
                        WHERE ipid IS NULL;

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' )
                        )
                        WHERE ipid IS NULL' at line 6]]></error>
        <error_html><![CDATA[<p>Database error in vBulletin 4.2.5</p>
<p>Invalid SQL:

                        SELECT bt.userid, bt.dateline, blogtextid, ipaddress, firstblogtextid
                        FROM blog_text bt
                        JOIN blog bl USING (blogid)
                        LEFT JOIN ipdata ip ON (
                                bt.ipaddress = ip.ipid AND bt.blogtextid  = ip.contentid
                                AND bt.userid = ip.userid AND ip.contenttypeid IN (, )
                        )
                        WHERE ipid IS NULL;<p>
<p>
<strong>MySQL Error</strong>  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' )
                        )
                        WHERE ipid IS NULL' at line 6<br />
<strong>Error Number</strong>  : 1064<br />
<strong>Request Date</strong>  : Sunday, January 13th 2019 @ 12:30:41 PM<br />
<strong>Error Date</strong>    : Sunday, January 13th 2019 @ 12:30:42 PM<br />
<strong>Script</strong>        : http://www.defineyolu.com/install/upgrade.php<br />
<strong>Referrer</strong>      : https://www.defineyolu.com/install/upgrade.php<br />
<strong>Classname</strong>    : vB_Database_MySQLi<br />
<strong>MySQL Version</strong> : 5.6.41-84.1<br />
</p>]]></error_html>
</errors>


snakes1100 01-13-2019 04:47 PM

To upgrade as it appears you have the Suite, the blog & cms have to be enabled to upgrade, if they are disabled it will fail.

Add this on the 2nd line of config.php:

error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED & ~E_WARNING);

tbellik 01-13-2019 04:53 PM

Quote:

Originally Posted by snakes1100 (Post 2598087)
To upgrade as it appears you have the Suite, the blog & cms have to be enabled to upgrade, if they are disabled it will fail.

Add this on the 2nd line of config.php:

error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED & ~E_WARNING);

Thats respond

Code:

Warning: require_once(./install/includes/language.php): failed to open stream: No such file or directory in /home4/omega/public_html/installl/upgrade.php on line 25

Fatal error: require_once(): Failed opening required './install/includes/language.php' (include_path='.:/opt/php71/lib/php') in /home4/omega/public_html/installl/upgrade.php on line 25

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

Also I didnot complete it but my forum looking updated, is it normal ?

https://i.hizliresim.com/zjaRQO.png

iA1 01-13-2019 04:59 PM

Quote:

Originally Posted by tbellik (Post 2598088)
Thats respond

Code:

Warning: require_once(./install/includes/language.php): failed to open stream: No such file or directory in /home4/omega/public_html/installl/upgrade.php on line 25

Fatal error: require_once(): Failed opening required './install/includes/language.php' (include_path='.:/opt/php71/lib/php') in /home4/omega/public_html/installl/upgrade.php on line 25

]

Did you change install folder name to installl? Change it back to install to complete the upgrade.

tbellik 01-13-2019 05:09 PM

Quote:

Originally Posted by iA1 (Post 2598090)
Did you change install folder name to installl? Change it back to install to complete the upgrade.

I changed but again I make orginal folder name.

When I start upgrade.php it gives an error.

https://vborg.vbsupport.ru/

I dont have orginally english language. Is that be problem ?

snakes1100 01-13-2019 10:35 PM

It gives which error after renaming it back to "install" default name?

tbellik 01-14-2019 03:40 AM

Quote:

Originally Posted by snakes1100 (Post 2598095)
It gives which error after renaming it back to "install" default name?

It is same problem.

gives an error 18/30 buttom.

https://vborg.vbsupport.ru/external/2019/01/3.png

snakes1100 01-14-2019 08:22 AM

As i said previously, the blogs & cms have to be enabled to upgrade.

tbellik 01-14-2019 08:45 AM

Quote:

Originally Posted by snakes1100 (Post 2598099)
As i said previously, the blogs & cms have to be enabled to upgrade.

How can I enable these setings ?

snakes1100 01-15-2019 09:57 PM

product manager in the admincp


All times are GMT. The time now is 04:22 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.01865 seconds
  • Memory Usage 1,813KB
  • 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
  • (7)bbcode_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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