Forum

[SOLVED] Problem wi...
 
Notifications
Retirer tout

[SOLVED] Problem with direct link to activity in email and ${url} tag

5 Posts
2 Utilisateurs
0 Reactions
2,377 Vu
(@niny1992)
Posts: 3
Active Member
Début du sujet
 
[#5591]

Hello,

I've make the installation of projeQtOr on a Raspberry pi. I've actually a problem when i send user information. The url sended by mail is not correct. I have http://_ instead of http://"my ip address".

I have the same problem with the links in Activity emails.

I don't have any informations in the log file. Did i forget to install a package on my web server?

Thanks in advance

ProjeQtOr V7.2.7


 
Posté : 3 Déc PM 18:1212
(@babynus)
Posts: 14952
Membre Admin
 

Could you please show content of variable $_SERVER on PHP
You can for instance create new file in web directory test.php containing :



 
Posté : 4 Déc PM 15:1212
(@niny1992)
Posts: 3
Active Member
Début du sujet
 

Hello,
The result is : "_"


 
Posté : 4 Déc PM 19:1212
(@babynus)
Posts: 14952
Membre Admin
 

Ok
In your conf, SERVER_NAME is not known.
We'll try and provide some patch.

As a workaround, add this line in parameters.php :

$_SERVER['SERVER_NAME']=$_SERVER['SERVER_ADDR'];

 
Posté : 4 Déc PM 21:1212
(@niny1992)
Posts: 3
Active Member
Début du sujet
 

It works.
Thank you for help.


 
Posté : 4 Déc PM 22:1212
Share:
Retour en haut