We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Javascript Don't Work | Forum

Topic location: Forum home » Support » General Questions
falancas
falancas Jul 5 '17


Hi all,

href="javascript://

Lightbox does not open when such links are clicked.

Example: "
Change Role" button.

Thank you.
falancas
falancas Jul 6 '17
Problem video: https://streamable.com/s/86xaz/cibrhk
The Forum post is edited by falancas Jul 6 '17
Darryl B Leader
Darryl B Jul 6 '17
See if this post helps. There are others related to file / folder permissions, and mod security, and cloudflare issues, if you use cloudflare. I know of a couple of things to not have activated when using cloudflare from other users on the forum. Rocket Loader, and minify js are two that can cause issues. I'm guessing that you have already confirmed server requirements.

https://developers.oxwall.com/forum/topic/50758

This post explains file / folder permission pretty good.

https://developers.oxwall.com/forum/topic/14334
The Forum post is edited by Darryl B Jul 6 '17
falancas
falancas Jul 8 '17
I solved this problem with the Nginx configuration file.

Add the following codes into your-extra.conf

# Oxwall

if ($uri !~ "^/index.php"){
set $rule 1$rule;
}
if ($uri !~ "/ow_updates/index.php"){
set $rule 2$rule;
}
if ($uri !~ "/ow_updates/"){
set $rule 3$rule;
}
if ($uri !~ "/ow_cron/run.php"){
set $rule 4$rule;
}
if ($uri ~ "(/|.php|.html|.htm|.xml|.feed|robots.txt|.raw|/[^.]*)$"){
set $rule 5$rule;
}
if ($rule = "54321"){
rewrite /(.*) /index.php last;
}

Restart Nginx.

Thanks for help.
james an
james an Jun 24 '23
Embroidery has been an art form for centuries, and with the advancement of technology, it has become more accessible to everyone. Today, embroidery is not just a hobby or a pastime, but it has also become a profitable business. best commercial embroidery machine