back end images request password
- andrea76
- Phoca Newbie

- Posts: 8
- Joined: 14 Sep 2015, 12:31
- Location: Italy
- Contact:
back end images request password
Problem post migration Joomla 2.5.28 to 3.4.4
I had some problem during migration, at the end I rebuild my site with new installation,
but I recover my migrated database succesfully.
All part of site run correctly with last PHP version 5.5.29 but now when I'm trying to work into Phoca Gallery
when I open Images, the system request an account for "privacy"
Some permission or other is missing, but where? How can I restore policy of component?
Thanks.
I had some problem during migration, at the end I rebuild my site with new installation,
but I recover my migrated database succesfully.
All part of site run correctly with last PHP version 5.5.29 but now when I'm trying to work into Phoca Gallery
when I open Images, the system request an account for "privacy"
Some permission or other is missing, but where? How can I restore policy of component?
Thanks.
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: back end images request password
Hi, what you mean with "an account for "privacy""? Can you paste the exact message or screenshot?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
christine
- Phoca Hero

- Posts: 2938
- Joined: 28 Nov 2010, 17:20
Re: back end images request password
Hi andrea 76,
Is the response like this?: “You cannot access the private section of this site.”
If so, may be something went wrong during your migration with the assets table. Here an explanation about functions of the "assets table":
https://docs.joomla.org/Fixing_the_assets_table
It seems, you have to run sql queries in your database (phpMyAdmin). Such in this way:
'#_assets' > of course with your "Prefix".
(The 'Root Asset' has to be 0)
Here also 1 Thread about: http://forum.joomla.org/viewtopic.php?f ... 1&start=60
Kind regards, Christine
Is the response like this?: “You cannot access the private section of this site.”
If so, may be something went wrong during your migration with the assets table. Here an explanation about functions of the "assets table":
https://docs.joomla.org/Fixing_the_assets_table
It seems, you have to run sql queries in your database (phpMyAdmin). Such in this way:
Code: Select all
UPDATE `#_assets` SET `parent_id`=1 WHERE `parent_id`=0 AND id>1
UPDATE `#_assets` SET `parent_id`=0 WHERE `title` = 'Root Asset'
(The 'Root Asset' has to be 0)
Here also 1 Thread about: http://forum.joomla.org/viewtopic.php?f ... 1&start=60
Kind regards, Christine
- andrea76
- Phoca Newbie

- Posts: 8
- Joined: 14 Sep 2015, 12:31
- Location: Italy
- Contact:
Re: back end images request password
....zzz....zzz.... how many months!!!
New baby and my time is expired! But now I want to restart my project.
Thanks for reply!
I try to insert SQL strings but defect is

when I open backend phoca images and also into frontend ...
I try delete and rebuild automatically categories and images, but nothing!
New baby and my time is expired! But now I want to restart my project.
Thanks for reply!
I try to insert SQL strings but defect is

when I open backend phoca images and also into frontend ...
I try delete and rebuild automatically categories and images, but nothing!
- Benno
- Phoca Hero

- Posts: 9965
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: back end images request password
Hi,
your screenshot looks like a password protection via .htpasswd & .htaccess
So seek for this two files inside your joomla instalation via FTP. Especialy inside:
If you find this files rename them first (for testing) e.g.
from:
to:
and from:
to:
check if it works then. If yes, you can delete this two files.
Kind regards,
Benno
your screenshot looks like a password protection via .htpasswd & .htaccess
So seek for this two files inside your joomla instalation via FTP. Especialy inside:
- /images/
/images/phocagallery/
If you find this files rename them first (for testing) e.g.
from:
Code: Select all
.htaccessCode: Select all
htaccess.txtCode: Select all
.htpasswdCode: Select all
htpasswd.txtKind regards,
Benno
- andrea76
- Phoca Newbie

- Posts: 8
- Joined: 14 Sep 2015, 12:31
- Location: Italy
- Contact:
Re: back end images request password
Thanks for your reply.
Normally I use only .htaccess on site root, I try to disable .htaccess but nothing
I made a test with site configured standard:
no SEO, no SEF, no .htaccess .... recreate categories and images.... always password request!
I don't remember if I migrated site or new installation with manual import of phoca DB...
Normally I use only .htaccess on site root, I try to disable .htaccess but nothing
I made a test with site configured standard:
no SEO, no SEF, no .htaccess .... recreate categories and images.... always password request!
I don't remember if I migrated site or new installation with manual import of phoca DB...
-
christine
- Phoca Hero

