Nucleus Support Forum Index

Find on the forum:
any terms  all terms  Advanced Search

RSS 2.0
Browse posts: Unanswered | Mark all read

« »
Loading Nucleus FAQ ticker...
Post new topic Reply to topic
Author Message
ieatflamingos
Nucleus Newbie


Joined: 04 Dec 2005
Posts: 17

Post Posted: Sun Dec 18, 2005 7:06 am   Post subject: Newbie question
Reply with quote

hey so i have been trying to get this to work for a while and everytime i complete all the steps i get an error saying that the file can't be found 404 error, anyone know what could be going on.... i am all very new to all this. thanks in advance

Back to top

View user's profile Send private message
vadim
Nucleus Newbie


Joined: 10 Jan 2006
Posts: 8

Post Posted: Tue Jan 10, 2006 9:51 pm   Post subject: problem with "Today"
Reply with quote

folks,

i have been playing with this setup and got it to work, except i'm having problem with getting "today" to work (.../blog/1) if i turn off fancyurls, the link is .../?blogid=1 and it works from all pages. if i turn on fancy mode, it doesn't resolve (i get 404). any help, leads would be much appreciated. http://blog.imperfectknowledge.com

Back to top

View user's profile Send private message
Legolas
Nucleus Guru
Nucleus Guru


Joined: 31 Jan 2004
Posts: 813
Location: Woerden, Nederland

Post Posted: Tue Jan 10, 2006 10:01 pm   Post subject:
Reply with quote

it looks like something is wrong in the htacces file?

Back to top

View user's profile Send private message Visit poster's website
vadim
Nucleus Newbie


Joined: 10 Jan 2006
Posts: 8

Post Posted: Tue Jan 10, 2006 10:07 pm   Post subject:
Reply with quote

here it is, i just copied-pasted it:

RewriteEngine On
RewriteRule ^member/(.*) index.php?arr=member/$1
RewriteRule ^item/(.*) index.php?arr=item/$1
RewriteRule ^category/(.*) index.php?arr=category/$1
RewriteRule ^blog/(.*) index.php?arr=blog/$1
RewriteRule ^archive/(.*) index.php?arr=archive/$1
RewriteRule ^archives/(.*) index.php?arr=archives/$1

Back to top

View user's profile Send private message
Legolas
Nucleus Guru
Nucleus Guru


Joined: 31 Jan 2004
Posts: 813
Location: Woerden, Nederland

Post Posted: Tue Jan 10, 2006 10:23 pm   Post subject:
Reply with quote

This is weird, /blog/ works for example, but with a number it doesn't but with text behind it the htacces works =S

Back to top

View user's profile Send private message Visit poster's website
vadim
Nucleus Newbie


Joined: 10 Jan 2006
Posts: 8

Post Posted: Wed Jan 11, 2006 12:13 am   Post subject:
Reply with quote

maybe something is wrong with my templates/skins? i'm relatively new to nucleus/php, only played with it for a few days, but this one is driving me nuts Sad i can't quite get it, how exactly does it work. my hosting is a linux shared plan at godaddy, supports php and runs apache, but i couldn't get the standard fancy mode to work. i guess it doesn't support forcetypes... your option does work, only if i could figure out how to fix 'today'. any ideas? or should i just get rid of 'today'? Smile

Back to top

View user's profile Send private message
Legolas
Nucleus Guru
Nucleus Guru


Joined: 31 Jan 2004
Posts: 813
Location: Woerden, Nederland

Post Posted: Wed Jan 11, 2006 4:17 pm   Post subject:
Reply with quote

Just noticed you've got the standard fancyurl files still on your domain root, does it work if you rename the file "blog"?

Back to top

View user's profile Send private message Visit poster's website
vadim
Nucleus Newbie


Joined: 10 Jan 2006
Posts: 8

Post Posted: Fri Jan 13, 2006 12:46 am   Post subject:
Reply with quote

don't get it. there is a separate blog file with the following content:
<?php
include('./fancyurls.config.php');
include('./config.php');
// default to default implementation (/blog/1234)
// if blogid was not filled out by plugins
if ($blogid == 0)
{
$data = explode("/",serverVar('PATH_INFO'));
if (count($data) > 1)
{
$blogid = intval($data[1]);
}
}
selector();
?>

...and a fancyurls.config.php with the following:
<?php
$CONF['Self'] = 'http://blog.imperfectknowledge.com';
$CONF['ItemKey'] = 'item';
$CONF['ArchiveKey'] = 'archive';
$CONF['ArchivesKey'] = 'archives';
$CONF['MemberKey'] = 'member';
$CONF['BlogKey'] = 'blog';
$CONF['CategoryKey'] = 'category';
?>

...and my .htaccess has:
RewriteEngine On
RewriteRule ^member/(.*) index.php?arr=member/$1
RewriteRule ^item/(.*) index.php?arr=item/$1
RewriteRule ^category/(.*) index.php?arr=category/$1
RewriteRule ^blog/(.*) index.php?arr=blog/$1
RewriteRule ^archive/(.*) index.php?arr=archive/$1
RewriteRule ^archives/(.*) index.php?arr=archives/$1

Back to top

View user's profile Send private message
Legolas
Nucleus Guru
Nucleus Guru


Joined: 31 Jan 2004
Posts: 813
Location: Woerden, Nederland

Post Posted: Fri Jan 13, 2006 7:37 pm   Post subject:
Reply with quote

those files from the extra dir aren't needed for my solution and it's the best to keep them away

Back to top

View user's profile Send private message Visit poster's website
vadim
Nucleus Newbie


Joined: 10 Jan 2006
Posts: 8

Post Posted: Fri Jan 13, 2006 9:31 pm   Post subject:
Reply with quote

removed all, just left .htaccess - nothing changed Sad

you were saying before:

>>Just noticed you've got the standard fancyurl files still on your domain root, does it work if you rename the file "blog"?

what do you mean? should i leave file 'blog' and rename it to something? sorry for silly questions...

Back to top

View user's profile Send private message
Post new topic Reply to topic
Display posts from previous:   

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next

Page 4 of 9

All times are GMT + 1 Hour

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group