News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Vbulletin 3.8.4 to smf 2.x ,Help needed !

Started by NaYa, September 14, 2009, 10:41:22 AM

Previous topic - Next topic

Norv

Is the path to vBulletin installation correct? Is vBulletin still installed? It seems that the converter doesn't find the file where the database information is.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NaYa

ya i installed vbulletin   in the root,not in any directories .

then i installed a fresh SMF on another directory named "forum"

UPLOADED the files "convert.php" and  "vbulletin37_to_smf.sql"  in to the directory "forum"

then directd to /forum/convert.php .

ang gives the exxact details .


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

I installed The new SMF in the Vbulletin database . any problem with tat ??

and created a new user for SMF ,with full access to Vb database .

Thank you . Help me  :-[  :-[  :-[
http://www.filmyplanet.com - The entertainment portal !

Norv

It's okay, but when running the converter, did you tell it the correct path to vBulletin? That is, the full path to root.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NaYa

ya ...it s like this


/home/mobile4m/public_html/

i just entered the above in the "Path to vBulletin 3.7:" field and "/home/mobile4m/public_html/forum" in "Path to SMF:" . . .

QuoteNotice: Undefined variable: config in /home/mobile4m/public_html/forum/convert.php(407) : eval()'d code on line 1

Notice: Undefined variable: config in /home/mobile4m/public_html/forum/convert.php(407) : eval()'d code on line 1

i am gettin these error on the top of the page.
http://www.filmyplanet.com - The entertainment portal !

Norv

It seems okay, sure... Perhaps something is wrong in the vBulletin config file itself. Is there a file named config in vBulletin configuration folders, like /home/mobile4m/public_html/admin/config.php and /home/mobile4m/public_html/includes/config.php folder?

On another note: [SMF Converter] vBulletin 3.7 as written in the topic is for SMF 1.1.10. As said before, this is the stable version. In case you wish to try converting to 2.0 directly, please use the attached files instead.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NaYa

QuoteIt seems okay, sure... Perhaps something is wrong in the vBulletin config file itself. Is there a file named config in vBulletin configuration folders, like /home/mobile4m/public_html/admin/config.php and /home/mobile4m/public_html/includes/config.php folder?

there is a config file in /includes folder .but not in /admincp

there is no folder with name admin,it is like admincp  ..

what to do ????

:-[ :-[ :-[ :-[ :-[ :-X :-X :-X :-X :-X :-X :-X :-X
http://www.filmyplanet.com - The entertainment portal !

Norv

Could you please look in the config file and tell if it has a line with ['dbname'] to which a value is assigned? That dbname is the name of the vBulletin database or is it something else?

On a side note, your vBulletin installation works normally?
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NaYa

ya ,i know that  there is a line that specifying databse .

its look like this

Quote$config['Database']['dbname'] = 'mydatabase';

i am using this database,that i mentioned the size earlier .

and vb working fine .
http://www.filmyplanet.com - The entertainment portal !

Norv

Okay, thank you. Is there also a $config['Database']['tableprefix'] defined? It should be the prefix of the vBulletin tables in that same database. ('dbname')

Then also, please run convert and copy paste all errors (or all it tells on the page).
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NaYa

ya there is a line like this

Quote$config['Database']['tableprefix'] = '';


The error s mentioned below :

QuoteNotice: Undefined variable: config in /public_html/forum/convert.php(407) : eval()'d code on line 1

Notice: Undefined variable: config in /public_html/forum/convert.php(407) : eval()'d code on line 1

vBulletin 3.7 to SMF Converter

Sorry, the database connection information used in the specified installation of SMF cannot access the installation of vBulletin 3.7. This may either mean that the installation doesn't exist, or that the MySQL account used does not have permissions to access it.

The error MySQL gave was: Incorrect database name ''

http://www.filmyplanet.com - The entertainment portal !

Norv

Ah, it seems that your vBulletin tables have no prefix then? They are named something like "user", "attachments", with no prefix. That shouldn't be a problem, though. I'll try to check why it seems to be.

Can you please tell whether you are using the scripts for SMF 1.1.x or for SMF 2.0 ?
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NaYa

QuoteCan you please tell whether you are using the scripts for SMF 1.1.x or for SMF 2.0 ?

i installed smf 1.1.10 . and  uploaded the files that you given .

thats happens . . .

you can see the smf forum @  http://tinyurl.com/yd8gs4q

Thank you .
http://www.filmyplanet.com - The entertainment portal !

Norv

For 1.1.10, please make sure to use the files in the topic: [SMF Converter] vBulletin 3.7

Edit: also, it seems there is no convert.php in your SMF forum directory.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NaYa

QuoteFor 1.1.10, please make sure to use the files in the topic: [SMF Converter] vBulletin 3.7

100% sure + double checked .

QuoteEdit: also, it seems there is no convert.php in your SMF forum directory.

Ya i removed those files,and uploading the files whenever you say .

ok..as ur opinion i will also use smf 2.0 converter ,thank toy

and also i am testing a problem with UCWEB ,check that also at 

http://www.simplemachines.org/community/index.php?topic=338369.0

so that the converter.php giving a security error,so i removed it.
http://www.filmyplanet.com - The entertainment portal !

Norv

#34
Please note:
Quote from: Norv on September 25, 2009, 11:08:28 AM
In any case, you will want to know that the 2.0 converter is not stable yet (it may have a little more bugs), the one to 1.1.10 is considered stable.

You can try to convert to whichever you wish, but 1.1.10 might be a choice with less troubles. (well, it's a probability :) )
The problem we have now, with this config error, doesn't depend on converter version. (I simply wanted to know only to make sure I am looking at the same line numbers).
Side note: You could however install a SMF 2.0 in a new folder forum2, for example, and use the 2.0 converter files for that one. Please make sure you install in on the same database too, or with the same user (but with a database prefix = "smf2_" or something different from your SMF 1.1.10 installation).

About UCWEB: I cannot help on that, I don't have any appropriate environment nor experience with mobile browsers. Also, I think it may be better to keep issues separate.

Back to the point: Can you please provide a file config.php, like the one we talked before, where you replace the confidential names with a trivial text like you did before ("mydatabasename" instead of your real database name etc)? But it would be very useful if you could replace only the strictly necessary text, all the rest kept identical. Thank you!
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NaYa

Ok thank you .

config.php attached ,please check it

i just changed the db name,db user,pass only ,all other are identical .
,
Thank you
http://www.filmyplanet.com - The entertainment portal !

Norv

Could you please use a lightweight editor, like Notepad++, or Notepad2, or TextPad, not microsoft editors to work with .php files? They insert a lot of extra text in the file instead of keeping the code clean, they're really not recommended.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NaYa

ok. but its working fine with wordpad .

plz download this attach .edited with notepad++
http://www.filmyplanet.com - The entertainment portal !

Norv

This file also contains many wierd tags, you probably opened it in Notepad++ after saving it in Wordpad?
You might not see in wordpad the tags it adds, it hides them from view, but they are there and PHP doesn't work with them.
I'll clean it up, but any problem the original config file may have had, it might be lost from sight now, because of the broken wordpad format.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

NaYa

http://www.filmyplanet.com - The entertainment portal !

Advertisement: