Wedge

Public area => The Pub => Off-topic => Topic started by: Wanchope on May 13th, 2013, 07:18 PM

Title: I Can't Install SMF 2.1 Alpha
Post by: Wanchope on May 13th, 2013, 07:18 PM
I just saw the test site of SMF 2.1 Alpha release and was impressed, I tried to install it in my local machine using Wamp but have no success, it just say
Quote
Table 'smf21.smf_settings' doesn't exist
. Don't know the reason for this. I installed another version of SMF and its working. Anyone her got an Ideal?
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: Arantor on May 13th, 2013, 07:20 PM
Nope. Not sure why we would know, either.
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: xrunner on May 13th, 2013, 07:26 PM
I installed 2.1 Alpha as a spam test site here OK  -

Spamhaven(http://www.atheistthinktank.net/spamhaven/index.php)

By the way Arantor - I'm getting some actual spammer posts now, they even post on the correct board! :+1:
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: Wanchope on May 13th, 2013, 07:44 PM
Quote
Nope. Not sure why we would know, either.
I posted here because I know you are (were maybe) one of leading SMF engineer.
Quote
I installed 2.1 Alpha as a spam test site here OK
Please can you tell me what am missing, according to the instruction, I am to create a Settings_bak.php which is not in the folder, copy the content of Settings.php ans paste it there. I don't know if I am missing any other thing?
Quote
I'm getting some actual spammer posts now, they even post on the correct board!
They are posting in the collection of spam members board :), see this interesting topic -  tomsshoesjourneys no one has been caught with alcohol or been arrested, really? :D
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: Arantor on May 13th, 2013, 07:48 PM
I have only tried 2.1 once, some months ago. It worked fine then. I am one of the leading folks who knows about 2.0, but I would not say I have explored the code of 2.1, because I haven't. I have, however, questioned several of the things they introduced in 2.1.
Quote
Please can you tell me what am missing, according to the instruction, I am to create a Settings_bak.php which is not in the folder, copy the content of Settings.php ans paste it there. I don't know if I am missing any other thing?
The error suggests the database was not set up properly.
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: xrunner on May 13th, 2013, 07:50 PM
Quote from Wanchope on May 13th, 2013, 07:44 PM
Please can you tell me what am missing, according to the instruction, I am to create a Settings_bak.php which is not in the folder, copy the content of Settings.php ans paste it there. I don't know if I am missing any other thing?
Well, I didn't even create a Settings_bak.php. :). I just installed it and it worked. Why don't you create a test dir on the server and play with it there?
Quote
They are posting in the collection of spam members board :), see this interesting topic -  tomsshoesjourneys no one has been caught with alcohol or been arrested, really? :D
Yea funny stuff. As soon as they ramp up their posts I can play with different anti-spam solutions. That's what the forum is really there for.
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: Wanchope on May 13th, 2013, 08:13 PM
@xrunner   

I tried it on my server, the same. Maybe I should delete the Settings_bak.php, let me see how it goes.
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: icari on May 13th, 2013, 08:14 PM
have you read http://wiki.simplemachines.org/smf/User:Emanuele/guide/How_to_create_an_install_from_repo ?

it sounds like you have not as you dont create a Settings_bak.php or copy anything into Settings.php the install script should do the work for you.
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: Wanchope on May 13th, 2013, 08:20 PM
Quote from icari on May 13th, 2013, 08:14 PM
have you read http://wiki.simplemachines.org/smf/User:Emanuele/guide/How_to_create_an_install_from_repo ?

it sounds like you have not as you dont create a Settings_bak.php or copy anything into Settings.php the install script should do the work for you.
I actual read the tutorial,it says I should make a copy of Settings.php and rename it to  Settings_bak.php -
Quote
You can find these files in the directory other except for Settings_bak.php, so first thing enter the other directory and copy those files to the root directory. When this is done, make a copy of Settings.php and rename it to Settings_bak.php
From what I understand, it says
* There is no Settings_bak.php which is needed, so create Settings_bak.php
* Copy the content of Settings.php to Settings_bak.php
Am I missing something there?
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: icari on May 13th, 2013, 08:23 PM
so you did not copy the install.php file and the sql files to the main folder?

also you dont need to create the settings_bak.php file you move the Settings.php file to the main folder and let the installer populate the file.
Posted: May 13th, 2013, 08:22 PM

also this forum is not really a place to get smf support as i understand, issues with 2.1 should be posted on sm.org so the developers can help with the issues and fix any bugs that may exist. by posting here you will not get help from the developers and most likely they will miss the bugs that may be posted.
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: Wanchope on May 13th, 2013, 08:51 PM
Quote
so you did not copy the install.php file and the sql files to the main folder?

also you dont need to create the settings_bak.php file you move the Settings.php file to the main folder and let the installer populate the file.
I copied the required files to the root folder. I have removed the Settings_bak.php and still getting the same error.
Quote
also this forum is not really a place to get smf support as i understand, issues with 2.1 should be posted on sm.org so the developers can help with the issues and fix any bugs that may exist. by posting here you will not get help from the developers and most likely they will miss the bugs that may be posted.
I know, that's why I posted it in offtopic, not requesting support, just to know if anyone here is noticing the same problem... and maybe idea :)
BTW, SMF 2.1 Apha theme is neatly designed, I kind of like it.
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: icari on May 13th, 2013, 08:54 PM
well considering that very few [that i know of] have installed 2.1 i doubt you would get much help/support here. of those that have installed 2.1 all have done so successfully.

