New to smf (need help badly)

Started by machawk, July 16, 2014, 03:12:47 PM

Previous topic - Next topic

machawk

Good day great guys! I am new to online forum creation. I am an I.T enthusiast and wish to build my own forum for a community, from researches i have done, i've decided to choose smf. but here lies the problem. I want to know if there is a way i can create my forum offline before putting it online as i am still taking time to choose a web host. While i ponder about which webhost to use, is it possible for me to test run my forum locally on my laptop and when i am done  test running, can i upload my desired "test runed" forum online? how can i do that?
thanks in advance for a reply. VIVA SMF! ;)

Deaks

yeh you could use a programme like XAMPP this creates a local server so you can work off without needing internet.
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

machawk

Quote from: Μπράιαν on July 16, 2014, 03:15:15 PM
yeh you could use a programme like XAMPP this creates a local server so you can work off without needing internet.

thanks! nice to know that. now it is getting interesting ! can i upload everything i have done on xampp to an online webhost hitch free? if i can, what are the pros and cons. i just want to know what i am dealing with here since i haven't decided to go though the normal convention of extracting it straight online.

machawk

combing through the forum, i find this useful for myself and also for others like me. http://www.simplemachines.org/community/index.php?topic=387205.0.  i want to ask. is it better that i install on xampp than the normal c-panel online stuffs?

Deaks

Quote from: machawk on July 16, 2014, 03:23:01 PM
thanks! nice to know that. now it is getting interesting ! can i upload everything i have done on xampp to an online webhost hitch free? if i can, what are the pros and cons. i just want to know what i am dealing with here since i haven't decided to go though the normal convention of extracting it straight online.

yes in theory

for the files you could just zip them all up and upload to your site then extract
for the database you would need to use phpmyadmin (this comes with XAMPP) to export your db, then use the phpmyadmin that comes with your hosting to upload the database

When all this is done you would then need to run repair_settings.php to sort the paths.

The below wiki documents may help:

What is repair_settings.php?
How do I restore a database backup?
How do I move my SMF forum to a different host?
How do I backup my SMF forum?
How do I backup my database?
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

machawk

Quote from: Μπράιαν on July 16, 2014, 03:50:59 PM
Quote from: machawk on July 16, 2014, 03:23:01 PM
thanks! nice to know that. now it is getting interesting ! can i upload everything i have done on xampp to an online webhost hitch free? if i can, what are the pros and cons. i just want to know what i am dealing with here since i haven't decided to go though the normal convention of extracting it straight online.

yes in theory

for the files you could just zip them all up and upload to your site then extract
for the database you would need to use phpmyadmin (this comes with XAMPP) to export your db, then use the phpmyadmin that comes with your hosting to upload the database

When all this is done you would then need to run repair_settings.php to sort the paths.

The below wiki documents may help:

What is repair_settings.php?
How do I restore a database backup?
How do I move my SMF forum to a different host?
How do I backup my SMF forum?
How do I backup my database?

wow! really liking this forum. i am getting questions to my answers. yipee! thanks  Μπράιαν. i need your professional advice of this please. i have been asked to make a forum for a community on a topic which i think will later grow with heavy traffic later. i am new to online forum creation and also to smf. how will you advice me to go about this knowing that i am a novice in this field. will my usage of xammp be a good idea for me?

Deaks

XAMPP is a good stage to get it finalised etc before you upload to your main site, also its good as you can build the site even with your internet is down, also gives a good test forum for when you make the site live.
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

machawk

Quote from: Μπράιαν on July 16, 2014, 04:35:33 PM
XAMPP is a good stage to get it finalised etc before you upload to your main site, also its good as you can build the site even with your internet is down, also gives a good test forum for when you make the site live.

Alright.so you will advise i start with xampp now then i do the online thing when i am done and satisfied with how my forum looks right?

Deaks

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

radu81

I also suggest building your forum on xampp or wamp and when you're ready you can uploaded to your host.. I suggest you to not start with a free Web hosting. Nowadays you can get a domain and some Web space for 20-30€/year. Once you forum will grow up you can switch to better Web hosting
sorry for my bad english

Deaks

Also look here for hosting, each of these hosts meet the strict criteria to be able to post their as SMF want best for the users:

http://www.simplemachines.org/community/index.php?board=155.0
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

machawk

Thanks.  I will start with a test run on xampp and move on to an online host when i need to. Thanks for the support. I may be back with more questions. Sorry if i become a pain in the butt.

Deaks

dont worry im used to helping, and if you want help finding a host ill be happy to suggest a few but send me a pm:)

I will mark this as solved for now :)
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

machawk

sorry i am back again. damn! i am stuck here. i have decided to test run smf on xampp like i had chosen and i went through this installation:
i extracted smf.zip into htdocs ( i have already installed xampp and started apache and mysql)
i went into my browser and typed in "http://localhost/install.php"
it brought me to the smf installer page clicked on continue and i got to the 10% stage of creating a database
i went to my xampp control panel and created a mysql database and named it "smfdatabase"
i then went back to my smf installation and put in the database name and clicked on continue and i get the error code:
!!
Critical Error!
The installer was unable to access the "smfdatabase" database. With some hosts, you have to create the database in your administration panel before SMF can use it. Some also add prefixes - like your username - to your database names.


please where did i go wrong? wish i can add my screenshots here. Sorry i suck acting like a dummy just help me out pleasee.

machawk

i get these errors beneath my phpadmin page:
The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. To find out why click here.
Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user 'root'.



could that be the problem and how do i solve it?

Illori

try using the username root without a password and since you are local and not on the web you can ignore that error from phpmyadmin.

Arantor

Just for reference:
"The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. To find out why click here."

You don't need to worry about this. You're not going to be using these features for anything you do in phpMyAdmin.

"Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user 'root'."

This means your MySQL setup is currently set to use 'root' as the username and blank password for when you do anything like your local SMF install. It's a general warning and won't apply to this situation but you will need to change the password in the settings when you migrate that SMF install to a real webserver.

machawk

Quote from: machawk on July 18, 2014, 07:19:04 PM
sorry i am back again. damn! i am stuck here. i have decided to test run smf on xampp like i had chosen and i went through this installation:
i extracted smf.zip into htdocs ( i have already installed xampp and started apache and mysql)
i went into my browser and typed in "http://localhost/install.php"
it brought me to the smf installer page clicked on continue and i got to the 10% stage of creating a database
i went to my xampp control panel and created a mysql database and named it "smfdatabase"
i then went back to my smf installation and put in the database name and clicked on continue and i get the error code:
!!
Critical Error!
The installer was unable to access the "smfdatabase" database. With some hosts, you have to create the database in your administration panel before SMF can use it. Some also add prefixes - like your username - to your database names.


please where did i go wrong? wish i can add my screenshots here. Sorry i suck acting like a dummy just help me out pleasee.

Arantor

So when you tried to use the SMF installation, what details did you put in to the installer? It asks you for a database name, database user and password. What did you tell it?

machawk

i have decided to attach a screenshot

Advertisement: