Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

9.03 - 403 error when granting groups via user profile


Print Track

Quote


403
The link you followed may have expired, or the page may not be accessible to you.


I receive this error when attempting to grant custom groups via member profile pages. I can still add to group via admin panel as usual.

Thanks

12 replies

It is prolly custom template in the theme, I can not replicate this issue. Still on Atom9?
Atom9: StarCity doesn't have custom profile tpl

Also I can not replicate.
Is there anything different about the build provided by Softoculus?

Any file permissions I should check out via ftp?
RobiNN has replied to this - 1 month ago
I installed PF via Softaculous and everything works fine.

Nothing you sent here, I didn't find.

Try this:

Softaculous installs system with MySQLi driver. In FTP, open config.php and change $db_driver = 'mysqli'; to $db_driver = 'pdo';
Sorry, had a busy week.

Done, but no dice.
Check your Main settings under settings, verify domain and path info so they are correct.
Troubleshooting has concluded that the infusion Avatar Studio is the culprit. Uninstalled and now it works like a charm.
I had it working last night but it popped up again for both me and my assistant Super Admin. At least this time it came up in the log, I think.

Quote

214
215 if (\defender::safe()) {
216 // Store into session
217 $_SESSION['csrf_tokens'][self::pageHash($file)][$form_id][] = $token;
218 // Round robin consume token
219 if (count($_SESSION['csrf_tokens'][self::pageHash($file)][$form_id]) > $max_tokens) {
220 array_shift($_SESSION['csrf_tokens'][self::pageHash($file)][$form_id]);
221 }
222 } else {
223 if (!empty($_SESSION['csrf_tokens'])) {
224 $token_ring = $_SESSION['csrf_tokens'][self::pageHash($file)][$form_id];
Line 224 -- 3 minutes ago
Undefined index: /error.php
225 $ring = array_rand($token_ring, 1);
226 $token = $token_ring[$ring];
227 } else {
228 $_SESSION['csrf_tokens'][self::pageHash($file)][$form_id][] = $token;
229 }
230 }
231
232 // Debugging section
233 if (self::$debug) {
234 if (!self::safe()) {
235
The token is pretty easy to fix on all version 7 infusions. Find all conventional <form> and replace with our function.

replace:


$action = FUSION_REQUEST;
echo "<form name='xyz' method='post' action='$action'> "


with:


$action = FUSION_REQUEST;
echo openform('xyz', 'post', $action);
I'm not using any community infusions at the moment. All stock aside from CSS.

The avatar studio infusion is currently disabled
You can try to change sessions type to database under Admin > Settings > Security Settings, also up the amount of allowed tokens, perhaps some UF generate more.
Yeah still not working for me or any of my admins.
author Scarcer3320
forumSuspected Bugs and Errors - 9
replies13 posts
viewed247 times
activeLast updated on 24 days ago

Related

MYSQL "Too many connections" error
Started by
C
cdavellis - 2 posts
Search error (forum search)
Started by noob noob - 2 posts
{IMG]IMG[/IMG] ERROR?
Started by
L
LandFill - 4 posts
Website Error - Website off page
Started by
E
EyeRonec - 2 posts
Form_textarea.php && defender.inc.php error
Started by karrak karrak - 2 posts
Use of undefined constant SECRET_KEY - assumed 'SECRET_KEY' error after upgrade to 9
Started by
O
ooorooze - 4 posts

Hot Questions

D
karrak
Comments error
karrak - 23 posts
daimonbok1
G
foc_in_gaura
Switch from PDO Driver to MySQLi
foc_in_gaura - 13 posts
Kvido
Message, error
Kvido - 9 posts
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
Users who participated in discussion: Falk, Chan, RobiNN, Scarcer3320