Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Getting Started > Hosting > WEC config in backend...
Total Posts: 7 - Pages (1): [1]
Author: Chris Spencer
Posted: Aug 21 2007 - 12:29 AM
Subject: WEC config in backend...
I recently had to migrate from one VPS to another. I'm hosting 2 domains that I am planning to migrate to WEC (calvarymacomb.com and firmfoundations.org). I'm doing these for free and I'm running out of time on this (will be on the road for a mission trip in about a week for the next month). I would really appreciate a hand.

Since I made the move I haven't been able to use "WEC Config" in the backend as well as the Maps modules. (they come up blank)

The site seems to work ok. Pages, list, etc all seem to be fine on the backend.

Anyone have any ideas.

It seems to be the same problem on a fresh install too.

New VPS has CPANEL (old one was webmin). I'm thinking it's something in the Apache or PHP config. I am using the apache configured through there.

Anyone have advice or ideas?

In him,
Chris Spencer

Author: Jeff Segars
Posted: Aug 21 2007 - 09:37 AM
Subject: re: WEC config in backend...
Chris,
Do you have access to the PHP error logs on your server? If you check that, you should see some related errors there.

If you don't have access to the error logs, you can force Apache to print errors to the screen instead of dropping them in a log. If you go the All Configuration section of the Install Tool, you'll find a setting for displayErrors. You can temporarily set this to 1 and error messages should show up.

If you still don't see errors after doing this, you can try running the WEC Server Check script which looks for common problems with server environments. You can download it from http://webempoweredchurch.com/fileadmin/proj/wec_servercheck/. You'll need to rename the file from .php.txt to .php, then you can follow the instructions in the README.

Hope that gets you started
jeff
Author: Chris Spencer
Posted: Aug 21 2007 - 11:16 PM
Subject: re: re: WEC config in backend...
I appreciate the tip. I enabled php errors in the configuration. I would have access to the logs but I'm not sure where it's putting them yet.

Anyway, there are no errors.

Here is the result of the wec servercheck...also no errors:

-= PHP Scripting Test =-
Version 4.4.7 Passed
Server API apache Passed
OS Linux Passed
Memory Limit No memory limit in effect! Passed
Max Upload Filesize 10M Passed
Required Functions success Passed

-= MySQL Database Test =-
Status Running Passed
Client Version 4.1.22 Passed
Persistent connection Success Passed
Server Version 4.1.22-standard Passed
Host Info Localhost via UNIX socket Passed

-= File Permissions Test =-
Minimum write permissions 0744 Passed
Minimum read permissions 0744 Passed
Symlinks Success Passed

-= Apache Web Server Test =-
Version 1.3.37 Passed
mod_rewrite unable to determine this setting due to the server configuration Warning
mod_security not found Passed
Allow Override Success Passed
Rewrite URLs success Passed

-= TYPO3 Test =-
Base Tag Passed
.htaccess file found Passed
RealURL success Passed
TYPO3 index.php Success Passed
fileadmin readable and writable Passed
uploads readable and writable Passed
typo3temp readable and writable Passed
typo3conf readable and writable Passed


Any more ideas?

Thanks again for the tips.

-Chris
Author: Jeff Segars
Posted: Aug 22 2007 - 12:22 AM
Subject: re: WEC config in backend...
Hey Chris,
The logs are probably being stored in /usr/local/apache/logs/error_log or /var/log/httpd/error_log. You may also be able to get to them through CPanel also.

If you can give us a link to one of the sites having issues, I'll see what I can tell from the outside.

Thanks,
jeff
Author: Chris Spencer
Posted: Aug 22 2007 - 02:20 AM
Subject: re: WEC config in backend...
Found it:
Aug 22 01:00:26 vps suhosin[17961]: ALERT - Include filename ('../../../../typo3/init.php') contains too many '../' (attacker '69.44.24.101', file '/home/calvarym/public_html/calvarymacomb/typo3conf/ext/wec_config/mod1/index.php', line 26)


In the php.ini I found this:
suhosin.executor.include.max_traversal = 4

Changed it to 7.

Now the wec config works fine.

Thanks much!

-Chris
Author: Jeff Segars
Posted: Aug 22 2007 - 09:16 AM
Subject: re: WEC config in backend...
Hey Chris,
Glad you found the error logs and tracked that down. It's a new one I've never seen before

Thanks,
Jeff
Author: Jeff Segars
Posted: Aug 22 2007 - 01:20 PM
Subject: re: WEC config in backend...
Hey Chris,
Just one more note to follow up. To help others who have similar problems in the future, we'd like to add a check to max_traversal to our server check script. We don't have a server with suhosin installed though, which makes testing difficult. If we add a new test for it, would you be able to run the server check again and test things out for us?

Thanks!
Jeff
Total Posts: 7 - Pages (1): [1]
You must login to post a message to this conference.