Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Table crash

Asked Modified Viewed 2,294 times
G
General_Sugna
G
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

URL to your site: http://sfv.napalm.com.br/news.php
Version of PHPFusion: 7.
Any mods you've made to your site: yes (I have centered the logo and changed the maximum size of avatars).
Version of PHP: 5.2.0-8+etch11.
Version of MySQL: 5.0.32.
Have you searched for your problem: yes.
If so, what terms did you try: "table crash"; "table 'ton'".
State the nature of your problem: a) Table 'fusion_online' is marked as crashed and should be repairedTable'fusion2_online' is marked as crashed and should be repaired; b) Table 'ton' is marked as crashed and should be repairedTable 'ton' is marked as crashed and should be repaired.
Do you have a test account for us? nay, but I may create one.
Screenshot: http://br.geocities.com/general_sugna...-f-huh.jpg
Edited by General_Sugna on 02-10-2008 16:54,
0 replies

9 posts

E
Elactos
E
Elactos 10
Infusions & modifications for PHP-Fusion v7
http://www.redward.org
  • Member, joined since
  • Contributed 138 posts on the community forums.
  • Started 5 threads in the forums
answered
Member

Run this in a custom page:
<?php
$r = dbquery("REPAIR TABLE ".DB_PREFIX."online");
$r2 = dbquery("REPAIR TABLE ton");
if ($r) echo 'Reperation done (first query).<br />';
if ($r2) echo 'Reperation done (second query).';
?>
Edited by Elactos on 02-10-2008 17:00,
0 replies
G
General_Sugna
G
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Quote

Elactos wrote:
Run this in a custom page:
<?php
$r = dbquery("REPAIR TABLE ".DB_PREFIX."online");
$r2 = dbquery("REPAIR TABLE ton");
if ($r) echo 'Reperation done (first query).<br />';
if ($r2) echo 'Reperation done (second query).';
?>


I did it and this message appeared:

Notice: Undefined index: global_182 in /var/www/napalm/sfv/administration/custom_pages.php on line 38
0 replies
S
Sveinungs
S
  • Veteran Member, joined since
  • Contributed 935 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

The message is caused by:

1 - you miss this line in /locale/YOUR_LANGUAGE/global.php

$locale['global_182'] = "<strong>Notice:</strong> Admin Password not entered or incorrect.";


Add this line to you global.php.

2 - You forgot to enter your Admin Password before you previewed the code in a custom page.
0 replies
G
General_Sugna
G
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

I do have entered my Admin Password earlier, but I chose "save page" instead of "preview page".

Now I did as you said (preview page) and this message appeared:

Notice: Undefined index: global_182 in /var/www/napalm/sfv/administration/custom_pages.php on line 94
0 replies
S
Sveinungs
S
  • Veteran Member, joined since
  • Contributed 935 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

Yes, you should only PREVIEW the page, do NOT save this.

Have you added the missing locale definition to /locales/YOUR_LANGUAGE/global.php?

You also have to enter your admin password again, as this is only stored in a session cookie. If the cookie is expired, the input field for your adminpassword will appear once again.

The site is trying to tell you to enter you adminpasswod, but it is missing the locale to tell you so. Hence the error message :)
0 replies
G
General_Sugna
G
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Oh, wait.

I am using the wrong password. :|

Be right back.
0 replies
G
General_Sugna
G
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Quote

sveinungs wrote:
Yes, you should only PREVIEW the page, do NOT save this.

Have you added the missing locale definition to /locales/YOUR_LANGUAGE/global.php?

You also have to enter your admin password again, as this is only stored in a session cookie. If the cookie is expired, the input field for your adminpassword will appear once again.

The site is trying to tell you to enter you adminpasswod, but it is missing the locale to tell you so. Hence the error message :)


LoL, yes, I added the missing line.

Now I have to find my Admin Password.

Be right back.

.
..
...

I am back and I have no idea about my Admin Pass.
My friend is the server owner and he is also a Super Admin in our site.
Our Admin Password are the same? May he reset my A-Pass? :|
Edited by General_Sugna on 02-10-2008 19:25,
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

If you have access to the email address listed in your profile, then you can reset passwords with this infusion:

http://www.digital-dominion.co.uk/dow...p?cat_id=2
0 replies
G
General_Sugna
G
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Thank you, Mr. WEC.

I managed to change my A-Pass and now I have fixed my site, according to Elactos and sveinungs instructions.

Thanks mateys! ;D~

[small2]PS: missing line in Brazilian Portuguese locale published in the Brazilian Support Site of PHPFusion.[/small2]
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 9 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

W
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
S
S
  • Veteran Member, joined since
  • Contributed 935 posts on the community forums.
  • Started 3 threads in the forums
E
E
Elactos 10
Infusions & modifications for PHP-Fusion v7
http://www.redward.org
  • Member, joined since
  • Contributed 138 posts on the community forums.
  • Started 5 threads in the forums
G
G
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet