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)

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


All times are GMT. The time now is 05:06 AM.

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.02640 seconds
  • Memory Usage 1,757KB
  • 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
  • (6)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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