config.php file problem?

  blackerutuf 09:36 28 May 2009
Locked

Hello
Can any one give me some advice regarding a config.php file?
I have got a site working but cannot access some of the content, I am concerned about the following line in the config file:

$cdomain = $_SERVER['SERVER_NAME']=='localhost' ? ' : ".$_SERVER[SERVER_NAME]";//.yoursite.com

I have changed the variables ie localhost changed and yoursite.com changed, but still access problems.

The software supplier says that it is a .htaccess problem, but I am not sure, I would appreciate any help with this - thank you.
Regards
Mike

  OTT_Buzzard 09:45 28 May 2009

[SERVER_NAME]";//.yoursite.com

try removing the period that's betwwe // and yoursite

Not sure if it will work, but maybe worth a shot!

  blackerutuf 13:41 28 May 2009

Thanks for that, unfortunately it is still the same, I have changed the settings forjust about every combination imaginable, could it be the .htaccess as has already been suggested?

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Alienware 17 R4 2017 review

These brilliant Lego posters show just what children's imaginations are capable of

Mac power user tips and hidden tricks

Comment réinitialiser votre PC, ordinateur portable ou tablette Windows ?