[Typo3] maillisttofaq...

Gregers Wegener gwe at dadlnet.dk
Sun Jan 30 09:45:05 CET 2005


Hi Peter,

Thank you for all your feed-back.
Got it to work - but only following copy of the *.php mentioned below to the
site dir and change of PATH_t3lib to PATH_site in the inmail.phpsh file. 
..........
require(PATH_t3lib."class.t3lib_div.php");
require(PATH_t3lib."class.t3lib_extmgm.php");
require(PATH_t3lib."config_default.php");		
if (!defined ("TYPO3_db")) 	die ("The configuration file was not
included.");
require_once (PATH_t3lib."class.t3lib_readmail.php");
...........
While I'm not a Linuxnewbie, I'm still not able to see what was wrong with
the original configuration (tried all kinds of x-permissions)....

Again - thank you for all your help.

Greg

-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Peter Russ
Sent: Friday, January 28, 2005 9:14 PM
To: typo3-english at lists.netfielders.de
Subject: Re: [Typo3] maillisttofaq...

Gregers Wegener schrieb:

> Peter,
> 
> Thank you for your feedback...
> 
> I get this log:
> 
> ...........
> Jan 28 09:52:38 psyno php2: Wrong path... This
'typo3conf/ext/maillisttofaq'
> should be the last part of '/var/www/html/eu/typo3conf/ext/maillisttofaq'
> Jan 28 09:52:38 psyno php2: PHP Warning:
> main(/var/www/html/eu/typo3/t3lib/class.t3lib_div.php): failed to open
> stream: Permission denied in
> /var/www/html/eu/typo3conf/ext/maillisttofaq/inmail.phpsh on line 61
> Jan 28 09:52:38 psyno php2: PHP Fatal error:  main(): Failed opening
> required '/var/www/html/eu/typo3/t3lib/class.t3lib_div.php'
> (include_path='.:/usr/share/pear') in
> /var/www/html/eu/typo3conf/ext/maillisttofaq/inmail.phpsh on line 61
> ...........
> 
> class.t3lib_div.php is found via symlink. Could it be that this is enabled
> in .htaccess only and not globally??

I think the log shows what's going wrong:
The current user has no right to open class.t3lib_div.php (.htaccess 
will only be executed if called via Apache! and Apache is not involved 
in here). You should check the permissions and the user running that 
script. But this is OT at this forum:
So just hints:
1) Under which user is the sciprt running?
2) To which group does this user belong to?
3) TRY to connect via ssh to the server using that user and start the 
script.
4) chmod or chown to your needs.

Regs. Peter.
_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english






More information about the TYPO3-english mailing list