AuthName directive not found

Having trouble installing serendipity?
reza_rad
Regular
Posts: 22
Joined: Thu Jan 15, 2009 1:54 pm

AuthName directive not found

Post by reza_rad »

Hi experts
I had a sy9 weblog before and it works correctly
now i transfered my domain, i transfered database and web site completely
but when i browse on my new site i get this error:

AuthName directive not found.

File: C:\HostingSpaces\rezarad\rad.pasfu.com\wwwroot\.htaccess

this is my web address(you can see error here):
http://www.rad.pasfu.com/index.php


when i talk with support center of hosting they hadn't any idea about solving this problem

please help me on this issus

thanks in advance
reza_rad
Regular
Posts: 22
Joined: Thu Jan 15, 2009 1:54 pm

Re: AuthName directive not found

Post by reza_rad »

any help ????
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: AuthName directive not found

Post by Don Chambers »

That seems to be an apache error.... are you trying to set AuthName in your .htaccess? Maybe your new provider does not allow that?

I really do not know much about apache, hopefully your service provider can help you figure it out, or perhaps someone on this forum who knows more about apache will respond.
=Don=
reza_rad
Regular
Posts: 22
Joined: Thu Jan 15, 2009 1:54 pm

Re: AuthName directive not found

Post by reza_rad »

Thanks Don
but the hosting providers says that they couldn't do any change on server.
I have a windows hosting plan, and provider say that can not use .htaccess on windows. But i had this before on my previous windows hosting plan and it worked correctly.
What i must do ? what is your solution?
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: AuthName directive not found

Post by kleinerChemiker »

If you gave us this information before, I would answered earlier.

If your new provider says, .htaccess is not supported, than you cannot use it (I think, they will know if it is supported or not) Maybe your former provider used Apache and the new one IIS.

Delete the .htaccess and tunr URL rewriting off in your configuration.
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: AuthName directive not found

Post by Don Chambers »

Do they offer linux, or do you need windows?
=Don=
reza_rad
Regular
Posts: 22
Joined: Thu Jan 15, 2009 1:54 pm

Re: AuthName directive not found

Post by reza_rad »

Thanks guys
I deleted .htaccess, but when i browse on site it seems that installation process want to start again.
I copy the database to new host and I don't want to install sy9 again, I just want to use previous installation. how can i do this?
you can see here:
http://www.rad.pasfu.com


@Don
No they don't offer windows hosting plan, I choose this because I have another website with asp.net and sql server on this domain.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: AuthName directive not found

Post by garvinhicking »

Hi!

Did you check the s9y.org FAQ on moving an installation? It seems you did not migrate/copy over the serendipity_config_local.inc.php file, so s9y thinks it is not installed.

Windows PHP servers are most always a problem. You might face many more hurdles with Windows servers, if .htaccess is already not supported, you will surely loose URL rewriting ("pretty URLs") along the way, and maybe also image generation...

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/
reza_rad
Regular
Posts: 22
Joined: Thu Jan 15, 2009 1:54 pm

Re: AuthName directive not found

Post by reza_rad »

Hi @garvinhicking
thanks for your reply
I copied anything from my previous hosting , and also serendipity_config.inc.php. all copied successfuly
I don't know what i must to do more? could you help me please.
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: AuthName directive not found

Post by Don Chambers »

You might have a path problem in your database... serendipity has a configuration parameter labeled "Full Path". If you changed hosting providers, that path is very likely to be different.
=Don=
kleinerChemiker
Regular
Posts: 765
Joined: Tue Oct 17, 2006 2:36 pm
Location: Vienna/Austria
Contact:

Re: AuthName directive not found

Post by kleinerChemiker »

Don Chambers wrote:You might have a path problem in your database... serendipity has a configuration parameter labeled "Full Path". If you changed hosting providers, that path is very likely to be different.
without the serendipity_config_local.inc.php s9y didn't connect to the db.

@reza: read carfully! you have to have serendipity_config_local.inc.php. is this in your dir or only serendipity_config.inc.php?
reza_rad
Regular
Posts: 22
Joined: Thu Jan 15, 2009 1:54 pm

Re: AuthName directive not found

Post by reza_rad »

@Don
I can't find full path . where is it exactly?

@kleinerChemiker
I have serendipity_config.inc.php and also serendipity_config_local.inc.php in my root folder
database connection properties is right in serendipity_config_local.inc.php.

another thing:
I upload a first-hand version of serendipity on host , and run a new install, after installation everything is right. but i don't know why i can't use my previous copy of serendipity? even i change connection to my old database i got some errors.

thanks again for your helps
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: AuthName directive not found

Post by Don Chambers »

@kleinerChemiker - I know that... but I also hit his site and receive the error message:
Warning: Smarty error: unable to read resource: "404.tpl" in C:\HostingSpaces\rezarad\rad.pasfu.com\wwwroot\bundled-libs\Smarty\libs\Smarty.class.php on line 1092
To me, this suggests a path issue, although I could definitely be wrong.

@reza_red - if you have a second install, the only difference is really going to be that local configuration file which will then connect to a different database. If you still have that working install, check the value of the full path via Administration -> Configuration -> Paths -> Full path.

Is it: C:\HostingSpaces\rezarad\rad.pasfu.com\wwwroot\ :?:
=Don=
reza_rad
Regular
Posts: 22
Joined: Thu Jan 15, 2009 1:54 pm

Re: AuthName directive not found

Post by reza_rad »

@Don
thanks for you fast reply
I think the problem is related to path too
I removed new installation after my previous port
but i will try it again and compare path between new version and old, and will inform you then.

If there was path problem, how must i solve it? are all path located in config.php files or i must look for them in other places?
thanks
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: AuthName directive not found

Post by Don Chambers »

The path is stored in config table.... you can use phpMyAdmin, or I am fairly sure you can get to it in your admin page (http://www.rad.pasfu.com/serendipity_admin.php) even if the path is wrong.
=Don=
Post Reply