k2 photoblog, i'm new to this.

1 view
Skip to first unread message

andywissman

unread,
Jun 11, 2009, 12:42:04 PM6/11/09
to K2 Support
I'm using the k2 nautilus which is no longer supported by the girl who
wrote it. I'm getting an error when I try to go to my "older" posts
that says the URL length exceeds it's limit. bluehost gave me this
answer. "That error appears to be caused by a php include or require
directive that uses
a URL. Because the other URL is on the same server, you should be able
to
change that to reference the script by filename instead of by URL. "


the only problem is. I have no idea how to change this or even find
it because i'm just getting into this. Is there anyone who could
explain this to me?

http://www.andywissman.com here is the link so you may see the error
for yourself.


thank you in advance!

Eric Marden

unread,
Jun 12, 2009, 4:00:13 AM6/12/09
to k2-su...@googlegroups.com
My suggestion is to upgrade k2 and rebuild the nautilus theme as a
child theme of K2. This may be outside of your skill set, but that's
my best suggestion.



- Eric Marden
. . . . . . . . . . . . . . . . . . . . .
http://ericmarden.com

srsly

unread,
Jun 18, 2009, 12:44:30 PM6/18/09
to K2 Support
i'm having a similar issue. i'll first try to track down what your
host suggested and if i can't i'll try Eric M's suggestion.

-srsly

On Jun 12, 1:00 am, Eric Marden <eric.mar...@gmail.com> wrote:
> My suggestion is to upgrade k2 and rebuild the nautilus theme as a  
> child theme of K2. This may be outside of your skill set, but that's  
> my best suggestion.
>
> - Eric Marden
> . . . . . . . . . . . . . . . . . . . . .http://ericmarden.com

srsly

unread,
Jun 24, 2009, 2:45:28 PM6/24/09
to K2 Support
finally fixed with some help from Andy. apparently there's an updated
rollingarchive.js.php that is needed. if anyone needs this please
feel free to email me, Andy sent it to me and said he got it from
someone that's maintaining the theme.

i also ran into another issue with theloop getting the main wp
function file. i just replaced the first IF inside the core wp
function if with this:

// Check for CGI Mode
if ( 'cgi' == substr( php_sapi_name(), 0, 3 ) ):
require_once( preg_replace( '/wp-content.*/', '', __FILE__ ) . 'wp-
config.php' );
else:
require_once( preg_replace( '/wp-content.*/', '', $_SERVER
['SCRIPT_FILENAME'] ) . 'wp-config.php' );
endif;

if ($_GET['k2dynamic'] != 'init') {
$query = k2_parse_query($_GET);
query_posts($query);
}

i pulled this from the base K2 theloop.php. works like a charm now.
Reply all
Reply to author
Forward
0 new messages