Advertisement:

Author Topic: Registration not possible!  (Read 14554 times)

Offline oasiscritter

  • Semi-Newbie
  • *
  • Posts: 31
Registration not possible!
« on: August 07, 2008, 02:53:44 PM »
hey, i have a problem with my board.


I cant register there. If i click on "registration", i get the following error:



I think it´s a database problem.

So have anybody a idea, or can anybody tell me, which database-tables are required for the registration, to check them. I searched but didnt find.




thx

Offline niko

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,003
  • Gender: Male
    • Madjoki
Re: Registration not possible!
« Reply #1 on: August 07, 2008, 03:00:47 PM »
Any mods installed?

Also Error Log should have Line and Function.

Offline oasiscritter

  • Semi-Newbie
  • *
  • Posts: 31
Re: Registration not possible!
« Reply #2 on: August 08, 2008, 09:16:42 AM »
Only this update is installed:

SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update


I use SMF 2 beta 3



Offline H

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,662
  • Gender: Male
Re: Registration not possible!
« Reply #3 on: August 08, 2008, 03:29:59 PM »
Does the problem occur with the default theme?

Please also check the error log as Niko^ suggested as this can often help us solve the problem quickest :)
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Offline oasiscritter

  • Semi-Newbie
  • *
  • Posts: 31
Re: Registration not possible!
« Reply #4 on: August 11, 2008, 01:30:19 PM »
Error:
Quote
Wrong value type sent to the database. Array of integers expected.
Function: create_control_verification

Line: 1484


Code: [Select]
1464:  }
1465: else
1466: {
1467: // Same questions as before.
1468:  $questionIDs = !empty($_SESSION[$verificationOptions['id'] . '_vv']['q']) ? $_SESSION[$verificationOptions['id'] . '_vv']['q'] : array();
1469: $thisVerification['text_value'] = !empty($_REQUEST[$verificationOptions['id'] . '_vv']['code']) ? $smcFunc['htmlspecialchars']($_REQUEST[$verificationOptions['id'] . '_vv']['code']) : '';
1470: }
1471:
1472: // Have we got some questions to load?
1473: if (!empty($questionIDs))
1474: {
1475: $request = $smcFunc['db_query']('', '
1476: SELECT id_comment, body AS question
1477: FROM {db_prefix}log_comments
1478: WHERE comment_type = {string:ver_test}
1479: AND id_comment IN ({array_int:comment_ids})',
1480: array(
1481: 'ver_test' => 'ver_test',
1482: 'comment_ids' => $questionIDs,
1483: )
==>1484: );
1485: $_SESSION[$verificationOptions['id'] . '_vv']['q'] = array();
1486: while ($row = $smcFunc['db_fetch_assoc']($request))
1487: {
1488: $thisVerification['questions'][] = array(
1489: 'id' => $row['id_comment'],
1490: 'q' => parse_bbc($row['question']),
1491: 'is_error' => !empty($incorrectQuestions) && in_array($row['id_comment'], $incorrectQuestions),
1492: // Remember a previous submission?
1493: 'a' => isset($_REQUEST[$verificationOptions['id'] . '_vv'], $_REQUEST[$verificationOptions['id'] . '_vv']['q'], $_REQUEST[$verificationOptions['id'] . '_vv']['q'][$row['id_comment']]) ? $smcFunc['htmlspecialchars']($_REQUEST[$verificationOptions['id'] . '_vv']['q'][$row['id_comment']]) : '',

1494: );
1495: $_SESSION[$verificationOptions['id'] . '_vv']['q'][] = $row['id_comment'];
1496: }
1497:           $smcFunc['db_free_result']($request);
1498:      }
1499: 
1500: $_SESSION[$verificationOptions['id'] . '_vv']['count'] = empty($_SESSION[$verificationOptions['id'] . '_vv']['count']) ? 1 : $_SESSION[$verificationOptions['id'] . '_vv']['count'] + 1;
1501:
1502: // Return errors if we have them.
1503: if (!empty($verification_errors))
1504: return $verification_errors;


I hope it can help you to help me ;)

Offline oasiscritter

  • Semi-Newbie
  • *
  • Posts: 31
Re: Registration not possible!
« Reply #5 on: August 15, 2008, 10:24:02 AM »
I need help pls, have nobody a idea?

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,068
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: Registration not possible!
« Reply #6 on: August 16, 2008, 02:12:11 PM »
Have you tried this?

Does the problem occur with the default theme?
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Offline oasiscritter

  • Semi-Newbie
  • *
  • Posts: 31
Re: Registration not possible!
« Reply #7 on: August 17, 2008, 06:05:44 AM »
yes, the same message appear.

Offline H

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,662
  • Gender: Male
Re: Registration not possible!
« Reply #8 on: August 17, 2008, 06:58:03 AM »
As you have no mods installed you can try uploading clean files to the Sources/ and Themes/ directories from an install archive :)
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Offline oasiscritter

  • Semi-Newbie
  • *
  • Posts: 31
