The Serendipity Handbook

You can now read the (german) handbook here: PDF - https://github.com/s9y/Book (LaTeX source).

Forum-Information

Before posting about errors, make sure that the answer cannot already be found in our FAQ or by searching this forum!
Posting is restricted to registered users (registering is free and simple!) due to recent spam attacks. When having trouble with this board, contact garvin(-at)s9y(-dot)org.

Board index Installation Unable tolog in as admin after fresh install

Having trouble installing serendipity?
dktucson
 
Posts: 2
Joined: Mon Sep 24, 2012 8:47 pm

Postby dktucson » Mon Sep 24, 2012 8:58 pm

Hello,
I have a mixed bag of success in using serendipity. A few weeks ago for kicks & grins I installed aurora linux on an old sparcstation and configured an older version of serendipity that was compatible with the older php. It's working fine
Now i installed it on a little Raspberry pi mini pc using the latest lite version..it loads, but conks out logging in as admin to create a post or administer the blog--saying my username & password are not correct.
I have drilled into the file serendipity_config_local-inc.php and it's all correct as i had set it--I have yanked the files--recopied to the /var/www folder--reset folder permissions and tried a new mysqldatabase of "serendipity2" to no avail...ThePi is running debian squeeze and it has a site up at http://dktucson.dyndns.info:86 It also runs an IRC chat server with a flash/ajax client embedded.
the blogpage loads up--but no admin control panel access

dktucson
 
Posts: 2
Joined: Mon Sep 24, 2012 8:47 pm

Postby dktucson » Wed Sep 26, 2012 6:33 am

i figured it out..something was tanked in mysql..same behaviour using Chyrp..I purged mysql--reinstalled and reconfigured admin logins/database creation & privileges.."now we're cooking with gas" and all is well.

User avatar
onli
Regular
 
Posts: 1044
Joined: Tue Sep 09, 2008 10:04 pm

Postby onli » Wed Sep 26, 2012 7:29 pm

Hi dktucson
Thanks for outlining your solution. It's always good to see people tinkering with the Raspberry pi and s9y. Good luck!

ju
Regular
 
Posts: 47
Joined: Wed Oct 01, 2008 4:27 pm

Postby ju » Wed Nov 14, 2012 2:22 pm

Well, similar problem here. That's why I was looking for installation problems. It's not my first serendipity install, but AFAICR the first, where I locked myself out. (Not on a raspberry pi but on a hosted webspace.)

//update: It worked the second time. (I dropped all tables, deleted serendipity_config_local.inc.php and did the install once more. No idea, I used a stupidly easy password, where I can't make a typo, but maybe I still could ;)

ju
Regular
 
Posts: 47
Joined: Wed Oct 01, 2008 4:27 pm

Postby ju » Wed Nov 14, 2012 4:18 pm

Now I'he locked myself out again ;)

Last thing I did was change in the config "URL rewriting" from disabled to "Use Apache mod_rewrite". Apparantly the server doesn't like this and now I can't access neither blog nor admin. (403). I have looked in the serenditipy_config table but found no obvious entry so far. What do I have to search for and how can I return it to disabled?

//edit ps: Or is this saved in the .htaccess file?

User avatar
garvinhicking
Core Developer
 
Posts: 28946
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Wed Nov 14, 2012 5:45 pm

Hi!

Yes; edit .htaccess to remove Rewrite-related settings (you can use "#" to comment), and then you can turn of URL rewriting again once you get into the admin again :)

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/

ju
Regular
 
Posts: 47
Joined: Wed Oct 01, 2008 4:27 pm

Postby ju » Thu Nov 15, 2012 9:23 am

Thanks a lot. I am always amazed how fast I get help in this forum.

Now I have to ask my hoster about mod_rewrite.


//And one more question: What is the difference between "Use Apache mod_rewrite" and "Use Apache mod_rewrite for 1&1 and problematic servers"?

ju
Regular
 
Posts: 47
Joined: Wed Oct 01, 2008 4:27 pm

Postby ju » Thu Nov 15, 2012 10:26 am

I add a question that is not related to a new install, but to a migration:

The FAQ says:

>>
Now edit the serendipity_config_local.inc.php file, you might need to insert the new DB user account data into that file. You also might need to edit your .htaccess file to set the new paths properly.
<<
http://www.s9y.org/11.html#A21

The serendipity_config_local.inc.php file created by the installer on my new webspace is set to 700. I can't download it with ftp and I can't change settings as my ftp-user is not the owner. Any solution to this?

//edit ps: I think, I have found the solution http://www.s9y.org/11.html#A20 ;)

User avatar
garvinhicking
Core Developer
 
Posts: 28946
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Thu Nov 15, 2012 3:08 pm

Hi!

The 1&1 rewrite options add a specific instruction to .htaccess; but it will not fix your issue if mod_rewrite doesn't work at all for you.

The rest you seem to have uncovered already :)

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/

ju
Regular
 
Posts: 47
Joined: Wed Oct 01, 2008 4:27 pm

Postby ju » Thu Nov 15, 2012 3:22 pm

Thanks! The redirect problem was solved by my hoster. Now it works and I can go on testing before I migrate my 3000 + articles blog.

There is still an issue with creation of thumbnails. Doesn't work when "Use ImageMagic" is set to YES but does work when ImageMagic is set to NO. I checked the path to /usr/bin/convert with my hoster but there might be an issue with the webspace being installed in chroot.



Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest