View Single Post
  #2  
Old 03-14-2006, 11:53 AM
Trigunflame's Avatar
Trigunflame Trigunflame is offline
 
Join Date: Aug 2002
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jadkar
Hey everyone, I'm hoping I'm not the only one who has had this issue before.


Basically my "PROD" forum is being hosted using php5 and MySQLi. The site is running fine...no issues. I've decided to make a "DEV/UAT" site. I had some free space on another hosting service. Unfortunately, this hosting service uses php4 e(extentions are .php) and MySQL. I loaded VBulletin on "DEV" using .php insteadof .php5. I have the site loaded fine into "DEV" however, when I tried to do a dump from "PROD" into "DEV" I ran into issues. Obviously this didn't work becasue although the database came up OK in "DEV" all the links on my site now refrence .php5. I thought I would be slick and open the "dump" file in Word Pad and do a find/replace on .php5 and replace it with .php. Well, this worked I got all my threads and forums up, but I lost a lot all of my nav bars and other things here and there. There must have been "logic" code in the database and I changed all .php5 refrences and I shouldn't have.

This leave me with this questions....
Is there anyway to import a .php5 database into a .php installation and have it work properly?? If so is there a tool/script to convert the table data??

Pleae let me know, if this doesn't work I think I'm going to have to scrap the whole idea.
Im sorry but that doesnt make any sense. Vbulletins PHP code is cross portable between PHP4/5 and should not have anything to do with your problems.

However SQL code ported between 1 mySQL server setup and other very often will create problems if they are parts of the SQL code that are incompatible with each other.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01667 seconds
  • Memory Usage 1,766KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete