Open huxandy opened 7 years ago
I had that problem, but when I upgraded to the 1.1.3. You didn't touch anything?
Nope, I didn't touch anything. I've Headphone running as well on this server, but it hasn't damaged by Sonerezh. I had this issue directly with 1.1.3 as well. I installed it directly (I mean, I didn't have to upgrade)...
Have you tried simply entering http://yoursonerezhdomain.example/install
in your browser?
Yep. whatever I'm typing, it always rewrite to /install
Weird... I did had this problem but fixed it by reinstalling Sonerezh from scratch. It included a restart of all the web services (web server, php-fpm and mysql). I think that's what did the trick actually...
Can you try reinstalling everything and do a restart (not reload) of all your web services before going to /install?
Yeah, that is what I'm going to do anyway... But guess what, I tried on another browser and I've got a different error log (even if I had remove the firefox's cache : On Chrome, i have :
Notice (8): Undefined index: id [APP/Model/User.php, line 152]
Code Context
User::isThereAnAdmin() - APP/Model/User.php, line 152
CakeValidationRule::process() - CORE/Cake/Model/Validator/CakeValidationRule.php, line 275
CakeValidationSet::validate() - CORE/Cake/Model/Validator/CakeValidationSet.php, line 135
ModelValidator::errors() - CORE/Cake/Model/ModelValidator.php, line 268
ModelValidator::validates() - CORE/Cake/Model/ModelValidator.php, line 99
Model::validates() - CORE/Cake/Model/Model.php, line 3469
Model::_doSave() - CORE/Cake/Model/Model.php, line 1829
Model::save() - CORE/Cake/Model/Model.php, line 1751
InstallersController::index() - APP/Controller/InstallersController.php, line 227
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 108
Just to be sure, did you delete the database before install the 1.1.3?
Yes I did it. I even reinstall everything on a brandnew virtual machine... Weird, indeed... :-S
Apparently, the error is coming from : sonerezh/app/Model/User.php
I've a message on chrome, that the error is coming from this line :
public function isThereAnAdmin() {
if (AuthComponent::user('id') == $this->data[$this->alias]['id'] && isset($this->data[$this->alias]['role']))
Hey! Surprisingly, I had exactly the same issue today and I had to browse the install link in a private window to get it working...
Maybe it's still trying to use the old cookies! Nice catch!
That's possible. I had cleared the cache, but not the cookies.
Hi I ran into the exact same issue. On raspberry Pi 3, headless Rasbian Jessie lite, Nginx 1.62 and php7... I Tryed reinstall on an older RPI2 with the same results, tryed frome deferent browsers (crhome, explorer, edge)... I added the debug line to the nginx server block but cant figure it out. Any ideas?
Thank you all for your replies Avi
Anyone got any on this? Fresh install, during installation - black holed, doing a refresh ends up back in the installation form.
Cleared Cache, Cookies, tried Private Session, all modules needed enabled. Ubuntu 16.04.3 Php 5.6 (Because pfft, 7.0 is horrible with anything) Apache2 Virtual host created properly (Because the installation form does show) MySQL running remotely, but is accessible by ip and user (Tested separately)
Hey ! I've got this issue on Sonerezh :
then :
Error: The requested address '/install' was not found on this server."
(when I tried to reinstall it)My server was working yesterday perfectly. Really :-) Everything is working fine : rewrite module is ok, my virtualhost was working perfectly I tried to reinstall everything but my problem remains. Is anyone having the same issue ? Thx for your answers ;-) ++ Andy