|
|
| Author |
Message |
Absolut_Brian Private

Joined: 09 Feb 2004 Posts: 2
|
Posted: Mon Feb 09, 2004 12:50 pm Post subject: Missing blocks and modules? [Newbie Alert] |
|
|
|
Let me reitterate- I'm quite new to this, so please bear with me.
I have just installed phpnuke 7.0 and got it up and running pretty much. I have also applied the security patch in the sticky thread just above this thread. When I visit my site, I don't see any blocks- is this normal? I have them activated like so:
But, as you can see when you visit my site, I gots no blocks!
Also, my module admin page is empty, even though I have all the modules that came default with phpnuke in the /modules/ directory.
Thanks in advance for your help, I really appreciate it. |
|
| Back to top |
|
 |
chris Dark Lord of the Sith

Joined: 10 May 2003 Posts: 6262 Location: Outer Space
|
Posted: Mon Feb 09, 2004 3:13 pm Post subject: |
|
|
|
I will disappoint you: I have no idea why this is happenning to you...
This is not normal. Your nuke_blocks table may be corrupt. You may have to repair it.
On the MySQL prompt, type:
| Code: |
repair table nuke_blocks;
|
to repair the nuke_blocks table. To only check if the table is corrupt, use the "check table" SQL command:
| Code: |
check table nuke_blocks;
|
See REPAIR TABLE Syntax for the syntax of REPAIR TABLE.
If you don't have access to the MySQL prompt, but can access the shell, you can use the myisamchk utility. Again, you can both check and repair a table. To check it, type
| Code: |
myisamchk /path/to/the/table
|
on the shell's command line. To repair it, use
| Code: |
myisamchk -r /path/to/the/table
|
Unfortunately, all this requires you to "know what you are doing", and this is a contradiction to being a newbie.
If a corrupt nuke_blocks table was really the reason for this, you should investigate why it got corrupted in the first place This is not something it happens everyday - actually, it should never happen. _________________ Regards
Chris Karakas
www.karakas-online.de |
|
| Back to top |
|
 |
Absolut_Brian Private

Joined: 09 Feb 2004 Posts: 2
|
Posted: Mon Feb 09, 2004 9:15 pm Post subject: |
|
|
|
AH HA!
It was corrupted, although I had to fix everything by rebuilding the sql tables from scratch. I had originally used some web installer script I found, but it was for the wrong version of php-nuke. I re-did everything through phpMyAdmin, and it works perfectly!
Thanks so much. |
|
| Back to top |
|
 |
bryanr Private

Joined: 05 Mar 2004 Posts: 1
|
Posted: Fri Mar 05, 2004 5:04 pm Post subject: Table not Corrupt |
|
|
|
| I have only the left side blocks. I checked the table and it was fine. Has anyone had this happen? |
|
| Back to top |
|
 |
K!ngp!ng Private

Joined: 07 Mar 2004 Posts: 4
|
Posted: Sun Mar 07, 2004 11:02 am Post subject: |
|
|
|
Yeah i have this too !
exactly the same !
but there is a sql error obove the table were the modules can be chosen
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in includes/sql_layer.php on line 286 |
|
| Back to top |
|
 |
chris Dark Lord of the Sith

Joined: 10 May 2003 Posts: 6262 Location: Outer Space
|
|
| Back to top |
|
 |
K!ngp!ng Private

Joined: 07 Mar 2004 Posts: 4
|
Posted: Sun Mar 07, 2004 12:21 pm Post subject: |
|
|
|
Sorry ! but i solved the problem !
it ws like the guy above the sql script that was for another version ...
i forgot how easy the sql database creation is .. i got it thx 4 help ! |
|
| Back to top |
|
 |
sonicdeejay Private

Joined: 10 Mar 2004 Posts: 2
|
Posted: Wed Mar 10, 2004 7:24 am Post subject: |
|
|
|
I am encountering smae problem...
I update new block and module in the proper folder via FTP but can't find it info in administrator page
ask to key in MY SQL where can I do so?
I load the phpnuke automtically via cpanel. so I not so sure...
Help me pls |
|
| Back to top |
|
 |
chris Dark Lord of the Sith

Joined: 10 May 2003 Posts: 6262 Location: Outer Space
|
Posted: Wed Mar 10, 2004 7:45 am Post subject: |
|
|
|
I don't know cpanel. Perhaps someone else can tell us more about it and PHP-Nuke.
Otherwise, read the PHP-Nuke HOWTO, in the links given above, perhaps it will help you to get it working. _________________ Regards
Chris Karakas
www.karakas-online.de |
|
| Back to top |
|
 |
sonicdeejay Private

Joined: 10 Mar 2004 Posts: 2
|
Posted: Wed Mar 10, 2004 8:02 am Post subject: |
|
|
|
Chris,,,
You got PM..  |
|
| Back to top |
|
 |
|
|
 |
|
|