Batch Add Interface - no permission to access minibrowser.php Batch Add Interface - no permission to access minibrowser.php
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Batch Add Interface - no permission to access minibrowser.php

Started by stevensonjr, March 11, 2007, 02:01:31 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

stevensonjr

Hello,

First allow me to thank all the community that works around this excellent Gallery. I really think it is welldone.
I have an issue when trying to use the batch-add interface. In the IFRAME, it complains that I don't have access. So I looked at the generated HTML, and see the following :
<iframe src="minibrowser.php?startfolder=/var/www/vhosts/jpro.ch/subdomains/depart/httpdocs/photos/albums/&amp;parentform=choosefolder&amp;formelementname=startdir&amp;no_popup=1&amp;limitfolder[b][i]=/var/www/vhosts/jpro.ch/subdomains/depart/httpdocs/photos/albums/[/i][/b]&amp;hidefolders=.%2C..%2CCVS%2Cedit%2Cuserpics&amp;linktarget=searchnew.php&amp;searchnew_php=1&amp;radio=0" width="95%" height="400" name="popup_in_a_box">
The thing is that my gallery is installed on a subdomain of jpro.ch (depart.jpro.ch). When I FTP I only have access to the 'depart' folder as root. I believe that using the full path (as in bold above) is my problem.
To proof my doubt, I opened a new page with minibrowser.php?startfolder=/httpdocs/photos/albums/&amp;parentform=choosefolder&amp;formelementname=startdir&amp;no_popup=1&amp;limitfolder=/httpdocs/photos/albums/&amp;hidefolders=.%2C..%2CCVS%2Cedit%2Cuserpics&amp;linktarget=searchnew.php&amp;searchnew_php=1&amp;radio=0" width="95%" height="400" name="popup_in_a_box", and it seemes to work (although the path I used was wrong.)

Well there is where I am, and would appreciate some advice. I am not a webmaster and my knowledge are approximate ;)

Joachim Müller

Post a link to your coppermine-driven gallery for a start.

stevensonjr

Quote from: GauGau on March 12, 2007, 07:47:34 AM
Post a link to your coppermine-driven gallery for a start.
Sure, sorry... ;) Here is the link to the gallery http://www.de-part.ch/photos (which actually resolves to http://depart.jpro.ch/photos)

Joachim Müller

Review your config settings for "URL of your coppermine gallery folder". What did you set up there?

Your current setup (not redirecting, but pretending that you have two different domains) will be considered as link farming by Google and other search engines and will result in severe punishment in Google's page rank. I suggest reviewing your server setup.

stevensonjr

Quote from: GauGau on March 12, 2007, 07:12:35 PM
Review your config settings for "URL of your coppermine gallery folder". What did you set up there?

I've used the gallery as home (index.php)

Quote from: GauGau on March 12, 2007, 07:12:35 PM
Your current setup (not redirecting, but pretending that you have two different domains) will be considered as link farming by Google and other search engines and will result in severe punishment in Google's page rank. I suggest reviewing your server setup.
Not sure I understand the "pretending that you have two different domains" part of your quote. As stated, I am a huge newbie on domains and webmaster. I can say following though :

  • I know that this gallery is hosted on a subdomain of jpro.ch, whereas the prefix depart links to a specific httpdocs (/var/www/vhosts/jpro.ch/subdomains/depart/httpdocs) folder on the apache server.
  • http://www.de-part.ch is only a web redirection to http://depart.jpro.ch (which is the blog)
  • All the necessary folders for coppermine (which is in the folder photos) that need special permissions are set to 777.
  • I saw in phpinfo.php that /var/www/vhosts/jpro.ch/subdomains/depart/httpdocs is actually triggered from the open_basedir configuration of my PHP core. This is the path that is then found in the parameters of minibrowser.php, if you look at my first post.
  • I suspect that my userid to log on the apache server has no right to use this full path, however, as I have no other acces than FTP, I can't confirm (and woulden't know how).
Sorry to put so many details, hopefully someone will be able to give me good advices.

Joachim Müller

Quote from: stevensonjr on March 12, 2007, 11:09:57 PM
I've used the gallery as home (index.php)
Should be a URL, not just a reference to a file, e.g.
Quotehttp://depart.jpro.ch/photos/

Quote from: stevensonjr on March 12, 2007, 11:09:57 PM
http://www.de-part.ch is only a web redirection to http://depart.jpro.ch (which is the blog)
It is not a proper redirect in webserver terms, it is just pointing somewhere else. Google will see this as double content and punish this. Not related to your initial issue. Let's focus on your actual coppermine issue. Sorry for the thread drift.

stevensonjr

Quote from: GauGau on March 13, 2007, 07:39:41 AM
Should be a URL, not just a reference to a file, e.g.
Sorry, once more I was wrong in my statement. Indeed I used the URL for my coppermine folder, and I uses index.php for the 'home' link

Quote from: GauGau on March 13, 2007, 07:39:41 AMNot related to your initial issue. Let's focus on your actual coppermine issue. Sorry for the thread drift.
I would appreciate in fact... ;) I tried some more. Don't seem to be able to make it work :
Forbidden
You don't have permission to access /photos/minibrowser.php on this server.

--------------------------------------------------------------------------------

Apache Server at depart.jpro.ch Port 80

Nibbler

This is caused by mod_security or the php hardening patch or some similar security filter. It block access because of the path in the URL. Try getting it disabled or adjusted.