Not Solved [Error Message] After changing admin directory name its showing an error
#1
Not Solved
This user has been denied support. This user has been denied support.
After changing admin directory name when I am updating theme template its showing an error

http://puu.sh/JHcxz/ccc5df96f3.png

Forbidden
You don't have permission to access this resource.
Reply
#2
Not Solved
Before changing the directory name, did you update that in the Admin CP including the cookies path?
My Projects | Discord: matty9719Do not PM me for support unless advised to do so.
Reply
#3
Not Solved
This user has been denied support. This user has been denied support.
(2023-05-21, 12:14 AM)MattyWjeisz Wrote: Before changing the directory name, did you update that in the Admin CP including the cookies path?

Nope, can you guide me on that ?
Reply
#4
Not Solved
There is a change required in /inc/config.php
Not sure where in AdminCP.
Reply
#5
Not Solved
This user has been denied support. This user has been denied support.
(2023-05-21, 05:33 PM)HLFadmin Wrote: There is a change required in /inc/config.php
Not sure where in AdminCP.

I have changed in config.php but when I work or update the plugin it gives error.
Reply
#6
Not Solved
(2023-05-21, 01:26 PM)jkcool Wrote:
(2023-05-21, 12:14 AM)MattyWjeisz Wrote: Before changing the directory name, did you update that in the Admin CP including the cookies path?

Nope, can you guide me on that ?

Admin CP > Configuration > Site Details

Under 'Board URL' input the full address to your new directory - i.e http://www.yourwebsite.com/directory

Do not include the trailing slash (/) at the end of the directory.

Under 'Cookie Domain' put your domain name address. Include a '.' before the address to account for all subdomains - i.e .www.yourwebsite.com

Under 'Cookie Path' put in the name of your directory - i.e /directory

I would disable all plugins prior to doing this, and then once you've moved everything over to the new directory, you can reactivate them.
My Projects | Discord: matty9719Do not PM me for support unless advised to do so.
Reply
#7
Not Solved
This user has been denied support. This user has been denied support.
(2023-05-22, 12:17 AM)MattyWjeisz Wrote:
(2023-05-21, 01:26 PM)jkcool Wrote:
(2023-05-21, 12:14 AM)MattyWjeisz Wrote: Before changing the directory name, did you update that in the Admin CP including the cookies path?

Nope, can you guide me on that ?

Admin CP > Configuration > Site Details

Under 'Board URL' input the full address to your new directory - i.e http://www.yourwebsite.com/directory

Do not include the trailing slash (/) at the end of the directory.

Under 'Cookie Domain' put your domain name address. Include a '.' before the address to account for all subdomains - i.e .www.yourwebsite.com

Under 'Cookie Path' put in the name of your directory - i.e /directory

I would disable all plugins prior to doing this, and then once you've moved everything over to the new directory, you can reactivate them.


Directory isnt for new folder ? I have not made any new folder. I just want to rename admin folder.
Reply
#8
Not Solved
(2023-05-22, 07:08 PM)jkcool Wrote: Directory isnt for new folder ? I have not made any new folder. I just want to rename admin folder.

In in/config.php you need to change this line:

$config['admin_dir'] = 'admin';

to

$config['admin_dir'] = 'newname';

After this change, extension files intended for upload to the admin/ directory will have to be uploaded to the renamed directory instead.
My Projects | Discord: matty9719Do not PM me for support unless advised to do so.
Reply
#9
Not Solved
This user has been denied support. This user has been denied support.
(2023-05-23, 12:57 AM)MattyWjeisz Wrote:
(2023-05-22, 07:08 PM)jkcool Wrote: Directory isnt for new folder ? I have not made any new folder. I just want to rename admin folder.

In in/config.php you need to change this line:

$config['admin_dir'] = 'admin';

to

$config['admin_dir'] = 'newname';

After this change, extension files intended for upload to the admin/ directory will have to be uploaded to the renamed directory instead.

I have done the same before but when editing the plugin setting or adding new plugin its giving and error.
Reply
#10
Not Solved
Check permissions on new folder and its contents.
You said you renamed the old to the new, so permissions should not have changed.
Except "Forbidden" indicates permission problem.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)