GoteoFoundation / goteo-legacy

Unsupported legacy code for the Crowdfunding Open Source platform Goteo - http://goteo.org/ - Get the new version here: https://github.com/GoteoFoundation/goteo
http://www.goteo.org
Other
234 stars 197 forks source link

Missing or not working things #84

Open w0rldart opened 10 years ago

w0rldart commented 10 years ago

I keep the list updated, as I find more bugs

Goteo commented 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

Just commited those sql sentences on the /db/goteo.sql script.

w0rldart commented 10 years ago

Updating issue list:

  1. No direct link to `/admin/texts/
  2. When accessing: /admin/texts/, /admin/accounts, /admin/tasks or /admin/newsletter I get: admin-no_permission error and redirected back to /admin
  3. I tried saving the edit of /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
  4. A way to modify links to social networks, and general replaceable settings... right now, I have to go to the database, search and replace.
Goteo commented 10 years ago

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?

w0rldart commented 10 years ago

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

  1. I'm sorry, but there is no direct link to /admin/text in left panel, nor the top one.
  2. Set or not, I can't access to those menus. But a link to tasks exists on the top panel, the problem is accessing it.
  3. Ok, already updated. Thanks
  4. I do not understand your question... but I can't access the mentioned link either. I get the error mentioned earlier (permission error it seems)
Goteo commented 10 years ago

Please contact by email 'dev at goteo dot org'

w0rldart commented 10 years ago

Huh? Don't understand me wrong, but, for what?

Goteo commented 10 years ago

Because you should have the links and no lack of permissions. Those are in our test implementation.

We would like to know whats wrong.

Goteo commented 10 years ago

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.

w0rldart commented 10 years ago

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

w0rldart commented 10 years ago

Ok, I got it working.

Only two things that are still failing, are:

  1. /admin/tasks fails with: admin-no_permission
  2. /admin/newsletter fails with:

Fatal error: Class 'Goteo\Controller\Admin\Newsletter' not found in /var/www/github/Goteo/controller/admin.php on line 334

Goteo commented 10 years ago

Right, the admin and superadmin roles are exclusive.

Just commited some files for tasks and newsletters.

Thank you.

w0rldart commented 10 years ago

Fatal error: Class 'Goteo\Library\Sender' not found in /var/www/github/Goteo/controller/admin/newsletter.php on line 137

lykia commented 10 years ago

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...

w0rldart commented 10 years ago

@lykia I have none of the problems you mentioned, and paypal, is implemented

Goteo commented 10 years ago

Sender library commited

@lykia Be sure you run the sql scripts (/db/ folder). Paypal is implemented on controller/invest and library/paypal.

lykia commented 10 years ago

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?

w0rldart commented 10 years ago

@Goteo

Fatal error: Call to undefined method stdClass::setDays() in ....model/project.php on line 439

w0rldart commented 10 years ago

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

dominick01234 commented 10 years ago

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.

...

Does anyone know where ' value="tpv" ' is being processed? Thx Thanks, Wes