Open w0rldart opened 10 years ago
Thanks a lot!
Lets see point by point.
In user_role
table, delete the 'admin' role for 'root' user.
DELETE FROM user_role WHERE user_id = 'root' AND role_id = 'admin'
Then relogin with the root user. You will be able to edit texts at /admin/texts (translate at /translate/texts) and the about page information at /admin/pages/edit/about (translate at /translate/pages/edit/about)
To make the root user able to translate all langs run INSERT INTO user_translang (user, lang) VALUES SELECT CONCAT('root') as user, id as lang FROM lang
admin
role, chek it after that DELETE.admin
role.Just commited those sql sentences on the /db/goteo.sql script.
Updating issue list:
/admin/texts/
, /admin/accounts
, /admin/tasks
or /admin/newsletter
I get: admin-no_permission
error and redirected back to /admin
/contact
page and I ended up with this error:
Fatal error: Class 'Goteo\Controller\Admin\Text' not found in .../controller/admin/pages.php on line 89
In user_role table, delete the 'admin' role for 'root' user. DELETE FROM user_role WHERE user_id = 'root' AND role_id = 'admin'
1) Did you? If so, you have a direct link to /admin/texts
on the left side menu items.
2) Certainly 'tasks' is missing in the setMenu method in /controller/admin.php (now commiting), but the permision items for 'texts', 'accounts' and 'newsletter' seem to be setted.
3) Right... the use line for \Goteo\Library\Text
is missing in /controller/admin/pages.php (now commiting).
4) need more detail about this. It seems you dont regard to 'links to social networks' at /admin/texts?group=social
, do you?
Yes, I have executed the query, and the only rows remaining in the database are those containing the following role_id
: checker, root, superadmin, translator, user for root user
/admin/text
in left panel, nor the top one.Please contact by email 'dev at goteo dot org'
Huh? Don't understand me wrong, but, for what?
Because you should have the links and no lack of permissions. Those are in our test implementation.
We would like to know whats wrong.
Jus commited a line on view/admin/index.html.php
with the link.
But still dont get why you dont have the link. The root user, with superadmin role, should have a large menu on the left.
I have the large menu on the left, but my problem is that I can't access links like /admin/texts
, /admin/tasks
, /admin/newsletter
, /admin/accounts
that are on top menu
Ok, I got it working.
user_role
table, does not contain admin
role_id
for user root
. I have played a little bit with this, and if you have admin
role, things go crazy. At first, I thought it was the user
role, but no, it's the admin
one.Only two things that are still failing, are:
/admin/tasks
fails with: admin-no_permission
/admin/newsletter
fails with:Fatal error: Class 'Goteo\Controller\Admin\Newsletter' not found in /var/www/github/Goteo/controller/admin.php on line 334
Right, the admin and superadmin roles are exclusive.
Just commited some files for tasks and newsletters.
Thank you.
Fatal error: Class 'Goteo\Library\Sender' not found in /var/www/github/Goteo/controller/admin/newsletter.php on line 137
Ehy Guys, I'm getting discover page blank and create project with no content, no button to create project... I see a post from @Goteo which (maybe I dreamed?) they say Paypal was committed... but.. I cannot find it...
@lykia I have none of the problems you mentioned, and paypal, is implemented
Sender library commited
@lykia Be sure you run the sql scripts (/db/ folder). Paypal is implemented on controller/invest and library/paypal.
Thank you guys (for any convenience I'm on Centos6 server, with php 5.5.9). @w0rldart for discover see issue #93 still get create new project void content (not blank page...)
@Goteo many thank!! I confirm that I run the scripts before post the question. Thank you for Paypal! :)
I let you know about my issues...
@w0rldart could you please confirm that your fork have all latest commit?
@Goteo
getActive()
https://github.com/Goteo/Goteo/blob/master/model/project.php#L2030 returns nothing, regardless the amount of project with status = 3 I have.model/project:getMedium($id);
Fatal error: Call to undefined method stdClass::setDays() in ....model/project.php on line 439
Can you please, at least, explain me how to figure out some permission issues?
Trying to access admin/invests/details/28
with no success. I get admin-no_permission
Does anyone know how to setup up the credit card payment? I receive the following error "There has been a fatal error when checking out. The incidence has been notified, sorry for the inconvenience."
Do I need to setup a config for this? I can't seem to see where the PHP code is sending action this to process a payment.
I keep the list updated, as I find more bugs