• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Dumb question (no.2) - what's a 'random-string'?

DoctorWatsOn

Well-known member
#1
...and where do I find one? :D

Right, I trying to get xfrocks' excellent WordPress 3 Bridge to work, but I am having problems with users logging in, there's 2 options to get this to work.

1 - Copying the globalSalt from the xF application.php file and into the WP dashboard - this is what I've tried and it doesn't work.

2 - editing the xF config.php file and adding: $config['globalSalt'] = 'random-string-goes-here'; < but I am lost as to what I should put where it says 'random-string-goes-here'.

Can anyone help?
 

DoctorWatsOn

Well-known member
#3
It can be anything really. Just search Google for a random hash generator. There are lots out there.
Cheers, well that's blown my mind; I don't even think I want to know why a complete random string of numbers & letters should be able to make something work.

Anyway, I used a generator and it gave me - R9xP0ze8w0

So, I added this at the end of the xF config.php file - $config['globalSalt'] = ‘R9xP0ze8w0’

And I totally lost my WP - nothing but blank white pages. :(
 

bambua

Well-known member
#4
In basic terms a salt is part of a key that allows 2 pieces of code authenticate with one another so that they can access data. As for the bridge giving white pages, not sure :/