P2Dpro
JoomlaXT!
Welcome, Guest
Please Login or Register.    Lost Password?
Bunch of errors on /tmp files Forum is locked
(1 viewing) 1 Guest
Go to bottom
TOPIC: Bunch of errors on /tmp files
#5244
kenlyle
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:Bunch of errors on /tmp files 4 Years, 2 Months ago Karma: 0
Thanks, Oli. Could you possibly attach a patched folders.php? for 1.5.9?

That would be lovely. I am on shared hosting, and don't typically apply patches that way, so it's new to me.

Thanks,
Ken
 
Logged Logged
  The topic has been locked.
#5654
centeno
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Bunch of errors on /tmp files 4 Years ago Karma: 0
Strangely, I am getting this error after upgrading to 1.5.10! Which all ready includes the patch. When I ran the php wizard, I started having the problems.

Warning: opendir(/tmp/.horde) [function.opendir]: failed to open dir: Permission denied in /home/mysite/public_html/libraries/joomla/filesystem/folder.php on line 423

Warning: readdir(): supplied argument is not a valid Directory resource in /home/mysite/public_html/libraries/joomla/filesystem/folder.php on line 424

Warning: closedir(): supplied argument is not a valid Directory resource in /home/mysite/public_html/libraries/joomla/filesystem/folder.php on line 450

From the same page I am getting:
PHP Checks
register_globals is on.
safe_mode is off.
allow_url_fopen is on.
Functions disabled: show_source, popen, proc_open.
open_basedir not used.
 
Logged Logged
 
Centeno823
Tu vida, a tu manera...cerca de ti
  The topic has been locked.
#5658
omerten
Moderator
Posts: 2832
graph
User Offline Click here to see the profile of this user
Re:Bunch of errors on /tmp files 4 Years ago Karma: 65
Hi,

are you sure, this has changed after the PHP wizard? The warning sounds more like a file permission problem... Which action causes the problems above?
regards,
Oli
 
Logged Logged
  The topic has been locked.
#5660
centeno
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Bunch of errors on /tmp files 4 Years ago Karma: 0
I might had messed it up, following the permission fixes (644/755), but when either I use my home directory or my web apache in the base directory, it only gives an error while accessing the /tmp directory (which exist in both the home and html directories). When I include the /tmp in the base, it goes crazy and gives a series of errors and in the tmp directory content it list 39000 items.

with only the home or html:
Code:

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/centeno8/) in/home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 417



when including the /tmp it gives:
Code:

Warning: opendir(/tmp/.horde) [function.opendir]: failed to open dir: Permission denied in/home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 423

Warning: readdir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 424

Warning: closedir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.phpon line 450

Warning: opendir(/tmp/ssh-QAi12856) [function.opendir]: failed to open dir: Permission denied in/home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 423

Warning: readdir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 424

Warning: closedir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.phpon line 450

Warning: opendir(/tmp/ssh-jyjX5982) [function.opendir]: failed to open dir: Permission denied in/home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 423

Warning: readdir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 424

Warning: closedir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.phpon line 450

Warning: opendir(/tmp/ssh-TOC28794) [function.opendir]: failed to open dir: Permission denied in/home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 423

Warning: readdir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 424

Warning: closedir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.phpon line 450

Warning: opendir(/tmp/.wapi) [function.opendir]: failed to open dir: Permission denied in/home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 423

Warning: readdir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 424

Warning: closedir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.phpon line 450

Warning: opendir(/tmp/ssh-uYvG9640) [function.opendir]: failed to open dir: Permission denied in/home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 423

Warning: readdir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 424

Warning: closedir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.phpon line 450

Warning: opendir(/tmp/ssh-RMa18253) [function.opendir]: failed to open dir: Permission denied in/home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 423

Warning: readdir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 424

Warning: closedir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.phpon line 450

Warning: opendir(/tmp/clamav-partial) [function.opendir]: failed to open dir: Permission denied in/home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 423

Warning: readdir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 424

Warning: closedir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.phpon line 450

Warning: opendir(/tmp/perl_install.work.V1dY97LUJ_2yOvKE) [function.opendir]: failed to open dir: Permission denied in/home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 423

Warning: readdir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 424

Warning: closedir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.phpon line 450

Warning: opendir(/tmp/ssh-pik29646) [function.opendir]: failed to open dir: Permission denied in/home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 423

Warning: readdir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 424

Warning: closedir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.phpon line 450

Warning: opendir(/tmp/nobody-temp-aspnet-0) [function.opendir]: failed to open dir: Permission denied in/home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 423

Warning: readdir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.php on line 424

Warning: closedir(): supplied argument is not a valid Directory resource in /home/centeno8/public_html/libraries/joomla/filesystem/folder.phpon line 450

 
Logged Logged
 
Centeno823
Tu vida, a tu manera...cerca de ti
  The topic has been locked.
#5661
omerten
Moderator
Posts: 2832
graph
User Offline Click here to see the profile of this user
Re:Bunch of errors on /tmp files 4 Years ago Karma: 65
Hi,

ok, that makes things clearer. You changed your joomla-tmp directory to the standard apache tmp directory. In that directory other applications created folders which you (or actually joomla) is not allowed to read.
I would propose: Create a special tmp directory for joomla and include that in the open_basedir parameter.
btw.: GuardXT only changes permissions of files/folders below joomla root.
regards,
Oli
 
Logged Logged
  The topic has been locked.
#5663
centeno
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:Bunch of errors on /tmp files 4 Years ago Karma: 0
Actually I never did change it, it was /tmp

Not sure if it gave me the error under 1.5.9, but apparently 1.5.10 uses absolute paths to the tmp folder. Some how it used to point to the tmp folder in the joomla directory. I changed the tmp_path to show the absolute path, and it seems to be happy now

Thanks

By the way when I click on the link on the notification email, it doesn't allow me to enter comments. I have to go up to the topic listing and then select the topic again

From this experience I reduced the configuration.php privileges to 550, this might be a test you might want to add to guardxt, for it reduces the chances of someone else reading its content.

Edit:
Seems that after upgrading to 1.5.10 several settings of the configuration.php were changed, including the tmp_path. Also guardxt seems to give read rights to group and world, only the user and maybe the group should be able to read this file.
 
Logged Logged
 
Last Edit: 2009/05/04 08:19 By centeno.
 
Centeno823
Tu vida, a tu manera...cerca de ti
  The topic has been locked.
Go to top

Donation

Development and Maintenance of Joomla extensions is time consuming. Webspace and Server cost money. With a small donation you can help that we're able to pay the bills and can continue developing free extensions.

Make payments with payPal - it's fast, free and secure!

Featured Products


Get in touch

Search

This site is hosted by


Copyright © 2003-2009 by JoomlaXT! Template based on afterburner by Rockettheme
Joomla!(TM) is the trademark of Open Source Matters, Inc in the United States and other countries. The Joomla! name and variations on it utilizing shortforms for it such as J, Joo, Joom, etc, used on this site, is used under a limited license granted by Open Source Matters. JoomlaXT! is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.