Username:     Password:                

PHPNuker - Addon Theme Module Wysiwyg - FCKeditor PHPNuker Download Archiv PHPNuker Support Forum PHPNuker Community Account PHPNuke Weblinks

               
   Steuerung

Seite merken

Weiter erzählen


 Alle Besucher
Startseite
Avant Go
Support-Forum
Artikel Archiv
Top 10
Themen
Links
RSS-Überschriften
Dein Konto

 Nur Mitglieder
FCKeditor2
FCKeditor FAQ
PHP Manual
PHPNuke Manual
Teilnehmerliste
Download
Private Nachricht
Suchen
Shout-Box
Neues einsenden
Umfragen
Partner
Button Maker

 Information
Kontaktformular
Impressum
Datenschutz
Werbe Banner!
Statistiken



   Empfehlungen
Finden Sie hier Link Empfehlungen!
   Bookmark
Social Bookmarking
Bookmark bei: Mr. Wong Bookmark bei: Webnews Bookmark bei: Icio Bookmark bei: Oneview Bookmark bei: Linkarena
Bookmark bei: Newskick Bookmark bei: Seekxl Bookmark bei: Newsider Bookmark bei: Folkd Bookmark bei: Yigg
Bookmark bei: Digg Bookmark bei: Del.icio.us Bookmark bei: Simpy Bookmark bei: Yahoo Bookmark bei: Google
Bookmark bei: Blinklist Information
   Link zu mir


conrads-berlin.de




.:Link to Us:.



More Banner!
Link Exchange Anfrage

   Freeware News
 
Spielebase - Kostenlose Spiele
Anzeige
Modules do not show up and/or disappear

3.10.3. Modules do not show up and/or disappear

Figure 3-38. Administration panel: Modules.

Administration panel: Modules.

Administration panel: Modules.



In PHP-Nuke version 7 alpha, when adding a module to the modules folder it won't show in admin/modules. When renaming a module, with FTP or similar, the module also disappears (see Modules do not show and/or disappear).

The problem is that in admin/modules/modules.php, of that version, on the line that inserts the modules in the folder modules, the number of fields is incorrect. In admin/modules/modules.php, the lines with:

       if ($mid == "") {
      sql_query("insert into ".$prefix."_modules 
values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1')", $dbi);
       }

should have been:

       if ($mid == "") {
           sql_query("insert into ".$prefix."_modules 
values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '0')", $dbi);
       }

Notice the extra

,'0' 

before the

)",$dbi);

This error seems to affect v. 7 alpha and some of the 7.0 FINAL downloads.

You should also be aware that there are some third party modules which alter the nuke_modules table. All you have to do to determine if this might be a problem for you, is to view your nuke_modules table through phpMyAdmin (Section 3.3) or a similar tool, count the number of fields and then compare this number with the code in admin/modules.php:

if ($mid == "") {
      sql_query("insert into ".$prefix."_modules 
values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '0')", $dbi);
}

The above gives us 7 fields.


Help us make a better PHP-Nuke HOWTO!

Want to contribute to this HOWTO? Have a suggestion or a solution to a problem that was not treated here? Post your comments on my PHP-Nuke Forum!

Chris Karakas, Maintainer PHP-Nuke HOWTO

Design @ 2004 Freenuke -/- modifiziert PHPNuker.de
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters,
all the rest (c) 2010 by phpnuker.de.

[ SharewareWorld ] - [ Freeware-base ] - [ Weblink4U ] - [ Der-Goldesel ] - [ Firmwarebase ] - [ prZone ] - [ FreieSoft ]
[ Mailtausch-prZone ] - [ Kostenlosesoft ] - [ XFreeware ] - [ Shareware-Community ] - [ Freie-Homepage ] - [ Spielebase ]
[ Freeware95 ] - [ Webkatalog ]


Erstellung der Seite: 0.03 Sekunden