View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Instal issues - ProjeQtOr
 

Instal issues

More
03 Mar 2014 22:30 #1 by smonnot
Instal issues was created by smonnot
Hello,

I just installed this great solution on a test infrastructure.
The installation was successful.

However, I can not create anything.

When I go into the project and I click on create new project I only return the following:
id: ERROR: An error occurred on 2014-03-03 at 10:20:41 p.m.

when I open the log file, I have the following message;

2014-03-03 10:20:41 p.m. ***** ERROR ***** ERROR *****
2014-03-03 10:20:41 p.m. ***** ERROR ***** on file 'E: \ www \ projet_aud \ model \ persistence \ SqlElement.php' at line (3206)
2014-03-03 10:20:41 p.m. ***** ERROR ***** because = Undefined index: REQUEST_URI

Could you help me?

Thank you in advance.

Please Log in or Create an account to join the conversation.

More
03 Mar 2014 22:57 - 03 Mar 2014 23:00 #2 by babynus
Replied by babynus on topic Instal issues
Hi,

It seems it is an issue that happen with IIS server.

You can try the following fix.
Update file /model/persistence/SqlElement.php, line 3199 from :
public function getReferenceUrl() {
    $url=(((isset($_SERVER['HTTPS']) and strtolower($_SERVER['HTTPS'])=='on') or $_SERVER['SERVER_PORT']=='443')?'https://':'http://')
    .$_SERVER['SERVER_NAME']
    .(($_SERVER['SERVER_PORT']!='80' and $_SERVER['SERVER_PORT']!='443')?':'.$_SERVER['SERVER_PORT']:'')
    .$_SERVER['REQUEST_URI'];
to
public function getReferenceUrl() {
    if (!isset($_SERVER['REQUEST_URI'])) {
      $_SERVER['REQUEST_URI'] = substr($_SERVER['PHP_SELF'],1 );
      if (isset($_SERVER['QUERY_STRING'])) { $_SERVER['REQUEST_URI'].='?'.$_SERVER['QUERY_STRING']; }
    }
    $url=(((isset($_SERVER['HTTPS']) and strtolower($_SERVER['HTTPS'])=='on') or $_SERVER['SERVER_PORT']=='443')?'https://':'http://')
    .$_SERVER['SERVER_NAME']
    .(($_SERVER['SERVER_PORT']!='80' and $_SERVER['SERVER_PORT']!='443')?':'.$_SERVER['SERVER_PORT']:'')
    .$_SERVER['REQUEST_URI'];

If it works, it will be deployed in fixing patch.

Babynus
Administrator of ProjeQtOr web site
Last edit: 03 Mar 2014 23:00 by babynus.
The following user(s) said Thank You: smonnot

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.032 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.