Forum Activity for @michael

michael
@michael
12/22/15 06:26:34PM
7,839 posts

Index Not Found


Installation and Configuration

ok, so they are not the same page.

Try putting a debug in the 404.tpl page and see if there are any clues in the $_post variable.

Or if you have a debugger, walk through router.php to try to figure out what is not being found.

Should be firing around this section of router.php
//------------------------------------
// System Index
//------------------------------------
elseif (!isset($_post['module']{0}) && !isset($_post['option']{0}) && !isset($_post['module_url'])) {
// THE INDEX SHOULD SHOW IF ALL THOSE OPTIONS ARE TRUE
othewise, if it thinks there is a module there then

            if (function_exists($func)) {
                // default view function
                $out = jrCore_run_module_view_function($func);
            }
            elseif (is_file(APP_DIR . "/skins/{$_conf['jrCore_active_skin']}/{$_post['module']}_index.tpl")) {
                // default module index (note skin override in parse_template)
                $out = jrCore_parse_template('index.tpl', $_post, $_post['module']);
            }
            elseif (is_file(APP_DIR . "/modules/{$_post['module']}/templates/index.tpl")) {
                // default module index (note skin override in parse_template)
                $out = jrCore_parse_template('index.tpl', $_post, $_post['module']);
            }
            else {
                // page/module/option not found
                jrCore_page_not_found();
            }
michael
@michael
12/22/15 05:44:32PM
7,839 posts

Index Not Found


Installation and Configuration

Is just a matter of narrowing down down down until we hit the actual issue.

If the header and footer are there on index then my above test is useless, its routing. :)

Actually that is really really weird
site.com/
site.com/index

should be displaying the same thing. or in my case /index redirecting to /.

The header and footer are being added in from index.tpl so the question becomes "Why is the beginning of the file and the end of the file showing, but not the middle.....?"

index.tpl from elastic looks like this:
{jrCore_include template="header.tpl"}
// stuff....
{jrCore_include template="footer.tpl"}

Try adding some things to index.tpl "HERE IS THIS THING" and see if that displays.
michael
@michael
12/22/15 05:11:12PM
7,839 posts

Global config tabs not updating


Design and Skin Customization

AH! Gotcha. sorry, I was not understanding.

Quote: if the skin is not activate it doesn't save the data,

I'll check it out. Thanks.
updated by @michael: 12/22/15 05:11:26PM
michael
@michael
12/22/15 05:06:11PM
7,839 posts

Beta : Profiles - Deleting Profile 500 error Msg


Using Jamroom

Thanks for the video, it makes it real easy to understand the issue.

I'm not seeing the same thing here. A 500 error is an 'Internal Server Error'. Do you have access to cpanel or any type of server error logs to see what your server might be complaining about?

Check there for any hints.
michael
@michael
12/22/15 04:59:50PM
7,839 posts

Global config tabs not updating


Design and Skin Customization

In your video your changing it from 1,4,5 to empty. Try changing it to 8,9,4 or something else and see if that sticks.
michael
@michael
12/22/15 04:56:55PM
7,839 posts

Index Not Found


Installation and Configuration

(Disclaimer: I know very little about Nginx, what I do know mostly comes from you. :) )

What I would check is: is the index arriving at router.php

So in:
/modules/jrCore/router.php

Put a bit of test code in at the very top:'
/**
 * @copyright 2012 Talldude Networks, LLC.
 * @author Brian Johnson <brian [at] jamroom [dot] net>
 */
echo 'hello world';
exit;
// Define our base dir - DO NOT USE __DIR__ here
define('APP_DIR', dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME']))));

Everything should go through router.php so if the index is not showing, it would be good to know if the server is sending the request to router.php or not.

That
echo 'hello world';
exit;
put into router will cause the screen to show 'hello world' if the URL is being directed to it.

If it does show up it means the jamroom system should be working.
If it doesn't show up it means that the server is not sending that url to where its supposed to and points to a problem in .htaccess (if the server was apache, but its nginx......)
screenshot_hello_world.jpg screenshot_hello_world.jpg - 26KB

updated by @michael: 12/22/15 04:57:07PM
michael
@michael
12/22/15 04:39:02PM
7,839 posts

jrAction_item_index


Jamroom Developers

Possible locations for over-ride of jrAction's 'item_index.tpl'
#1: In the ACP at MODULES -> ACTION -> TEMPLATES -> item_index.tpl
#2: In the skins as jrAction_item_index.tpl
#3: In the ACP at SKINS -> (current skin) -> TEMPLATES -> jrAction_item_index.tpl

It can get confusing if there is are multiple over-rides in multiple locations.

--edit--
Check in the database at jr_jrcore_template to see if there are any ACP overrides
updated by @michael: 12/22/15 04:40:25PM
michael
@michael
12/22/15 04:33:25PM
7,839 posts

Url of a custom image


Design and Skin Customization

If you've uploaded it via the "Select Images To Upload" button in the:
ACP -> SKINS -> ELASTIC -> IMAGES -> ADDITIONAL IMAGES

Right clicking on the image there and choosing "view image" takes you to this url:
site.com/image/img/skin/jrElastic/polarbears.jpg

That's the same one you want to use if you want to allow over-rides.

Another example:
http://site.com/image/img/skin/jrElastic/sn-twitter.png

The above url will show the image
http://site.com/skins/jrElastic/img/sn-twitter.png
UNLESS...... there has been an image uploaded in the IMAGES panel of elastic, then it will show:
http://site.com/data/media/0/0/jrElastic_sn-twitter.png

So use that function url to get the correct URL every time.
updated by @michael: 12/22/15 04:34:07PM
michael
@michael
12/22/15 04:24:25PM
7,839 posts

Global config tabs not updating


Design and Skin Customization

Video is private here too, can't see it without access.

Could you grant access to:
www.youtube.com/watch?v=SOibQrXXRgA

This is our channel:
https://www.youtube.com/user/jamroomdotnet

If thats what you need to grant access, not sure, never used the private feature before.
michael
@michael
12/22/15 04:19:33PM
7,839 posts

Beta : Profiles - Deleting Profile 500 error Msg


Using Jamroom

How do I watch it?

This is The Jamroom Network's channel:
https://www.youtube.com/user/jamroomdotnet

Can you allow access to that user?
  447