S9Y Admin

Having trouble installing serendipity?
Post Reply
Jr Prod

S9Y Admin

Post by Jr Prod »

Hi Garvin,

I've just installed my second weblog - only for testing purposes. The installation went well, but when I enter in the admin pannel, I can't post any message (it just shows me the frontpage while clicking on the "New Post" link).
:?:
I can enter in the plugins and styles options, but cannot change the style or plugins. It brings me again to the frontpage.

Any ideas ? Thanks !

PS : I took the latest S9Y version
PS2 : the link is : http://www.sympato.ch/jrprod/blogtest
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: S9Y Admin

Post by garvinhicking »

Hm, this sounds like some coredumping or HTML errors are happening.

I'd need a guest account to your blog or your user login to have a look at it?

Best 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/
Jr Prod

OK

Post by Jr Prod »

Here's a snapshot : Image

But now I skrewed it completely, I cannot log in as admin any more, so I'll reinstall it and tell you then the login & psw if it still doesn't work,,,
Jr Prod

I still have the problem

Post by Jr Prod »

Hi Garvin,

I reinstalled S9Y completelly but I still have the problem.

So : URL http://www.sympato.ch/blogtest2

Usr : jrprod
Psw : s9y


I really do not understand why it doesn't work... :?
Jr Prod

Ehm...

Post by Jr Prod »

Fuck, sorry, the url is : http://www.sympato.ch/jrprod/blogtest2 :oops:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Ehm...

Post by garvinhicking »

This is really strange and I've never seen this happen. It seems Serendipity does not detect your proper variables for the URLs.

Please open your serendipity_admin.php and tell me the version on the top of the file.

After that, please go to line 186. It should there read something like:

Code: Select all

    if (!isset($serendipity['GET']['adminModule'])) {
        $serendipity['GET']['adminModule'] = (isset($serendipity['POST']['adminModule']) ? $serendipity['POST']['adminModule'] : '');
    }
There, before that line please insert a:

Code: Select all

print_r($serendipity['GET']);
And then I'll look at your page again. It should read something like:

Code: Select all

Array ( [adminModule] => entries [adminAction] => new [action] => )
If it displays an empty value there, it means there is something majorly wrong with either your PHP or your webserver, or you modified some Serendipity files...?

(I might not reply till later this evening)
# 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/
Jr Prod

Thanks

Post by Jr Prod »

So, here it is :
Please open your serendipity_admin.php and tell me the version on the top of the file.
<?php # $Id: serendipity_admin.php,v 1.71 2005/03/02 09:23:33 garvinhicking Exp $
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
# All rights reserved. See LICENSE file for licensing details

After that, please go to line 186.
OK, it's done.
And then I'll look at your page again.
Thank you very much Garvin. Take your time, it's not urgent. My real blog is working really fine. I just created this one to make some test, and avoid to skrew the real blog... =)

Thanks, best regards !
Pavel

PS : I didn't modified anything but :
1) the serendipity_admin.php as you've told me
2) I uploaded one of my "themes" in the templates directory
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Thanks

Post by garvinhicking »

You must put the print_r part inside the <?php parts, not outside the ?> ones, please. :)

If you see the "print_r" in the HTML output, you placed it wrong :)

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/
Jr Prod

OK I understand

Post by Jr Prod »

Hi Garvin,

I placed the code at the right place this time I thing... :wink:


I really do not understand what's wrong with that installation...

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

Re: OK I understand

Post by garvinhicking »

Your webserver/PHP has seroius trouble.

It does not convert the URI "http://www.sympato.ch/jrprod/blogtest2/ ... ction]=new" to correct variables.

The output is:

Code: Select all

Array ( [adminModule] => entries&serendipity[adminAction]=new [action] => [adminAction] => ) 
whereas this would be correct:

Code: Select all

Array ( [adminModule] => entries [action] => [adminAction] => new ) 
Please look at your PHP config if the URL separator is properly configured. Please talk to your hoster as well, this is a serious buggy issue. I really wonder why you're not facing it on a second installation. See if that other directory has different VHost/PHP/.htaccess settings than your other 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/
Jr Prod

Post by Jr Prod »

Hi Garvin,

OK thanks, i'll check that with my provider !

Best regards,
Pavel
hkit
Regular
Posts: 25
Joined: Mon Oct 10, 2005 11:20 am

Post by hkit »

Hej JrPod,

I had just two days ago almost the same problem. It occured in my case when I tried to migrate serendipity to another server. I just uploaded the serendipity-folder to the server. Before I created the tables, the blog looked like this.
And as it seems to me, maybe you haven't installed the tables yet, as it says:
*/ Table 'sympatoch10.serendipity_entries' doesn't exist*

In my case it didn't work to create the tables manually, because of a MySQL-problem. At the end of the day, I installed serendipity the 'normal' way and updated the files I changed.

cu
Stefan
Post Reply