Hello,
I have an instance of projector installed and used, I want to migrate to a new server with new IP adress.
I copy the directory projector and the database, I install them in the new server.
I launch the URL all is ok.
when filling in the login and the password, i have this message
ERROR : An exception occured on 2011-02-08 at 15:47:54
I open the log file and i have this message
2011-02-08 15:47:54 ===== TRACE ===== NEW CONNECTED USER 'admin'
2011-02-08 15:47:54 ===== TRACE ===== 'user' is not an instance of User class. May be a hacking attempt from IP 172.16.4.209
2011-02-08 15:47:54 ===== TRACE ===== IP CLient=172.16.4.209
2011-02-08 15:47:54 ===== TRACE ===== $_REQUEST[PHPSESSID]=84cmnf8d3fnnd1kdeeb4j4lu94
2011-02-08 15:47:54 ** ERROR ** EXCEPTION **
2011-02-08 15:47:54 ** ERROR ** on file 'D:wwwteamboxtoolprojector.php' at line (91)
2011-02-08 15:47:54 ** ERROR ** cause = Invalid access attempt
2011-02-08 15:47:54 ** ERROR ***** => #0 D:wwwteamboxviewmain.php (10) -> require_once()
I decide to re-install projector using a new package, all the installation is ok but i continue having the same message.
Thank you for your help
The trace is:
2011-02-08 16:13:24 ** ERROR ** ERROR **
2011-02-08 16:13:24 ** ERROR ** on file 'D:wwwprojectormodelpersistenceSqlElement.php' at line (937)
2011-02-08 16:13:24 ** ERROR ** cause = Trying to get property of non-object
2011-02-08 16:13:36 ..... SCRIPT .... 172.16.4.209/view/main.php
2011-02-08 16:13:36 ..... SCRIPT .... 172.16.4.209 ->/view/login.php
2011-02-08 16:13:40 ..... SCRIPT .... 172.16.4.209/tool/saveDataToSession.php
2011-02-08 16:13:40 ..... SCRIPT .... 172.16.4.209/tool/saveDataToSession.php
2011-02-08 16:13:40 ..... SCRIPT .... 172.16.4.209/tool/saveDataToSession.php
2011-02-08 16:13:49 ..... SCRIPT .... 172.16.4.209/tool/loginCheck.php
2011-02-08 16:13:49 ** ERROR ** ERROR **
2011-02-08 16:13:49 ** ERROR ** on file 'D:wwwteamboxmodelpersistenceSqlElement.php' at line (937)
2011-02-08 16:13:49 ** ERROR ** cause = Trying to get property of non-object
Hi,
I guess you are using V1.4.2, because such issue gives a specific message in V1.5.x.
The issue is due to your php configuration : you must disable register_globals (it's very unsecure to let it on...)
You have 2 methods possible for this :
1) Modify your php.ini :
register_globals=off
2) Add a .htaccess in the root directory of the application, with the line :
php_flag register_globals off
This should correct your issue.
It is ok.
Thank you.