Forum Activity for @michael

michael
@michael
09/24/15 07:36:31AM
7,832 posts

sitemap crawls neverending weird url generation


Ning To Jamroom

I think its going to be a code that looks something like this:
{foreach $_items as $item}
<a href="http://site.com/dreadlocks-forums/forum/dreadlock-picture-gallery/19407/before-and-after-dreadlocks-pictures-comparing-dreads-no-dreads/
<br /
topic/ 
{/foreach}
and there should be a "> after the href but there isnt.
michael
@michael
09/24/15 07:32:38AM
7,832 posts

Can I use GENOSIS script with my existing user system.


Genosis

make sure the server is apache and that the .htaccess file is also copied.

There is no actual directory at:
/user/signup

all that is handled by .htaccess and routes all the url's to the router.php script.
michael
@michael
09/23/15 06:52:43PM
7,832 posts

sitemap crawls neverending weird url generation


Ning To Jamroom

does your sitemap software tell you which url has that link on it?

There doesnt look to be anything wrong on the destination page:
http://dreadlockssite.com/dreadlocks-forums/forum/dreadlock-picture-gallery/19407/before-and-after-dreadlocks-pictures-comparing-dreads-no-dreads

So I'm wondering if its on the page that contains the link
michael
@michael
09/23/15 06:40:30PM
7,832 posts

Can I use GENOSIS script with my existing user system.


Genosis

That's @brian's family tree, not a demo fiddle system. We dont have a demo system where the backend is available, you'd need to download it and install it to play with it.

Easiest way is to grab a GEDCOM file and import it.

Genosis could be installed in your system in a sub directory then you could link whatever you have now to it, but it would not know about your existing users so would be a separate system unless you integrated them by importing your users into genosis and having some sort of sync mechanism to keep them aligned.
michael
@michael
09/23/15 06:35:50PM
7,832 posts

System Check Error


Installation and Configuration

The function doing the checking is jrImage_check_imagick_install()

Its at:
/modules/jrImage/include.php

This is what the function contains:
function jrImage_check_imagick_install($notice = true){
    global $_conf;
    $magic = false;
    if (isset($_conf['jrImage_convert_binary']{1})) {
        $magic = $_conf['jrImage_convert_binary'];
    }
    else {
        if (is_file('/usr/bin/convert')) {
            $magic = '/usr/bin/convert';
        }
        elseif (is_file('/usr/local/bin/convert')) {
            $magic = '/usr/local/bin/convert';
        }
    }
    if (jrUser_is_master() && (!is_file($magic) || !is_executable($magic))) {
        if ($notice) {
            $show = jrCore_entity_string(str_replace(APP_DIR . '/', '', $magic));
            jrCore_set_form_notice('error', 'The imagemagick binary: ' . $show . ' is not executable!  Set permissions on the file to 755 or 555.');
        }
        return false;
    }
    return $magic;
}

so for some reason your server is not allowing that function to return TRUE which causes the error you're seeing.

If your imagemagic is at a different location, then you can define that location in
/data/config/config.php

by putting:

$_conf['jrImage_convert_binary'] = '/path/to/where/it/is';
if that suits your needs better.

Next step is to check with the server guys to know why that function is failing.

The function is just checking to see if the file exists and is executable and its finding the answer is 'no'
michael
@michael
09/23/15 07:08:37AM
7,832 posts

Can I use GENOSIS script with my existing user system.


Genosis

The quick answer is yes, but then I don't know anything about your current user system or how you want to integrate it, so the HOW might prove more difficult.

Its really going to come down to how you want to integrate it and what you expect from the integration.
michael
@michael
09/23/15 07:06:06AM
7,832 posts

sitemap crawls neverending weird url generation


Ning To Jamroom

The goal is to figure out what code is generating that error and fix it. So memory is also a tool, can you remember changing any templates lately? take a walk through those changes and see if you miss typed a character or two.
michael
@michael
09/22/15 12:26:11AM
7,832 posts

sitemap crawls neverending weird url generation


Ning To Jamroom

doesnt need to be phpstorm, thats just the IDE I like. any text search function would do. Just need to be able to find where you have made that error to be able to fix it.

I think even normal system search has the ability to limit itself to a speciic folder and search within text files.

What I like about phpstorm is it keeps itself in sync with the filesystem on your server so you know you have an exact copy of the files on your server. I find that handy and comforting.
michael
@michael
09/21/15 07:23:50PM
7,832 posts

sitemap crawls neverending weird url generation


Ning To Jamroom

sorry. I use phpstorm for my development. It contains all the code that exists on my server.

So I have a the code on my server that runs the site, it connects to the database.

By "search my codebase" I mean use the key command ctrl+shift+f (in phpstorm) to search over all the text contained in the files to locate that pattern.

That should help locate where the br that is missing the closing tag is.

It should be:
<br>
but it probably is
<br
or
<br /

Its probably in a .tpl file in your skin. (unless your using the TEMPLATE tab for alterations, then it will be harder to locate because you dont have the site wide search function like an IDE would.)
michael
@michael
09/21/15 06:13:46PM
7,832 posts

sitemap crawls neverending weird url generation


Ning To Jamroom

That sequence when reverted to normal html looks like this:
/<br /topic/<br /topic/<br /topic/<br /topic/<br /topic/

Looks to me like there is an unclosed BR inside a loop somewhere.

If it was me, Id run a search on my code base for '/topic/' and find where that missing closing BR is. and blame that for the issue, see whats needed to fix it.
  483