Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Instal issues
 
Notifications
Clear all

Instal issues

2 Posts
2 Users
0 Reactions
3,817 Views
(@smonnot)
Posts: 1
New Member
Topic starter
 
[#1661]

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.


 
Posted : 04 Mar 2014 0H30
(@babynus)
Posts: 14952
Member Admin
 

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.


 
Posted : 04 Mar 2014 0H57
Share:

Scroll to Top