Author |
|
rookie
Joined: 08 Mar 2006 Posts: 8
|
Posted: Fri 10 Mar '06 16:08 Post subject: Module will not load |
|
|
Well, I finally got the mod_auth_phpbb module to build locally from the zip Steffen sent. I'm concerned that my .so is 15k vs the 21k found in Steffen's zip. When I try to load the module I built locally, I get an error when Apache starts up. Nothing more verbose than the message that Apache could not load the mod_auth_phpbb module. I don't know if there is more that I have to do, but once I built the module, I dropped it in the apache modules directory and added the configuration info for httpd.conf.
Thanks for any input.... |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
Posted: Fri 10 Mar '06 16:35 Post subject: |
|
|
Mine here is also 12K
Do you have libmySQL.dll in your /windows folder ?
Steffen |
|
Back to top |
|
rookie
Joined: 08 Mar 2006 Posts: 8
|
Posted: Fri 10 Mar '06 17:04 Post subject: |
|
|
Well, libmySQL.dll was not in the /windows directory. I went ahead and copied the dll from the mysql\bin directory and pasted it into /windows. Its complainging of a syntax error where I try to load the module in the conf file. I added what I found in the zip you host on your site...
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule auth_phpbb_module modules/mod_auth_phpbb.so
Is the syntax error just a disguise for something else? |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
Posted: Fri 10 Mar '06 17:08 Post subject: |
|
|
When you start Apache with Debug:
httpd.exe -e debug
What is the error message you get ?
Steffen |
|
Back to top |
|
rookie
Joined: 08 Mar 2006 Posts: 8
|
Posted: Fri 10 Mar '06 17:26 Post subject: |
|
|
[Fri Mar 10 09:13:45 2006] [debug] mod_so.c(248): loaded module setenvif_module
[Fri Mar 10 09:13:45 2006] [debug] mod_so.c(248): loaded module userdir_module
[Fri Mar 10 09:13:45 2006] [debug] mod_so.c(248): loaded module dav_svn_module
Syntax error on line 178 of C:/Program Files/Apache Group/Apache2/conf/httpd.con
f:
Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_auth_phpbb.so into
server: This application has failed to start because the application configurat
ion is incorrect. Reinstalling the application may fix this problem.
I'm running 2.0.55 so I used apache.exe -e debug
Thanks for all the help... |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
Posted: Fri 10 Mar '06 17:34 Post subject: |
|
|
Sure you are using the mod_auth_phpBB-1.01a-2.0.55-w32 ?
Is there some in the windows event log ?
Steffen |
|
Back to top |
|
rookie
Joined: 08 Mar 2006 Posts: 8
|
Posted: Fri 10 Mar '06 17:54 Post subject: |
|
|
Well, I was trying to use the one I built vs. the downloaded. I would really like to be able to build it myself. I tried the one I downloaded and now its just looking for a db password, so I think we're getting somewhere. The event logger spit out the following when I tried running apache with my local build:
Generate Activation Context failed for C:\Program Files\Apache Group\Apache2\modules\mod_auth_phpbb.so. Reference error message: The referenced assembly is not installed on your system.
.
is this because I was building the module on a different box then apache was running on? Only question is how am I able to use the one you built?
thanks |
|
Back to top |
|
rookie
Joined: 08 Mar 2006 Posts: 8
|
Posted: Fri 10 Mar '06 17:57 Post subject: |
|
|
Looking a couple more events in the viewer I saw the following:
Dependent Assembly Microsoft.VC80.DebugCRT could not be found and Last Error was The referenced assembly is not installed on your system. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
Posted: Fri 10 Mar '06 18:00 Post subject: |
|
|
Assembly Microsoft.VC80.DebugCRT means that you build in debug mode. It is not allowed to distribute the debug assemblies.
You should build in release mode.
Steffen |
|
Back to top |
|
rookie
Joined: 08 Mar 2006 Posts: 8
|
Posted: Fri 10 Mar '06 18:08 Post subject: |
|
|
Thanks again Steffen,
I'll see if that works... |
|
Back to top |
|