Koozali.org: home of the SME Server

php error in primary

ldavies

php error in primary
« on: May 04, 2004, 07:29:06 AM »
I have installed the public_html portion of geeklog in the primary ibay.  The rest of the app is in /opt/geeklog-1.3.9.  When I go to my home page http://www.boldwellies.com I get a blank white page.

I believe this is because the index.php file in (/home/e-smith/files/primary/html/index.php) is calling other php files in /opt/geeklog-1.3.9/.

I tried to fix this after looking at http://www.e-smith.org/faq.php3#6q12 with the following commands:
Code: [Select]
/sbin/e-smith/db accounts setprop primary PHPBaseDir /    
/sbin/e-smith/signal-event ibay-modify primary


.....But no luck.   Still the blank white pages.

There are a couple of things that would be fixes that I do not want to do:
1) move everything from /opt/geeklog-1.3.9/ into /home/e-smith/files/primary/html/.  Apparently this can be a security problem
2) Use the RPM at http://tech-geeks.org/contrib/loveless/SMEServer/contribs/geeklog/.  This rpm creates an alias called geeklog so instead of users accessing geeklog by going to www.boldwellies.com they would be redirected to www.boldwellies.com/geeklog.  While I like geeklog and will credit them on my site I do not want their name in the URL :)

This relates in part to my general questions on setting up apps on an e-smith server located at http://forums.contribs.org/index.php?topic=22257.msg88287#msg88287 which has not had much discussion ....yet...

Oh most knowledgable e-smith users please help me out here    :-)