Solved

Joombla installation issues with synology ds411+

Posted on 2014-03-24
10
325 Views
Last Modified: 2014-03-27
I have my sinology setup to have virtual web hosting, I have a number of domains that no-ip forwards to my ds411+.

The synology is a bit weird as it has a joombla install package But it can only install off the web directory once.

So.. .   Volume1/web/joombla.

If I use the install package I can add extensions and plugins.

However, I need the form:
Volume1/Web/Sitename1/ (joombla unzipped here
Volume1/Web/Sitename2/ (joombla unzipped here

If I do that I can get to the site and start the install no problem.

I have the issue that this way joombla wont let me install any templates or extensions or plugins.

The attached shows the warnings.

I have tried many avenues but the synology forum and joombla forum have given no replies and the little I have tried around permissions has failed.

I did run a forum tool and that's attached too.

The config files has logs and tmp directories to the correct location.

I don't understand enough to sort out the php stuff which is what I am guessing this issue is.

Help would be appreciated.
joombla.PNG
forum-post.txt
0
Comment
Question by:PeterBaileyUk
  • 6
  • 4
10 Comments
 
LVL 29

Accepted Solution

by:
fibo earned 500 total points
ID: 39951902
looks like your php has enabled, as recommended, the "safedir" option. and so joomla/php cannot open dirs outside of the authorized paths
See http://www.php.net/manual/en/ini.core.php#ini.open-basedir

To solve the issue, you might consider placing symbolic links within safedir which links invisibly outside of it
0
 

Author Comment

by:PeterBaileyUk
ID: 39953609
ok i looked at the synology control panel, see attached, my open dir is off now as you can see should it be on?

in that text box is:
/etc.defaults:/etc:/usr/syno/synoman:/tmp:/var/services/tmp:/var/services/web:/var/services/homes

I read the link but dont understand it properly
eeopendir1.PNG
0
 

Author Comment

by:PeterBaileyUk
ID: 39953694
Forgot I didnt get this either "To solve the issue, you might consider placing symbolic links within safedir which links invisibly outside of it" :(
0
 
LVL 29

Expert Comment

by:fibo
ID: 39955369
Discussion about php safe_mode explains that there are restrictions to which directory and files every php program will be able to access: if not restricted, programs could access to the whole disk of the server, not only the web site as usually intended.
Of course, every time you place limits, you might stumble on them: correct action is to ensure to stay within, rather that removing limits.

In your case, you need to assume that all the files you want to accss are within the limits.

Since they are out of the limits, how to achieve that? I would test the effect of using a symbolic link (see the 2nd scenario at page http://man.cx/ln)
Thus you should place somewhere within the safedir directories some logical link ointing to your synology directories: these last ones would now be accessable "within" your safedir
0
 

Author Comment

by:PeterBaileyUk
ID: 39956590
so do I add the whole directory :/acousticlaptops or just the :/acousticlaptops/tmp and :/acousticlaptops/logs ?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:PeterBaileyUk
ID: 39956607
I added :/acousticlaptops

and it installed the extension

I am assuming I can remove the dir once I have done installing plugins and extension
0
 
LVL 29

Expert Comment

by:fibo
ID: 39956612
placing :/acousticlaptops should enable all its subdirs (check howvere that they have the correct accss rights)
0
 

Author Comment

by:PeterBaileyUk
ID: 39956727
yes that was what was confusing me as i checked the rights.
0
 

Author Closing Comment

by:PeterBaileyUk
ID: 39958197
thx solved the open dir issue.
0
 
LVL 29

Expert Comment

by:fibo
ID: 39958550
B-) Glad I could help. Thx for the grade and points!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now