[TYPO3-linux] Install on subdomain, directories detected as not writable
Anna Young
annayoung at nexicom.net
Wed Aug 15 01:57:34 CEST 2007
Thank you Michael and Janno so very much for the suggestions. I
contacted my webhost with it and finally got the reply back that they do
not have SElinux installed on the server.
Unfortunately the only access to the shell I have is through Plesk
interface as I'm on a shared server.
I have exactly the same problem with Quickstart, Testsite, Dummie Site.
I also got a brand new domain on the same server so I don't have to
deal with a subdomain and there is no difference
My webhost is usually very cooperative and most of the time will adjust
the settings on the server if explained properly what is required. At
this point I have no idea what to request next.
The setup is at www.justicefordogs.info/phpinfo.php
The following are some of the errors from the error log:
PHP Warning:
fopen(/var/www/vhosts/justicefordogs.info/httpdocs/typo3conf/temp_CACHED_ps2e94_ext_tables.php):
failed to open stream: Operation not permitted in
/home/httpd/vhosts/justicefordogs.info/httpdocs/typo3/t3lib/class.t3lib_div.php
on line 2117
PHP Warning: main(): open_basedir restriction in effect.
File(/var/www/vhosts/justicefordogs.info/httpdocs/typo3conf/temp_CACHED_ps2e94_ext_localconf.php)
is not within the allowed path(s):
(/var/www/vhosts/justicefordogs.info/httpdocs:/tmp) in
/home/httpd/vhosts/justicefordogs.info/httpdocs/typo3/t3lib/config_default.php
on line 355
PHP Warning:
main(/var/www/vhosts/justicefordogs.info/httpdocs/typo3conf/temp_CACHED_ps2e94_ext_localconf.php):
failed to open stream: Operation not permitted in
/home/httpd/vhosts/justicefordogs.info/httpdocs/typo3/t3lib/config_default.php
on line 355
PHP Fatal error: main(): Failed opening required
'/var/www/vhosts/justicefordogs.info/httpdocs/typo3conf/temp_CACHED_ps2e94_ext_localconf.php'
(include_path='.:.:') in
/home/httpd/vhosts/justicefordogs.info/httpdocs/typo3/t3lib/config_default.php
on line 355
PHP Warning: fopen(): open_basedir restriction in effect.
File(/var/www/vhosts/justicefordogs.info/httpdocs/typo3temp/llxml/misc.xml_84e1751530.default.iso-8859-1.cache)
is not within the allowed path(s):
(/var/www/vhosts/justicefordogs.info/httpdocs:/tmp) in
/home/httpd/vhosts/justicefordogs.info/httpdocs/typo3/t3lib/class.t3lib_div.php
on line 2117, referer: http://www.justicefordogs.info/typo3/index.php
PHP Warning:
fopen(/var/www/vhosts/justicefordogs.info/httpdocs/typo3temp/llxml/misc.xml_84e1751530.default.iso-8859-1.cache):
failed to open stream: Operation not permitted in
/home/httpd/vhosts/justicefordogs.info/httpdocs/typo3/t3lib/class.t3lib_div.php
on line 2117, referer: http://www.justicefordogs.info/typo3/index.php
I have absolutely no idea how to fix any of the above errors although I
searched through the archives and through the various forums on the
Internet and any other suggestion would be greatly appreciated
Sincerely Yours
Anna Young
Toronto German Shepherd Dog Rescue
Please visit our website and join our Discussion Forum at http://www.torontogsdrescue.org
Janno Schouwenburg wrote:
> Hi all,
>
>
>
> I see a third reason also most hosters don't use it: selinux. With
> shell access you could check the security context with ls -Z and
> change it with chcon.
>
>
>
> Regards,
>
>
>
> Janno Schouwenburg
>
>
>
> -----Original Message-----
> From: typo3-linux-bounces at lists.netfielders.de
> <mailto:typo3-linux-bounces at lists.netfielders.de>
> [mailto:typo3-linux-bounces at lists.netfielders.de
> <mailto:typo3-linux-bounces at lists.netfielders.de>] On Behalf Of Anna Young
> Sent: dinsdag 7 augustus 2007 19:52
> To: TYPO3 Installation on Linux and other Unices
> Subject: Re: [TYPO3-linux] Install on subdomain, directories detected
> as not writable
>
>
>
> Thank you Michael so very much;
>
>
>
> If those are only two possible reasons
>
>
>
> I see two possible reasons:
>
> - You only made the directories writable but not their contents
>
> (chmod -R)
>
> - You fixed the wrong directories - maybe there is another instance?
>
>
>
> I obviously did not made the content writable, however I have no idea
>
> how to do it. I use Plesk desktop on the server and I don't see where
>
> the 'content' of an empty folder can be made writable. I did create
>
> temp/ folder, made it 'rwxrwxrwx' but that makes no difference, I still
>
> get the same errors.
>
>
>
> Would it have anything to do with 'sessions'? This is an error for
>
> typo3temp and all other are the same with the same 'number' at the end
>
> of the path:
>
>
>
> *typo3temp/ directory not writable* /Full path:
>
> /var/www/vhosts/torontogsdrescue.org/subdomains/sultan/httpdocs/typo3temp/7356fb702c59fa6f3fbb082502771ef5/
>
> The folder is used by both the frontend (FE) and backend interface (TBE)
>
> for image manipulated files.
>
>
>
> Tried to write this file (with touch()) but didn't succeed.
>
> The directory typo3temp/ must be writable!
>
>
>
> Sincerely Yours
>
>
>
> Anna Young
>
> Toronto German Shepherd Dog Rescue
>
>
>
> Please visit our website and join our Discussion Forum at
> http://www.torontogsdrescue.org <http://www.torontogsdrescue.org>
>
>
>
>
>
> ____________________________________________________________-
>
>
>
> Michael Stucki wrote:
>
>
>
> >Hi Anna,
>
> >
>
> >
>
> >
>
> >>It tells me that directories typo3temp, typo3conf, fileadmin and uploads
>
> >>are not writable when in fact they are all '777'.
>
> >>
>
> >>
>
> >
>
> >I see two possible reasons:
>
> >- You only made the directories writable but not their contents
> (chmod -R)
>
> >- You fixed the wrong directories - maybe there is another instance?
>
> >
>
> >
>
> >
>
> >>The archives of the support lists are disabled so I'm not able to look
>
> >>for answers there.
>
> >>
>
> >>
>
> >
>
> >Yes, we couldn't fix them yet after the listserver upgrade last week.
>
> >You can search using Google instead:
>
> >
>
> >Search for: <search terms> site:lists.netfielders.de
> <http://lists.netfielders.de>
>
> >
>
> >(notice the "site" attribute)
>
> >
>
> >Good luck!
>
> >
>
> >- michael
>
> >
>
> >
>
> _______________________________________________
>
> TYPO3-linux mailing list
>
> TYPO3-linux at lists.netfielders.de <mailto:TYPO3-linux at lists.netfielders.de>
>
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-linux
> <http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-linux>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>TYPO3-linux mailing list
>TYPO3-linux at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-linux
>
More information about the TYPO3-linux
mailing list