as soon as i log-in (after the installation process) i have the following error:
ERROR : Invalid access attempt
the log shows:
2014-01-08 08:49:53 ===== TRACE ===== 'user' is not an instance of User class. May be a hacking attempt from IP 192.168.16.45
2014-01-08 08:49:53 ===== TRACE ===== IP CLient=192.168.16.45
2014-01-08 08:49:53 ***** ERROR ***** EXCEPTION *****
2014-01-08 08:49:53 ***** ERROR ***** on file '/var/www/TEST/Shared/vers/projeqtor_4.1.1/tool/projeqtor.php' at line (99)
2014-01-08 08:49:53 ***** ERROR ***** cause = Invalid access attempt
2014-01-08 08:49:53 ***** ERROR ***** => #0 /var/www/TEST/Shared/vers/projeqtor_4.1.1/view/main.php (10) -> require_once()
I have installed (installation ended successfully) projeqtor on a Centos 64 bit with php5.3 .
Doing a bit of debug.. adding echo get_class($user)."<br>"; to projeqtor.php (line 93) i have :
The most probable is that you retrived PHP session from other application.
Be sure to clean PHP session (clean cookies, remove files in PHP temp directory) and try again.
It is a problem to istall it under /somedirectory/projects/ ?
No
Issue is that you retrive $user with class __PHP_Incomplete_Class, meaning class cannot be identified.
This happens when session_start() is called before __autoload or called twice.
This is not the case, as projeqtor.php starts with spl_autoload_register, then session_start.
Moreover, application is running fine for most users. So I think you have another application running, with an asynchronous process, that initialises session before the __autoload is defined.
Just to ber sure :
what version or PHP are you running ?
What stack are you running ? (WAMP, Easy PHP, other)
Do you have other applications on same server ? Could you try with projeqtor running alone on a server ?
i know that it is very strange but i do not understand what happen. My configuration is an apache virtualhost and i use the following version of mysql/php/apache on a centos 6 64 bit server:
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
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.