jmueller17 / Aixada

Aixada helps self-managed consumption cooperatives to organize their flow of products, money, and information.
Other
33 stars 37 forks source link

Error manage my settings, new installation #225

Closed dmanubens-zz closed 6 years ago

dmanubens-zz commented 6 years ago

Hello,

After a new installation of aixada (master branch) the front end fails when logging in as admin, in the settings page. Attached screenshot. Do you know what could be happening?

Cheers screenshot from 2018-04-27 20-27-31

dmanubens-zz commented 6 years ago

Maybe it is related, but I cannot change theme or language, see screenshot: screenshot from 2018-04-27 20-33-45

situplastik commented 6 years ago

Looking the first screenshot, it looks like that some AJAX petition is failing (If the error 500 was during the render process, the error would show the typical Error 500 page, I think). When this page is loading, there is 4 AJAX petition (at least in my version):

All 4 works good for you? You can check it in Firefox opening the "inspector", on the tab "Network" and filtering by "XHR" :) Connecting the 2 screenshots, the 2 last petitions that I said are related to Languages and Themes... suspicious... ^^

In any case, can you provide the PHP / MySQL / etc version ?

jorix commented 6 years ago

@dmanubens: ¿Usas PHP-7? Prueba con este cambio 0e4683103dc724d50b5b679e4cb1deb390eba9c7 , pero ten en cuenta que nadie de Aixada (que yo sepa) se ha puesto en producción en ese territorio hostil ;-)

NOTA: Los síntomas que cuenta te comenta @situplastik son típicos de PHP7. Si no es eso dilo y seguiré mirando.

dmanubens-zz commented 6 years ago

You're right @situplastik, 3 of the 4 AJAX petition fail, Languages, Themes and user_role. See screenshot: Indeed, I use MySQL 5.7.22-0ubuntu0.16.04.1 and PHP Version 7.0.28-0ubuntu0.16.04.1. Sorry @jorix , I did not read the wiki warning about PHP-7 not being supported. I will try downgrading to PHP-5. However, I am keen to test patches for PHP-7 if it can help. I'll try 0e4683103dc724d50b5b679e4cb1deb390eba9c7 and let you know. screenshot from 2018-04-28 11-01-49

dmanubens-zz commented 6 years ago

Hola @jorix el cambio que propenes evita los errores que he mencionado. Segun lo que dices en el commit, la impresion en PDF no va a funcionar y quizas algunas cosas más. He seguido los primeros pasos: https://github.com/jmueller17/Aixada/wiki/Primeros-pasos-administrador---creador-de-pedidos y he podido crear UFs, usuarios y proveedores, pero no productos (ni imp.rev, iva, unidades). Recomiendas que me pase a PHP 5?

jorix commented 6 years ago

Si

El ds., 28 abr. 2018 12.14, Domingo Manubens Gil notifications@github.com va escriure:

Hola @jorix https://github.com/jorix el cambio que propenes evita los errores que he mencionado. Segun lo que dices en el commit, la impresion en PDF no va a funcionar y quizas algunas cosas más. He seguido los primeros pasos: https://github.com/jmueller17/Aixada/wiki/Primeros-pasos-administrador---creador-de-pedidos y he podido crear UFs, usuarios y proveedores, pero no productos (ni imp.rev, iva, unidades). Recomiendas que me pase a PHP 5?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jmueller17/Aixada/issues/225#issuecomment-385162719, or mute the thread https://github.com/notifications/unsubscribe-auth/ABDGDqzIggnsSTQ4RQTq-ufoKy0FVBJFks5ttED0gaJpZM4Tq0xr .

dmanubens-zz commented 6 years ago

Ok with PHP-5.6 it works! thank you!