Warning in register.php with forum integration
|
04-25-2012 03:18 PM
|
|
Administrator, Lead Coder
|
|
Warning in register.php with forum integration
A warning is genertated upon registration if forum integration is enabled
This is a minor one, your site should still run pretty much normally with or without fixing it. The glitch simply affects newly registered users logging into their forum account right after registration, since the inclusion path for config_forums.php is wrong for the dologin() function. Because of this bug, new users have to log in manually after registration, as the script will not log them in automatically.
The reason why most of us would not have noticed the glitch is that dologin() function is not being used in the login sidebar for guests. For this reason you can only notice this glitch if you have tried registering on your site without error/warning suppression. The fact that it is not affecting registered users makes this bug difficult to detect.
Solution to fixing this glitch will be available in the next post, it is fixed for Mys v1.3.2 release already though.
|
|
Issue Details
|
Category Unknown
Status Fixed
Priority 9
Affected Version Mys v1.3.1
Fixed Version Mys v1.3.2
Users able to reproduce bug
0
Users unable to reproduce bug
0
Assigned Users
Hall of Famer
Tags
(none)
|
|
04-25-2012 03:20 PM
|
|
Administrator, Lead Coder
|
|
|
|
05-18-2012 02:47 PM
|
|
Ok
|
05-21-2012 04:58 PM
|
|
The Grim One
|
|
|
Update on this, I changed the file for register.php, and now get
Quote:
Warning: include(inc/config.php) [function.include]: failed to open stream: No such file or directory in /home/u666097869/public_html/functions/functions.php on line 6
Warning: include() [function.include]: Failed opening 'inc/config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/u666097869/public_html/functions/functions.php on line 6
Could not connect to database, the following error has occurred:
SQLSTATE[HY000] [2005] Unknown MySQL server host 'DBHOST' (1)
|
when I try to acess my AdminCP. Any ideas?
|
All times are GMT -5. The time now is 03:54 PM.
Currently Active Users: 1796 (0 members and 1796 guests)
Threads: 4,081, Posts: 32,025, Members: 2,016
Welcome to our newest members,
jolob.