8: Undefined variable: memID?

Started by Tiribulus, April 11, 2009, 12:40:33 AM

Previous topic - Next topic

Tiribulus


Guest   
April 10, 2009, 11:50:23 PM
URL http://gregnmary.gotdns.com:8080/index.php?action=register2
8: Undefined variable: memID
File: /srv/www/htdocs/Sources/Register.php
Line: 373


This happens when I register a test account, but shows up as guest. What's weird is the whole section surrounding line 373 and and the memID variable there is identical to the unmodified file from the install package. I'm not detecting any other issues than the error. The account registers, the mail is sent, activation works and the account can post.

Any insight would be greatly appreciated,
Thanks

Afro

i guess it happenes when you allowed member activation. I detect the same erors on my forum error log. when i added anti bot puzzle mod and enabled it, the errors stopped

Tiribulus

The thing is I already have the puzzle mod installed and it works fine. Also recaptcha (spelling?) and are you human and they all work. You're saying that allowing member activation at all causes this?

Tiribulus

I wonder if it is in any way related to the fact that I dropped 20 tables from the DB last night just before testing registration. They were left when I uninstalled the zcommunity mod a while back for some reason.

JimM

Do you have some mods that may have edited the /Sources/Register.php file?  That variable occurs around line 220 in an unmodified file. 
Jim "JimM" Moore
Former Support Specialist

Tyrsson

Can you attach a copy of the file in question.
PM at your own risk, some I answer, if they are interesting, some I ignore.

Tiribulus

Here's the register.php file guys. Thanks.

I'm pretty sure that section is the same as an unmodded file.

Tyrsson

I must say its by me... Maybe its from lack of sleep but I don't see the problem. I would ask the mod author where the variable is defined.
PM at your own risk, some I answer, if they are interesting, some I ignore.

Tiribulus

I don't know either. It doesn't seem to bothering anything. I only get it when somebody registers and when I KDIFF the file with one fresh outta the package that section is identical.

JimM

I looked it over and can't find a problem either.
Jim "JimM" Moore
Former Support Specialist

Tiribulus

We'll call it solved. If it causes anything serious I'll open it up again.

Tyrsson

Just had a thought, is there any other files that are added by those mods? Maybe like a template of their own or a independent php file in the Sources folder?
PM at your own risk, some I answer, if they are interesting, some I ignore.

Tiribulus

I'm not sure which you mean by those mods, but dozen pages, custom action, media gallery, hello/goodbye (maybe that one?), media gallery, simple portal, user email, ABclock, and browser detection have additional scripts in that folder that I can see at first glance.
Thanks BTW.

Tyrsson

I was referring to the any of the mods you are using that affects registration.
PM at your own risk, some I answer, if they are interesting, some I ignore.

yura_mdj

#14
I have the same problem

http://forum.***.com/index.php?action=register2
Застосувати фільтр: Показати помилки тільки з теми повідомленнями
8: Undefined variable: memID
Файл: /home/.../http/Sources/Register.php
Line: 320

Advertisement: