Rich Shepard wrote:
> I've made what appear to be all necessary adjustments to the adodb_lite
> SQL drivers to accommodate postgres-9.x. I'm now getting a 404 Page Not
> Found error when I try to open /var/www/htdocs/cmsms/index.php (as
> localhost/cmsms/index.php). My Google searches find nothing I see as useful
> in explaining how to identify why the page isn't being found.
>
> However, I may have a hint.
>
> If I look at that file with a pager I see the php code. But, when I open
> that file in firefox I see errors:
>
> Site down for maintenance.
> "; exit; } if (!is_writable(TMP_TEMPLATES_C_LOCATION) ||
> !is_writable(TMP_CACHE_LOCATION)) { echo ''; echo '
>
> The following directories must be writable by the web server:
> '; echo 'tmp/cache
> '; echo 'tmp/templates_c
> '; echo'
>
> Please correct by executing:
> chmod 777 tmp/cache
> chmod 777 tmp/templates_c
> or the equivilent for your platform before continuing.
>
> I saw that message last week and changed permissions to 777:
>
> drwxrwxrwx 2 rshepard users 4096 2010-11-08 09:49 cache/
> drwxr-xr-x 2 rshepard users 4096 2010-11-08 09:49 configs/
> -rw-r--r-- 1 rshepard users 26 2010-11-08 09:49 index.html
> drwxrwxrwx 2 rshepard users 4096 2010-11-08 09:49 templates_c/
>
> If the cache/ and templates_c/ directories are world-writable does it
> matter who the owner or primary group is? There are no files in the cache
> directory and three files from last Friday in the templates_c directory:
>
> -rw-r--r-- 1 rshepard users 1721 2010-11-08 09:49
> %%1B^1B2^1B2DE232%%siteprefs.tpl.inc
> -rw-r--r-- 1 rshepard users 13581 2010-11-08 09:49
> %%1B^1B2^1B2DE232%%siteprefs.tpl.php
> -rw-r--r-- 1 rshepard users 4673 2010-11-08 09:49
> TinyMCE^%%B5^B5C^B5CF75EB%%module_file_tpl%3ATinyMCE%3Btinyconfig.tpl.php
>
> What might be my problem here?
>
> Rich
>
>
Rich,
Double check your web server configuration. Some distributions have the
DocumentRoot /srv/www, others /var/www/htdocs, even others have it at
/srv/www/html.
But this might be non-sense if the site is serving other pages.
Ken
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug