Page 1 of 2

AuthName directive not found

Posted: Fri Nov 27, 2009 7:21 am
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

Re: AuthName directive not found

Posted: Fri Nov 27, 2009 2:36 pm
by reza_rad
any help ????

Re: AuthName directive not found

Posted: Fri Nov 27, 2009 8:04 pm
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.

Re: AuthName directive not found

Posted: Fri Nov 27, 2009 9:18 pm
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?

Re: AuthName directive not found

Posted: Fri Nov 27, 2009 9:59 pm
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.

Re: AuthName directive not found

Posted: Fri Nov 27, 2009 10:16 pm
by Don Chambers
Do they offer linux, or do you need windows?

Re: AuthName directive not found

Posted: Sat Nov 28, 2009 5:29 am
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.

Re: AuthName directive not found

Posted: Sat Nov 28, 2009 1:29 pm
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

Re: AuthName directive not found

Posted: Sat Nov 28, 2009 6:53 pm
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.

Re: AuthName directive not found

Posted: Sat Nov 28, 2009 8:51 pm
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.

Re: AuthName directive not found

Posted: Sat Nov 28, 2009 8:59 pm
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?

Re: AuthName directive not found

Posted: Sat Nov 28, 2009 9:08 pm
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

Re: AuthName directive not found

Posted: Sat Nov 28, 2009 9:17 pm
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\ :?:

Re: AuthName directive not found

Posted: Sat Nov 28, 2009 9:26 pm
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

Re: AuthName directive not found

Posted: Sat Nov 28, 2009 9:48 pm
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.