Page 1 of 1

S9Y Admin

Posted: Wed May 11, 2005 10:35 am
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

Re: S9Y Admin

Posted: Wed May 11, 2005 10:40 am
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

OK

Posted: Wed May 11, 2005 10:44 am
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,,,

I still have the problem

Posted: Wed May 11, 2005 10:54 am
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... :?

Ehm...

Posted: Wed May 11, 2005 10:55 am
by Jr Prod
Fuck, sorry, the url is : http://www.sympato.ch/jrprod/blogtest2 :oops:

Re: Ehm...

Posted: Wed May 11, 2005 11:02 am
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)

Thanks

Posted: Wed May 11, 2005 11:12 am
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

Re: Thanks

Posted: Wed May 11, 2005 11:58 am
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

OK I understand

Posted: Thu May 12, 2005 11:12 am
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

Re: OK I understand

Posted: Thu May 12, 2005 3:14 pm
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

Posted: Fri May 13, 2005 4:26 pm
by Jr Prod
Hi Garvin,

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

Best regards,
Pavel

Posted: Wed Nov 09, 2005 9:33 am
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