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 03-26-2019, 02:11 PM
tbellik tbellik is offline
 
Join Date: Jan 2015
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Vbulletin 4.2.5 Setup Error

Hi again.

I want to setup my forum again again and again but still I have problem during installation.

During the setup proccess after I enter admin name -password and mail address then I take this error. Please help me.

Vbulletin version is :4.2.5
Php version is : 7.0 but I tried 5.6 still same error.


Code:
Unexpected Text:
<?xml version="1.0" encoding="windows-1252"?>
<br />
<b>Warning</b>:  mysqli_query(): (01000/1265): Data truncated for column 'datatype' at row 1 in <b>/storage/ssd2/650/8593650/public_html/includes/class_core.php</b> on line <b>1393</b><br />
<?xml version="1.0" encoding="windows-1252"?>
<errors>
    <error><![CDATA[<p>Database Error</p>]]></error>
    <error_html><![CDATA[<p>Database error in vBulletin 4.2.2</p>
<p>Invalid SQL:
REPLACE INTO setting
                    (product, varname, grouptitle, value, datatype, optioncode, volatile )VALUES('vbulletin', 'skimlinks_salt', 'version', '490159fbf13a4ed83e134fc99b003af1',
                '', 'skimlinks', 1 );<p>
<p>
<strong>MySQL Error</strong>   : Data truncated for column 'datatype' at row 1<br />
<strong>Error Number</strong>  : 1265<br />
<strong>Request Date</strong>  : Tuesday, March 26th 2019 @ 01:23:22 PM<br />
<strong>Error Date</strong>    : Tuesday, March 26th 2019 @ 01:23:25 PM<br />
<strong>Script</strong>        : http://defineyolu.club/install/install.php<br />
<strong>Referrer</strong>      : http://defineyolu.club/install/install.php<br />
<strong>Classname</strong>     : vB_Database_MySQLi<br />
<strong>MySQL Version</strong> : 10.3.13-MariaDB<br />
</p>]]></error_html>
</errors>
Reply With Quote
  #2  
Old 03-26-2019, 08:29 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. import db backup via ssh
2. upload vb files via ftp to host
3. as it appears this is a vb 4.2.2 db, run the upgrade script hostname.com/forums/install/upgrade.php

There is no need to use the install script, as there is already a vb forum in that db.
Reply With Quote
  #3  
Old 03-27-2019, 10:43 AM
tbellik tbellik is offline
 
Join Date: Jan 2015
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
1. import db backup via ssh
2. upload vb files via ftp to host
3. as it appears this is a vb 4.2.2 db, run the upgrade script hostname.com/forums/install/upgrade.php

There is no need to use the install script, as there is already a vb forum in that db.
I uploaded db via SSH , it is ok.

I want to move my forum hosting to another company hosting. So I copied my old files from root to new hosting root.

Then I copied 4.2.5 vb files to new root, and run the upgrade code . It gives an error.





I didnt start to install new host my vbulletin, is that problem ?

Is this compatible for vbulletin 4.2.5 installation ?

​​​​​​​
Apache Version 2.4.34
PHP Version 5.6.36
MySQL Version 5.6.39-cll-lve
Reply With Quote
  #4  
Old 03-28-2019, 07:43 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You didnt leave a clickable link in the last post, but it appears this link works fine.

https://www.bgobsession.com/showthre...845#post369845

The versions you posted are compatible with 4.2.5
Reply With Quote
  #5  
Old 03-28-2019, 09:15 AM
tbellik tbellik is offline
 
Join Date: Jan 2015
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now I see this error, after run upgrade command.

Warning: mysqli_query(): (01000/1265): Data truncated for column 'datatype' at row 1 in /storage/ssd2/650/8593650/public_html/includes/class_core.php on line 1393
Reply With Quote
  #6  
Old 03-28-2019, 05:45 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What command did you use to dump & import your db via ssh?
Reply With Quote
  #7  
Old 03-29-2019, 06:11 AM
tbellik tbellik is offline
 
Join Date: Jan 2015
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
What command did you use to dump & import your db via ssh?
I did not db dump via ssh, I used cpanel, and just save sql file.

For import via ssh I used completely this code you see screenshot

Reply With Quote
  #8  
Old 03-29-2019, 07:45 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What screenshot?

How did you import db?
Reply With Quote
  #9  
Old 03-29-2019, 09:43 AM
tbellik tbellik is offline
 
Join Date: Jan 2015
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
What screenshot?

How did you import db?
I imported with this code.

mysql -uusername -localhost -p

mysql>use username
mysql>source public_html/mybackupdb.sql
Reply With Quote
  #10  
Old 03-30-2019, 11:20 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do a new dump of the DB from ssh

mysqldump --opt -uusername -p dbname > /path/to/save/backup.sql

transfer this new backup file to the new site & import it.

mysql -uusername -p dbname < /path/to/new/sql/backup.sql
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 04:49 AM.


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.07456 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
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
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete