PHP Nuke Nederland
 
•   Home  •  Downloads  •  Your Account  •  Forums  •
PHP-Nuke Nederland: Forums

PHP-Nuke Nederland :: View topic - Problemen met Your account
 Forum FAQ  •   Search   •  Memberlist  •  Usergroups   •  Register   •    •  Profile  •  Log in to check your private messages  •  Log in

 
Post new topicReply to topic
View previous topic Log in to check your private messages View next topic
Author Message
megazone
Gevorderd
Gevorderd


Joined: Oct 01, 2004
Posts: 90

PostPosted: Sat 02 Oct 2004 7:56 Reply with quoteBack to top

Beste Nukers,

ik heb het volgende probleem met de module Your_account in nuke 7.4/Apache 2 Mysql 3.23:

als een gebruiker is ingelogd en het account wil wijzigen komt hij niet in de verschillende pagina's. Steeds wordt het eerste scherm getoond. Alleen Messages en Exit werkt.
Als hij dan naar het forum gaat op profile klikt ziet hij wel het profiel. Drukt hij daar dan op submit (ook al is er niets gewijzigd) en gaat hij vervolgens weer naar your account, dan werkt alles wel goed.

Omdat ik ook protector gebruik, heb ik een volledige nuke installatie opnieuw gedaan met Nuke 7.4 en alleen protector. Ook dit helpt niet, het blijft dezelfde problemen geven.

Wat mij ook opvalt is dat de error_log van httpd zeer veel meldingen geeft, iets wat mij niet normaal lijkt. Het lijkt wel of ik een module mis waarin de variabelen zijn gedefineerd. Hieronder een greep uit de log meldingen (ip, site en username zijn door xxxxx vervangen):

PHP Notice: Undefined variable: content in /var/www/html/blocks/block-Modules.php on line 58, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined variable: def_module in /var/www/html/blocks/block-Modules.php on line 59, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 196, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 196, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 196, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 196, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 196, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 196, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 196, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 196, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 196, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 196, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 196, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 196, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 196, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 196, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Undefined index: 1 in /var/www/html/mainfile.php on line 196, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant bkey - assumed 'bkey' in /var/www/html/mainfile.php on line 382, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant admin - assumed 'admin' in /var/www/html/mainfile.php on line 382, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant bkey - assumed 'bkey' in /var/www/html/mainfile.php on line 384, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant userbox - assumed 'userbox' in /var/www/html/mainfile.php on line 384, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant bkey - assumed 'bkey' in /var/www/html/mainfile.php on line 386, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant _users - assumed '_users' in /var/www/html/blocks/block-User_Info.php on line 28, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant username - assumed 'username' in /var/www/html/blocks/block-User_Info.php on line 31, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant _users - assumed '_users' in /var/www/html/blocks/block-User_Info.php on line 32, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant _session - assumed '_session' in /var/www/html/blocks/block-User_Info.php on line 34, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant _users - assumed '_users' in /var/www/html/blocks/block-User_Info.php on line 83, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant userCount - assumed 'userCount' in /var/www/html/blocks/block-User_Info.php on line 86, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant _users - assumed '_users' in /var/www/html/blocks/block-User_Info.php on line 90, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant userCount - assumed 'userCount' in /var/www/html/blocks/block-User_Info.php on line 93, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant _users - assumed '_users' in /var/www/html/blocks/block-User_Info.php on line 105, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant user_id - assumed 'user_id' in /var/www/html/blocks/block-User_Info.php on line 108, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant _bbprivmsgs - assumed '_bbprivmsgs' in /var/www/html/blocks/block-User_Info.php on line 109, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant _bbprivmsgs - assumed '_bbprivmsgs' in /var/www/html/blocks/block-User_Info.php on line 110, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant bkey - assumed 'bkey' in /var/www/html/mainfile.php on line 382, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx
PHP Notice: Use of undefined constant admin - assumed 'admin' in /var/www/html/mainfile.php on line 382, referer: http://xxxxx.nl/modules.php?name=Your_Account&op=userinfo&bypass=1&username=xxxxxxxx

Ik kan geen patches vinden voor Nuke 7.4 die dit probleem kan verhelpen.

Kan iemand mij helpen? Bij voorbaat dank!
View user's profileSend private message
BlueLion
Administrator
Administrator


Joined: Aug 21, 2004
Posts: 2836

PostPosted: Sat 02 Oct 2004 8:25 Reply with quoteBack to top

http://www.phpnuke-nederland.com/ftopict-18.html


BL
View user's profileSend private messageSend e-mailVisit poster's website
megazone
Gevorderd
Gevorderd


Joined: Oct 01, 2004
Posts: 90

PostPosted: Sat 02 Oct 2004 8:45 Reply with quoteBack to top

Bedankt voor de link!!! hiermee ben ik in ieder geval van de zeer sterk groeiende logfiles af.

Maar het Your account probleem blijft nog steeds staan.

(ik had de httpd service herstart, lijkt me voldoende)

Dus de hamvraag blijft nog steeds staan, weet je hierop ook het antwoord?
View user's profileSend private message
megazone
Gevorderd
Gevorderd


Joined: Oct 01, 2004
Posts: 90

PostPosted: Sat 02 Oct 2004 8:58 Reply with quoteBack to top

Ik had voor de herstart van httpd de errorlogfiles weg gegooid.
Ik zie geen errors daarin staan, alleen wat regels dat de boel goed opstart.

Als PHP versie heb ik 4.3.8, en in gebruik de Fedora Core 2 distro.
View user's profileSend private message
Mozes
MOD, gepensioneerd
MOD, gepensioneerd


Joined: Aug 27, 2004
Posts: 261

PostPosted: Sun 03 Oct 2004 1:50 Reply with quoteBack to top

Heb je die extra regel van protector wel toegevoegd ??


Quote:
Step 3 open your header.php
find this -> require_once("mainfile.php");
add BELOW:
just add --> if(!eregi("admin.php",$_SERVER['PHP_SELF'])) {
require_once("includes/blocker.php"); }

It should look like this:

require_once("mainfile.php");
if(!eregi("admin.php",$_SERVER['PHP_SELF'])) {
require_once("includes/blocker.php"); }
View user's profileSend private messageVisit poster's website
megazone
Gevorderd
Gevorderd


Joined: Oct 01, 2004
Posts: 90

PostPosted: Sun 03 Oct 2004 2:08 Reply with quoteBack to top

Ja, die staat er in.

Sterker nog, ik heb de volledige installatie op nieuw gedaan in een nieuwe directory, incl. protector.

Even de originele html gerenamed en de test directory op html gezet.

In de test versie staat dus een standaard phpnuke 7.4 installatie met alleen protector. Alle aanpassingen 3x dubbel gechecked.

En dan nog krijg ik steeds dezelfde fout.

Ik heb het idee dat ik misschien zo ver moet gaan dat ik mijn database opnieuw ga installeren (ernaast natuurlijk met een andere naam als nuke) om het precies te kunnen vergelijken.

Een andere optie zou zijn, een php debugger, maar die heb ik nog niet gevonden voor linux.
View user's profileSend private message
kenwood
Moderator
Moderator


Joined: Sep 07, 2004
Posts: 246

PostPosted: Sun 03 Oct 2004 2:43 Reply with quoteBack to top

Als ik jou was zou ik eerst eens php-nuke instaleren zonder iets erbij en dan eens kijken of het goed is , en als dat goed is dan pas modules toe gaan voegen.
View user's profileSend private message
megazone
Gevorderd
Gevorderd


Joined: Oct 01, 2004
Posts: 90

PostPosted: Sun 03 Oct 2004 18:45 Reply with quoteBack to top

Ik ben toch nog verder wezen spitten, want een nieuwe database maken zou betekenen dat ik een conversie moet maken van de oude naar de nieuwe database.

Ik heb nu gemerkt, dat users die in het veld (tabel nuke_users) user_actkey de waarde NULL hebben (ik zie dit in het list scherm van myphpadmin) geen problemen hebben. Users waar in hetzelfde veld niets staat hebben het probleem wel. Als ik de user ga wijzigen (dus het detail scherm) staat bij alle users een leeg veld achter user_actkey.

De users die het probleem hebben, heb ik zelf met add users in admin pannel toegevoegd. De andere users hebben zich geregistreerd en op de link in de e-mail gedrukt. Waarschijnlijk alleen nog uitzoeken hoe ik in dat veld waar geen NULL staat deze waarde kan aanpassen.
View user's profileSend private message
megazone
Gevorderd
Gevorderd


Joined: Oct 01, 2004
Posts: 90

PostPosted: Sun 03 Oct 2004 23:05 Reply with quoteBack to top

Helaas, te vroeg gejuicht.

user_actkey heeft inmiddels de waarde NULL, maar probleem blijft bestaan. Net nog een nieuwe user gemaakt met de activate link manier en dan gaat alles prima.

Ook een user met de hand aangemaakt (cpanel van admin, edit users en dan add user) en die geeft dezelfde fout.

wordt vervolgt.
View user's profileSend private message
Mozes
MOD, gepensioneerd
MOD, gepensioneerd


Joined: Aug 27, 2004
Posts: 261

PostPosted: Sun 03 Oct 2004 23:24 Reply with quoteBack to top

Blijven de users soms "hangen" in de nuke_users_temp
Dus daar waar men blijft, totdat het account geactiveerd is ?