in your steps you NEVER state that you have run the install.php file. without details of every step you have taken no one can help you. also you have not stated what database server you are using as 2.1 [and 2.0] support multiple databases. looking at install_2-1_mysql.sql it does include the queries to create the settings table.
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: Wanchope on May 13th, 2013, 09:17 PM
I of course run the install.php and got the error on the third step, I am thinking this is a new bug from their recent edit, install_2-1_mysql.sql was edited  4days ago hence the problem may be from there. Those that install earlier might not get the problem OR it might be from me, maybe I don't know how to install simple script again ...old age.
NB: I am using mysql in the Wamp server,
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: icari on May 13th, 2013, 09:22 PM
the change to install_2-1_mysql.sql was one word/column. that should not cause the install to fail and the change is in the members table not the settings table.

if you are having issues with the install really using sm.org is the best place to request help so they can track down the issue and fix it in the correct files.
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: Wanchope on May 13th, 2013, 09:26 PM
Quote from icari on May 13th, 2013, 09:22 PM
the change to install_2-1_mysql.sql was one word/column. that should not cause the install to fail and the change is in the members table not the settings table.

if you are having issues with the install really using sm.org is the best place to request help so they can track down the issue and fix it in the correct files.
Ok, thanks. I will, maybe tomorrow, straight to bed now. #tired.
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: Oracle on May 13th, 2013, 10:55 PM
Quote from Wanchope on May 13th, 2013, 07:18 PM
I just saw the test site of SMF 2.1 Alpha release and was impressed, I tried to install it in my local machine using Wamp but have no success, it just say
Quote
Table 'smf21.smf_settings' doesn't exist
. Don't know the reason for this. I installed another version of SMF and its working. Anyone her got an Ideal?
Going by this post seems like a keying error on yr part. Shld read 2.1 yeah?
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: Arantor on May 14th, 2013, 02:37 AM
Incidentally I know EXACTLY what caused this because I had to go poking around for something else.

And I have to say, it's sheer fucking incompetence. I left them a comment on Github as to what's wrong and why it's wrong. I don't see how he even tested it.

For those playing along at home, Lab added a feature whereby users can set the registration mode (no registration, immediate registration, member approval etc.) during registration. Except the genius managed to put the query into the code BEFORE THE SETTINGS TABLE IS EVEN MADE.

Now, he's already convinced I'm trolling him (cf. the comments on 2.1's repo from HappyTroglodyte which he thinks is me, when it's not) so I left the commentary here and left merely a factual report plus a suggestion *there*.

Now I've broken the installer in the past, but I wouldn't commit something I clearly couldn't have tested properly (or if I do, I leave a note to that effect)
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: xrunner on May 14th, 2013, 03:16 AM
I guess I'm bored, so I downloaded the new files and installed in in a new directory to see what happens - yes, I confirm (as if my confirmation was needed :))it now does not install. :oops:

Table 'thesite9_smf21test.smf21_settings' doesn't exist
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: Wanchope on May 14th, 2013, 03:56 AM
Quote from Arantor on May 14th, 2013, 02:37 AM
Incidentally I know EXACTLY what caused this because I had to go poking around for something else.

And I have to say, it's sheer fucking incompetence. I left them a comment on Github as to what's wrong and why it's wrong. I don't see how he even tested it.

For those playing along at home, Lab added a feature whereby users can set the registration mode (no registration, immediate registration, member approval etc.) during registration. Except the genius managed to put the query into the code BEFORE THE SETTINGS TABLE IS EVEN MADE.

Now, he's already convinced I'm trolling him (cf. the comments on 2.1's repo from HappyTroglodyte which he thinks is me, when it's not) so I left the commentary here and left merely a factual report plus a suggestion *there*.

Now I've broken the installer in the past, but I wouldn't commit something I clearly couldn't have tested properly (or if I do, I leave a note to t hat effect)
SMF I knew does a lot better than this. Does not know why they can't test their codes before doing final commits
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: Shawn on May 14th, 2013, 07:30 AM
Quote from Wanchope on May 13th, 2013, 07:18 PM
I just saw the test site of SMF 2.1 Alpha release and was impressed, I tried to install it in my local machine using Wamp but have no success, it just say
Quote
Table 'smf21.smf_settings' doesn't exist
. Don't know the reason for this. I installed another version of SMF and its working. Anyone her got an Ideal?
I got that as well, I just changed the number on the page's URL in address bar to the next number and it installed. A quick fix maybe.
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: Arantor on May 14th, 2013, 03:44 PM
It's not a fix. All it means is everything up to the end of that operation was successful, that is the last thing that fails, so moving to the next number is what would have happened anyway.
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: Wanchope on May 15th, 2013, 01:38 AM
Yes, jumped to step 4 and it worked, can somebody please check the wap2 and see this Unable to load the 'boardindex_outer_above' template.
Title: Re: I Can't Install SMF 2.1 Alpha
Post by: Arantor on May 15th, 2013, 02:25 AM
No, we can't check that. You should report it to SMF and see about one of the developers fixing it, or reporting it on their Github account (https://github.com/SimpleMachines/SMF2.1 see the Issues tab)

(FWIW the installer has common code with Wedge's, but WAP2 is GONE in Wedge.)