- Posts: 2938
- Joined: 28 Nov 2010, 17:20
Re: back end images request password
Hi Andrea76,
I think, you have to differ between a) and b) explanation, see below.
Your URL mentioned on your screenshot does NOT exist. May be it exist "somewhere". The URL is "re-directed" or "new" to:
http://www.andrea76.com/J76/ > subdirectory: /J76
a)
http://www.htaccesstools.com/htaccess-authentication/
.htaccess / .htpasswd to protect your site.This will also inherit to all other subfolders. There are exceptions, but it's too much now.
b)
https://www.norrnext.com/docs/joomla-tu ... -in-joomla
Your site (see above) do not have:
- administrator .htaccess (/administrator) protection > http://www.andrea76.com/J76/administrat ... joomla.xml
- there ist no .htaccess file (re-named htaccess.txt) for e.g. mod_rewrite (configuration-backend) see under b)
- and/or # Rewrite Base to > Rewrite Base resp. Rewrite Base / (if subfolder)
- On above URL there is no phocagallery. There are several generell "Test-" infos & links about Joomla.
Kind regards, Christine
I think, you have to differ between a) and b) explanation, see below.
Your URL mentioned on your screenshot does NOT exist. May be it exist "somewhere". The URL is "re-directed" or "new" to:
http://www.andrea76.com/J76/ > subdirectory: /J76
a)
this belongs to (see your screenshot). The word "privacy" could also be another word. It's just a name.andrea76 wrote:Normally I use only .htaccess on site root, I try to disable .htaccess but nothing
http://www.htaccesstools.com/htaccess-authentication/
.htaccess / .htpasswd to protect your site.This will also inherit to all other subfolders. There are exceptions, but it's too much now.
b)
Above has nothing to do with your "privacy" problem. It belongs to:I made a test with site configured standard: no SEO, no SEF, no .htaccess
https://www.norrnext.com/docs/joomla-tu ... -in-joomla
Your site (see above) do not have:
- administrator .htaccess (/administrator) protection > http://www.andrea76.com/J76/administrat ... joomla.xml
- there ist no .htaccess file (re-named htaccess.txt) for e.g. mod_rewrite (configuration-backend) see under b)
- and/or # Rewrite Base to > Rewrite Base resp. Rewrite Base / (if subfolder)
- On above URL there is no phocagallery. There are several generell "Test-" infos & links about Joomla.
Kind regards, Christine
- andrea76
- Phoca Newbie

- Posts: 8
- Joined: 14 Sep 2015, 12:31
- Location: Italy
- Contact:
back end images request password
Thanks but with this configuration the problem is the same.

.htaccess on joomla root:
I'm not expert but I think that problem is something about users permissions post migration...
.........making test...............
mmmmmm this is a news: I have the same problem with All Videos Share!
I'm sure, the problem is porting DB from old site to new.
I have lost something about users permissions!
No components problem, but horrible DB!
I don't want recreate all!
Thanks for all!
------------------------------------------------------ UPDATE ------------------------------------------------
Uninstall phocagallery e re-installa full package
Multiple uploads (automatic system) ... is crating categories and thumbs ...
No owner, no users and when select menu link for gallery ...... PASSWORD!!!
WHY?
http://www.andrea76.com/J76/gallery76.html
.htaccess on joomla root:
Code: Select all
RewriteEngine On
#RewriteBase /J76/
#
# Rules
#
RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php.........making test...............
I'm sure, the problem is porting DB from old site to new.
I have lost something about users permissions!
No components problem, but horrible DB!
I don't want recreate all!
Thanks for all!
------------------------------------------------------ UPDATE ------------------------------------------------
Uninstall phocagallery e re-installa full package
Multiple uploads (automatic system) ... is crating categories and thumbs ...
No owner, no users and when select menu link for gallery ...... PASSWORD!!!
http://www.andrea76.com/J76/gallery76.html
-
christine
- Phoca Hero

- Posts: 2938
- Joined: 28 Nov 2010, 17:20
Re: back end images request password
Hi andrea76,
http://www.andrea76.com/J76/images/phoc ... /webalbum/
> .../images/phocagallery/webalbum/
Kind regards, Christine
There is a .htaccess resp. htpasswd protection here:andrea76 wrote: ------------------------------------------------------ UPDATE ------------------------------------------------
Uninstall phocagallery e re-installa full package
Multiple uploads (automatic system) ... is crating categories and thumbs ...
No owner, no users and when select menu link for gallery ...... PASSWORD!!!
http://www.andrea76.com/J76/images/phoc ... /webalbum/
> .../images/phocagallery/webalbum/
Kind regards, Christine
-
christine
- Phoca Hero

- Posts: 2938
- Joined: 28 Nov 2010, 17:20
Re: back end images request password
Hi Andrea76,
sorry, hv lost your post. But copied latest infos:
What else is "inside" from "home"? FTP
folder: /web/htdocs/www.andrea76.com/J76/images/phocagallery/webalbum/
URL: http://www.andrea76.com/J76/images/phoc ... /webalbum/
Kind regards, Christine
sorry, hv lost your post. But copied latest infos:
there is no: ..../home/ [error 404] ..... and if so, may be migration from an older Joomla version?You wrote: I have /web/htdocs/www.andrea76.com/home/J76/images/phocag ... /.htaccessCode: Select all
AuthType Basic AuthName "privacy" AuthUserFile /web/htdocs/www.andrea76.com/home/J76/images/phocagallery/webalbum/.htpasswd require valid-user
What else is "inside" from "home"? FTP
Check again:You wrote: ... and /web/htdocs/www.andrea76.com/home/J76/images/phocag ... /.htpasswd is empty
folder: /web/htdocs/www.andrea76.com/J76/images/phocagallery/webalbum/
URL: http://www.andrea76.com/J76/images/phoc ... /webalbum/
Kind regards, Christine