
9th January 2007, 22:28
|
|
Junior Member
|
|
Join Date: Jan 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ISPCONFIG - JOOMLA - extensions (images) issue
I've installed a coupe of test sites using ISPCONFIG (on a vmware test machine with the precompiled image).
With the exception of not having a spec file to properly re-issue the certificate (it is not in the standard place, but hey, it' only a test).
I can set up a user, create sites, FTP content, etc. no problem.
As an example, if I create a brand new site it works fine. If I add a component/module there is an issue with permissions on ISPCONFIG.
I get:
-----
"403 Forbidden"
The following error occurred:
You are not permitted to access the requested URL
Please contact the Webmaster with any queries.
-----
This happens with multiple components/modules. And it seems to only relate to "images". They are not broken links, they simply will not show up in the page. I am sure the relative link, live site config and DNS are working exactly as they should.
It only happens when you add a module into the Joomla (virtuemart fails to show any images, same with Jevents). If I install the virtue ecommerce edition of Joomla it's fine. But if I add a module AFTER the original install, it still fails to show images and looks cosmetically like a permissions issue somewhere.
Does anyone have any insight on this? I am installing with the same user that owns the web site, I have also checked the permissions on the directory. I works fine on other control panels, just not with ISPCONFIG in the manner I have it deployed to test. Any ideas?
|

10th January 2007, 17:46
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
This might be related to Joomla's .htaccess file. Search for "joomla .htaccess" and "joomla ispconfig" with the forum's search function. You should find some interesting threads.
|

10th January 2007, 18:41
|
|
Junior Member
|
|
Join Date: Jan 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Definitely a "rpermissions" issue.
Quote:
|
Originally Posted by falko
This might be related to Joomla's .htaccess file. Search for "joomla .htaccess" and "joomla ispconfig" with the forum's search function. You should find some interesting threads. 
|
This is my first post. After I submitted I realize it was in the wrong place. Sorry.
I believe I have it figured out. It was not an htacces issue, it was stranger than that. If I set the rights for the directories to "755" and contents to "644", it works. If I do it in the directory above that, recursive, it does not. Does anyone have any answer for that? Again, I am using the VMWARE image posted at their site.
As I was trying to pull the image through the browser directly and getting the "403" error, it seemed that .htaccess was not the issue, because it is as defaults and I have not enabled SEF or any 3rd party SEF modules.
If I change the CHMOD in the JOOMLA config (Site>Global Configuration>Server) it will work (the how-to does not address this so I assumed the defaults would work properly). It seems the limited permissions on the directories negate the ability to use the contents (images).
|

11th January 2007, 19:40
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by grazman
If I set the rights for the directories to "755" and contents to "644", it works. If I do it in the directory above that, recursive, it does not.
|
Maybe you did a in the parent directory? That way, also all subdirectories get 644 permissions, but directories must always be executable (like 755 or 775).
|

15th January 2007, 04:54
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 4 Times in 3 Posts
|
|
Some files created through Joomla's admincp will automatically give it 755 and sometimes 777 perms. Joomla also chowns the files and directories it creates when installing modules and components, making it almost impossible to edit and add files via ftp client.
__________________
Shuttle XPC | Intel 865g | P4 3.2Ghz | ATI 9800 Pro
Hosts: Ubuntu 6.10 ~ XGL-Beryl SVN-Gnome | OS X 10.4.8 | WindowsXP
Virtual Appliances: Ubuntu Server 6.10 | WindowsXP | CentOS 4.4
|

17th January 2007, 10:26
|
|
Junior Member
|
|
Join Date: Dec 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Installed joomla - can not install components, modules...
I installed joomla successfully in var/www/web20/web/home as decribed in the manual in this forum here.
All seemed to be fine.
But now I try to install some modules/componentes - not possible.
i.e. com_joomlaxplorer.zip:
Quote:
Upload component - Upload Failed
ERROR: Could not find an XML setup file in the package.
[ Continue ... ]
Upload component - Failed
Installation file not found:
/var/www/web20/web/home/media/install_45ade9249423a/
[ Continue ... ]
|
It seems that joomla has no permissions to install files....
when I look with FTP in components there is a new directory "com_joomlaxplorer" but it is empty.
Is ISPConfig not "Joomla-Compatible" ? Or something wrong in server-configuration ?
Owner of directory "com_joomla" is "www-data" - is that correct ?
|

17th January 2007, 12:41
|
|
Moderator
|
|
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,252
Thanks: 208
Thanked 642 Times in 291 Posts
|
|
If the user www-data is the owner of the folder, you do not have access to that folder via FTP.
You can considder to change the permissions as described here:
http://www.howtoforge.com/forums/sho...ghlight=joomla
I have good experience with these permission settings.
You also can work with suphp. Information about that can be found in the forums.
__________________
Hans
BB-Hosting | Quality Web Hosting since 2005
|

17th January 2007, 15:00
|
|
Junior Member
|
|
Join Date: Dec 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yes - but if i install a component the owner is www-data - what is the reason that joomla doesn`t insert files into that new by joomla created directory.
The new folder ist created but empty.
Quote:
drwxrwxr-x 2 web49_1 web49 4096 Jan 15 06:17 com_banners
drwxrwxr-x 2 web49_1 web49 4096 Jan 15 06:17 com_contact
drwxrwxr-x 2 web49_1 web49 4096 Jan 15 06:17 com_content
drwxrwxr-x 2 web49_1 web49 4096 Jan 15 06:17 com_frontpage
drwxr-xr-x 2 www-data www-data 4096 Jan 16 08:03 com_joomlaxplorer
drwxrwxr-x 2 web49_1 web49 4096 Jan 15 06:17 com_login
drwxrwxr-x 2 web49_1 web49 4096 Jan 15 06:17 com_messages
drwxrwxr-x 2 web49_1 web49 4096 Jan 15 06:17 com_newsfeeds
drwxrwxr-x 3 web49_1 web49 4096 Jan 15 06:17 com_poll
drwxrwxr-x 2 web49_1 web49 4096 Jan 15 06:17 com_registration
drwxrwxr-x 2 web49_1 web49 4096 Jan 15 06:17 com_rss
drwxrwxr-x 2 web49_1 web49 4096 Jan 15 06:17 com_search
drwxrwxr-x 2 web49_1 web49 4096 Jan 15 06:17 com_user
drwxrwxr-x 2 web49_1 web49 4096 Jan 15 06:17 com_weblinks
-rw-rw-r-- 1 web49_1 web49 47 Jan 15 06:14 index.html
|
You can see - web49 is the user of root and the one created folder "com_joomlaxplorer" ist user www-data.
Joomla system creates the folder but than nothing more happens - no files in it...
|

18th January 2007, 14:20
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 4 Times in 3 Posts
|
|
Either delete the components and modules through ftp and reinstall them through administration or chown -r 4096:4096 every folder and file in components and module both in admin and joomla root directories.
__________________
Shuttle XPC | Intel 865g | P4 3.2Ghz | ATI 9800 Pro
Hosts: Ubuntu 6.10 ~ XGL-Beryl SVN-Gnome | OS X 10.4.8 | WindowsXP
Virtual Appliances: Ubuntu Server 6.10 | WindowsXP | CentOS 4.4
|

18th January 2007, 20:05
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by lostmail
Yes - but if i install a component the owner is www-data - what is the reason that joomla doesn`t insert files into that new by joomla created directory.
|
The new folder is owned by www-data, but when you log in with FTP, you are logged in as the user web49_1. That's why you can't upload to that folder with FTP. You could run
Code:
chmod 777 com_joomlaxplorer
to solve the problem.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 15:18.
|
Recent comments
12 hours 54 min ago
17 hours 53 min ago
19 hours 19 min ago
20 hours 12 min ago
21 hours 55 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 5 hours ago
1 day 18 hours ago
1 day 20 hours ago