Forum Activity for @developer-networks

Developer Networks
@developer-networks
01/26/19 01:54:53PM
566 posts

Javascript URL Errors On Install


Installation and Configuration

I am installing Version 6.2.0

Using The Elastic2 Skin by default.

The Javascript in the meta file is returning the wrong url.

I think theres a typo and I did a search in phpstorm for the word sking but it did not return much.

Please notice that it is showing /sking/ instead of /skins/ for the javascript location links.

The issue is Javascript is not loading for the skin after install. I notice in the meta part of the header the javascript location url links is wrong. I believe this could be a bug or typo in the latest core. Please verify lines 14 & 15 below.

<!doctype html>
<html lang="en" dir="ltr">
<head>
<title>Home | mysite.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito+Sans:400italic,400,600,700" type="text/css">
<link rel="stylesheet" href="https://mysite.com/test/data/cache/jrElastic2/Sad3566dac1b2f11c8d0c10ce22409990.css" media="screen" type="text/css">
<script type="text/javascript" src="https://mysite.com/test/data/cache/jrElastic2/Sfcac3228b9f6dda934d716e104c5d508.js"></script>

<script type="text/javascript" src="https://mysite.com/test/sking/jrElastic2/js/jrElastic2.js"></script>
<script type="text/javascript" src="https://mysite.com/test/sking/jrElastic2/js/jrElastic2.jsresponsiveslides.min.js"></script>
</head>



updated by @developer-networks: 07/19/19 04:25:48AM
Developer Networks
@developer-networks
01/26/19 09:45:16AM
566 posts

New Install, Error 500


Installation and Configuration

Im using the Elastic2 skin that comes with the standard install.

Javascript has errors.

<script type="text/javascript">
    $(document).ready(function() {
        $('.index_form #user_email_or_name').prop('placeholder', 'user name or email');
        $('.index_form #user_password').prop('placeholder', 'password');
        $('.clearfix .user_remember_element_right').append('remember me');
        });
</script>

ReferenceError: jrFormSubmit is not defined


Im getting a ReferenceError in javascript. For some reason my environment wont create the administrator during install and refuses to use javascript.

I notice the url is wrong that would load the skin javascript.
Ive installed jamroom in the "test directory" so whats getting spit back as a url is this

/test/sking/jrElastic2/js/jrElastic2.js

"sking" is a typo in the core.
i did a search for it in my PHPStorm yet no results.

I resolved my issues by adding this to the meta:
<script type="text/javascript" src="https://mysite.com/test/skins/jrElastic2/js/jrElastic2.js"></script>
<script type="text/javascript" src="https://mysite.com/test/skins/jrElastic2/js/jrElastic2.jsresponsiveslides.min.js"></script>

updated by @developer-networks: 01/26/19 10:24:58AM
Developer Networks
@developer-networks
01/26/19 05:15:49AM
566 posts

New Install, Error 500


Installation and Configuration

I have the same kind of issue with jamroom installed on a centos install. Can you share with me the solution?

Did you edit the conf file.. if so what edits were necessary.


Thanks
updated by @developer-networks: 01/26/19 05:18:15AM
Developer Networks
@developer-networks
01/24/19 01:29:36PM
566 posts

New Install, Error 500


Installation and Configuration

I was having a simular error this afternoon.

try going to the url yoursite.com/install.php see if you see the install page instead of a 500 error.
http://aquariu8.wwwaz1-ls2.a2hosted.com/install.php

clear browser cache. It looks like you have already installed Jamroom successfully.
Developer Networks
@developer-networks
12/02/16 02:31:13PM
566 posts

Truncated description causes missing div tag


Jamroom Developers

SteveX:
Developer Networks:Thanks Steve!
I tried that function and it did resolve the issue.
{$item.discuss_description|jrCore_strip_html|truncate:120}

I don't know why that didn't work for you.

I have just used this to fix the same problem on a site:
{$item.items_text|jrCore_strip_html|truncate:200:"..."}
It works perfectly.



Steve It says: "It did work". Thanks again for your help.
Developer Networks
@developer-networks
11/29/16 04:22:24PM
566 posts

Group Discussions


Design and Skin Customization

Awesome I found it, Thanks!
Developer Networks
@developer-networks
11/29/16 11:16:13AM
566 posts

Group Discussions


Design and Skin Customization

You can change it on that line but it wont effect or change the group discussion item list.

I believe the the default is set in php to 10 and controlled from the with in the module.
I think it would require changing it there.



updated by @developer-networks: 11/29/16 11:32:26AM
Developer Networks
@developer-networks
11/23/16 10:03:07AM
566 posts

Truncated description causes missing div tag


Jamroom Developers

It does. I didnt know I could use jrCore_strip_html with Jamroom.

Thanks Douglas
  6