Wat staat er bijvoorbeeld standaard in je Tabel nuke_users
Staat er bij de Standaardwaarde "Null" ook idd Null als defauld..
Ik bedoel de text Null, en niet de "0", want dan gaat het fout.
View user's profileSend private messageVisit poster's website
megazone
Gevorderd
Gevorderd


Joined: Oct 01, 2004
Posts: 90

PostPosted: Sun 03 Oct 2004 23:44 Reply with quoteBack to top

ik heb het probleem gevonden.

het is erg dom.... maar het lijkt me ook een kleine bug

Stel... ik registreer als UserTje en log in als usertje dan kan ik dus NIET de user gegevens aanpassen (tenzij ik die submit heb gedaan in forum/profile).

Log ik goed in, UserTje gaat het allemaal prima.

Ik ben blij dat ik het gevonden heb, maar het lijkt mij wel een kleine bug.
View user's profileSend private message
rcdesign
Gevorderd
Gevorderd


Joined: Sep 27, 2004
Posts: 140

PostPosted: Mon 04 Oct 2004 0:46 Reply with quoteBack to top

megazone wrote:
ik heb het probleem gevonden.

het is erg dom.... maar het lijkt me ook een kleine bug

Stel... ik registreer als UserTje en log in als usertje dan kan ik dus NIET de user gegevens aanpassen (tenzij ik die submit heb gedaan in forum/profile).

Log ik goed in, UserTje gaat het allemaal prima.

Ik ben blij dat ik het gevonden heb, maar het lijkt mij wel een kleine bug.
ze noemen dat gewoon casecensitive: gebruik van hoofdletters gevoelig. Dat je al kon inloggen als usertje is al een raar ding op zijn eigen.
View user's profileSend private messageSend e-mailVisit poster's website
megazone
Gevorderd
Gevorderd


Joined: Oct 01, 2004
Posts: 90

PostPosted: Mon 04 Oct 2004 0:58 Reply with quoteBack to top

Quote:
ze noemen dat gewoon casecensitive: gebruik van hoofdletters gevoelig. Dat je al kon inloggen als usertje is al een raar ding op zijn eigen.



Casesensitive ken ik wel, ik werk immers met een linux configuratie.
Maar dat het inconsequent wordt gebruikt op Nuke wist ik nog niet. Ik bedoel dus, profiel aanpassen binnen nuke kan niet, maar wel als ik het doe op het forum.

En omdat het inloggen wel (gelukkig maar anders krijg je zat vragen van users die niet meer kunnen inloggen) lukt, profiel aanpassen binnen nuke niet, maar wel weer het forum (phpBB) lijkt me dat niet echt consequent.
View user's profileSend private message
rcdesign
Gevorderd
Gevorderd


Joined: Sep 27, 2004
Posts: 140

PostPosted: Mon 04 Oct 2004 0:59 Reply with quoteBack to top

megazone wrote:
Quote:
ze noemen dat gewoon casecensitive: gebruik van hoofdletters gevoelig. Dat je al kon inloggen als usertje is al een raar ding op zijn eigen.



Casesensitive ken ik wel, ik werk immers met een linux configuratie.
Maar dat het inconsequent wordt gebruikt op Nuke wist ik nog niet. Ik bedoel dus, profiel aanpassen binnen nuke kan niet, maar wel als ik het doe op het forum.

En omdat het inloggen wel (gelukkig maar anders krijg je zat vragen van users die niet meer kunnen inloggen) lukt, profiel aanpassen binnen nuke niet, maar wel weer het forum (phpBB) lijkt me dat niet echt consequent.
zoals ik al zei : het is een raar ding
View user's profileSend private messageSend e-mailVisit poster's website
nedkelly
Elite Support
Elite Support


Joined: Aug 23, 2004
Posts: 533

PostPosted: Mon 04 Oct 2004 5:21 Reply with quoteBack to top

Ik had dit probleem al zeer lang bij mij op de site, al een paar keer vragen gesteld op andere site's en nooit geen antwoortd gekregen.
En zie hier de oplossing staan. Laughing Laughing Inderdaad de hoofdletter.
Thx mates. Laughing Laughing
View user's profileSend private messageVisit poster's website
Display posts from previous:      
 Donaties   Adverteren 
Wilt u het forum steunen, dan kunt u nu eenvoudig doneren met PayPal.
Post new topicReply to topic
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Web site powered by PHP-Nuke

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2004-2008 by BlueLion.
SEO enhanced with the Sitemapper script
You can syndicate our news using the file backend.php or ultramode.txt
Powered by PHP Powered by MySQL Apache Webserver Valid robots.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Pagina rendering: 0.11 seconden


[Valid News RSS]

RSS Feeds:
[RSS 2.0 News Feed]
[RSS 2.0 Download Feed]
[RSS 2.0 Forum Feed]
[RSS 2.0 Link Feed]
:: fisubsilver shadow phpbb2 style by Daz :: PHP-Nuke theme by BlueLion ::