Re: Registration not possible!
« Reply #9 on: August 17, 2008, 01:00:29 PM »
As you have no mods installed you can try uploading clean files to the Sources/ and Themes/ directories from an install archive :)

Sry but i dont understand, can you pls explain me that?




thx

Offline SwapsRulez

  • Jr. Member
  • **
  • Posts: 208
  • Gender: Male
  • Its better to burn out than to fade away...!!!
    • Project-BB
Re: Registration not possible!
« Reply #10 on: August 17, 2008, 02:09:07 PM »
Download the SMF 2.0 Beta 3 Package. Extract it to a folder. Upload all the files and folders from Sources & Themes directories to your ftp replacing your old files. This will make your board to have clean files from the source without any errors.

H wants to say this. If you need any more help to describe in more details, ask here. :)
Project-BB.org : Educational Forum For Engineering, Diploma & Technical Students

The Engineering, Diploma & All technical students lounge for Free Projects, Seminars, Syllabus, Question Papers, College Assignments, Placement Papers, E-Books, Company Information & other technical stuffs.

Offline oasiscritter

  • Semi-Newbie
  • *
  • Posts: 31
Re: Registration not possible!
« Reply #11 on: August 18, 2008, 12:35:18 PM »
ok, but as i said i have the update beta3.1 instaled. Should i upload the files from the new full installation-package which is 3.1 including or the old beta3, from what i installed my board?



thx

Offline H

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,662
  • Gender: Male
Re: Registration not possible!
« Reply #12 on: August 18, 2008, 01:32:03 PM »
Just the Sources/ and Themes/ files from the 3.1 install archive :)
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Offline oasiscritter

  • Semi-Newbie
  • *
  • Posts: 31
Re: Registration not possible!
« Reply #13 on: August 18, 2008, 01:57:48 PM »
I did it but i get the same error as before, equal what theme i use.



The only explanation is that the problem is in the database. I think the forum was previously in a other directory but I did it to another folder and have changed the links in the database. Could it be that I've forgotten change a link? I am also not sure whether I do it with this board or with my previous one.




MfG

« Last Edit: August 18, 2008, 02:02:09 PM by oasiscritter »

Offline SwapsRulez

  • Jr. Member
  • **
  • Posts: 208
  • Gender: Male
  • Its better to burn out than to fade away...!!!
    • Project-BB
Re: Registration not possible!
« Reply #14 on: August 19, 2008, 12:33:47 AM »
Which links you've changed in your database ? Have you moved your forum from one directory to another directory ? Have you applied repair_settings.php after moving your forum ?

AFAIK, the forum path is stored in the settings.php and not in the database. :)

Also, have your installed pretty URL's ?
Project-BB.org : Educational Forum For Engineering, Diploma & Technical Students

The Engineering, Diploma & All technical students lounge for Free Projects, Seminars, Syllabus, Question Papers, College Assignments, Placement Papers, E-Books, Company Information & other technical stuffs.

Offline oasiscritter

  • Semi-Newbie
  • *
  • Posts: 31
Re: Registration not possible!
« Reply #15 on: August 19, 2008, 10:57:00 AM »
1. I changed in :


smf_settings:
attachmentUploadDir
smileys_dir
smileys_url
avatar_directory
avatar_url
avatar_url

2. Yes, i think so

3. I cant find the file "repair_settings.php"

4. What do you mean with "pretty Url´s"?

Sorry im from Germany and I cant understand the colloquial language^^


thx for your help

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,068
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: Registration not possible!
« Reply #16 on: August 19, 2008, 11:11:35 AM »
3. I cant find the file "repair_settings.php"

It's on this site, under the downloads area in the tools section. It doesn't come with SMF directly. This script is made to ensure all the important settings get changed.

4. What do you mean with "pretty Url´s"?

It's the name of a modification for SMF. If you were using it, you would probably recognize the name.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Offline oasiscritter

  • Semi-Newbie
  • *
  • Posts: 31
Re: Registration not possible!
« Reply #17 on: August 19, 2008, 12:37:26 PM »
ok, i used the repair_setting.php and used always the recommended options, but i also not work =(

and i dont have installed "pretty_urls", should I?



thx

Offline oasiscritter

  • Semi-Newbie
  • *
  • Posts: 31
Re: Registration not possible!
« Reply #18 on: August 23, 2008, 12:23:31 PM »
I installed the forum new, but on the same DB, so i used the old tables but that havent any effekt =(

Offline Rumbaar

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,805
  • Gender: Male
  • Inherent Omniscience
    • Rumbaar.net
Re: Registration not possible!
« Reply #19 on: September 04, 2008, 05:55:31 PM »
The current public Repair Settings tool is only for 1.1.x.

Try the file I've attached in this thread:
Moving smf2.x between servers (localhost - domain)
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]