How to create index.php?

Having trouble installing serendipity?
Post Reply
Linus

How to create index.php?

Post by Linus »

Hi,

I'm ashamed, but I don't know how to use Serendipity after installation. I created one category and creates some entries, some of them belonged to this category, others belong to "no categorie".

But how to proceed? I searched the installation manual, but I don't know how to create the two index.php's that show

a) the entries of all categories and
b) the entries of only one categorie.

I think I have to create a new php-file and add a special command to show the entries. But what command?

Clicking the "Back to Blog"-Links leads me to the login page of the admin center, but not to the blog. And it's strange that obviosly no template is selected. The admin page seems to be nearly completely unformatted.

Thanks for your help,

Jan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: How to create index.php?

Post by garvinhicking »

You don't need to create any files. Just open your blog at http://yourhost/serendipity and then you will see the frontpage.

The frontpage contains all entries of all categories. Then make sure you have the 'categories' sidebar plugin installed, which offers links to frontpages for pages with only entries of that category.

You can also call the URL via http://yourblog/serendipity/index.php?/ ... Technology

Where the "1" is the CategoryID and everything else the category name.

Please give us the URL to your blog if it is misbehaving. I hope you did not remove serendipity's index.php or modified it manually. Also I hope you did not manually change or override the .htaccess file?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Re: How to create index.php?

Post by Guest »

Hi, Garvin,

thanks for replying so fast. :-)
garvinhicking wrote:You don't need to create any files. Just open your blog at http://yourhost/serendipity and then you will see the frontpage.
No, I'm sorry, but I won't. Just have a look at http://www.muenster.org/ai/admin. I installed Serendipity to the admin folder cause I thought it would only contain administration stuff. But entering http://www.muenster.org/ai/admin/ automatically leads to http://www.muenster.org/ai/admin/serendipity_admin.php. Why?

Regards,

Jan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: How to create index.php?

Post by garvinhicking »

You need to reinstall serendipity. The directory name "admin" is internally used, you cannot install serendipity into that folder because its rewrite mechanisms use that directory for special access.

You can also not install into those folders:

archives
archive
categories
feeds
authors
delete
approve
unsubscribe
plugin
admin
entries
search

Actually we just didn't know someone would install s9y into such a directory :-)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Linus

Re: How to create index.php?

Post by Linus »

garvinhicking wrote:Actually we just didn't know someone would install s9y into such a directory :-)
Yes, I'm very special. In several ways... ;-)

Thanks for your help! :-)
Post Reply