Comments (9)
Hi Nick,
It looks like your $_baseURL
should actually be set to 'http://suma.library.cornell.edu/sumaserver/query'
. Let me know if that helps.
By the way, we made some changes to the database schema this fall, so you should see if you made it under the wire. One quick way to check would be to look for an activity_group
table. If you are missing that, let's talk offline about updating your database.
from suma.
Thanks Jason...that did the trick. Maybe it's just me, but it wasn't clear that I needed the /sumaserver/query from the install documentation:
https://github.com/cazzerson/Suma/blob/master/INSTALL.md#suma-analysis-tools-configuration
I actually dropped all tables in our DB and started fresh so we're good to go there. Thanks for your help.
from suma.
Great, and thanks for catching that issue in the docs. I just pushed a change that will hopefully clear things up for future users.
from suma.
Much clearer...I think even I could get it right the first time :)
Thanks!
from suma.
Sorry for piggybacking on a closed issue, but I'm running into the same issue and it's not getting resolved even after following all the steps above. I downloaded Suma earlier this week, so I think I'm working in the latest version. I've edited the /analysis/lib/php/ServerIO.php file to include our URL path to the query server, but am running into the same 404 error when trying to open one of the reports:
exception 'Guzzle\Http\Exception\ClientErrorResponseException' with message 'Client error response [status code] 404 [reason phrase] Not Found [url] sumaserver/query/initiatives [request] GET /sumaserver/query/initiatives HTTP/1.1 Host:blah User-Agent: Guzzle/2.8.3 curl/7.22.0 PHP/5.3.10-1ubuntu3.7 openssl/OpenSSL/1.0.1 [response] HTTP/1.1 404 Not Found Date: Thu, 29 Aug 2013 19:40:17 GMT Server: Apache/2.2.14 (Ubuntu) Vary: Accept-Encoding Content-Encoding: gzip Content-Length: 252 Content-Type: text/html; charset=iso-8859-1
Out of curiosity, I went to sumaserver/query/initatives and have the following Zend controller exceptions and stack traces:
exception 'Zend_Controller_Action_Exception' with message 'Action "initatives" does not exist and was not trapped in __call()' in /var/www/app/sumaserver/service/lib/zend/library/Zend/Controller/Action.php:485
Stack trace:
#0 /var/www/app/sumaserver/service/lib/zend/library/Zend/Controller/Action.php(518): Zend_Controller_Action->__call('initativesActio...', Array)
#1 /var/www/app/sumaserver/service/lib/zend/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('initativesActio...')
#2 /var/www/app/sumaserver/service/lib/zend/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#3 /var/www/sumaserver/index.php(60): Zend_Controller_Front->dispatch()
#4 {main}->getMessage()
exception 'Zend_Controller_Action_Exception' with message 'Action "initatives" does not exist and was not trapped in __call()' in /var/www/app/sumaserver/service/lib/zend/library/Zend/Controller/Action.php:485
Stack trace:
#0 /var/www/app/sumaserver/service/lib/zend/library/Zend/Controller/Action.php(518): Zend_Controller_Action->__call('initativesActio...', Array)
#1 /var/www/app/sumaserver/service/lib/zend/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('initativesActio...')
#2 /var/www/app/sumaserver/service/lib/zend/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#3 /var/www/sumaserver/index.php(60): Zend_Controller_Front->dispatch()
#4 {main}->getTraceAsString()
I must be missing something, right?
from suma.
Hi Becky,
We actually changed the way Suma is configured with the 1.0 release, which you can read about in the four sections that start with this one in updated install docs. Basically, we've (finally!) moved all configuration into configuration files. Still, I'm not sure that this is what is causing the problem. Could you tell me what URL you specified in the file?
By the way, we did push a bug fix a few days ago, so I would recommend that you update to Suma 1.1.1 when you get a chance.
from suma.
That was the day after I cloned the repo. :-P Oh well. FWIW, I did follow the documentation posted beforehand, so I was trying to see if there was anything in the issues list that I may have missed. I did use the URL listed above.
I've updated the instance, and I've managed to break even more things. When I try to access the admin page, this is the error I get:
Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (error)' in /var/www/app/sumaserver/service/lib/zend/library/Zend/Controller/Dispatcher/Standard.php:248 Stack trace: #0 /var/www/app/sumaserver/service/lib/zend/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 /var/www/sumaserver/index.php(60): Zend_Controller_Front->dispatch() #2 {main} Next exception 'Zend_Controller_Exception' with message 'Invalid controller specified (error)#0 /var/www/app/sumaserver/service/lib/zend/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 /var/www/sumaserver/index.php(60): Zend_Controller_Front->dispatch() #2 {main}' in /var/www/app/sumaserver/service/lib/zend/library/Zend/Controller/Plugin/Broker.php:336 Stack trace: #0 /var/www/app/sumaserver/se in /var/www/app/sumaserver/service/lib/zend/library/Zend/Controller/Plugin/Broker.php on line 336
suma/web/ works, but the connection to the db seems to have been lost since I am unable to retrieve past initiatives - I'm using the same db that I used before, and the config file has the correct login information.
from suma.
Never mind the 'more brokeness' report above. I got the admin portion to work, as well as the web client to recognize the db. However, the reports are still broken in the latest version, with the same error messages.
from suma.
Would you mind sharing your analysis/config/config.yaml file and also
confirming that ServerIO.php is back to the same version as the repository?
On Aug 29, 2013 6:08 PM, "Becky Yoose" [email protected] wrote:
Never mind the 'more brokeness' report above. I got the admin portion to
work, as well as the web client to recognize the db. However, the reports
are still broken in the latest version, with the same error messages.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-23527385
.
from suma.
Related Issues (20)
- Update client linting tooling and config HOT 1
- Show date/time all the time HOT 1
- Add tooltips to options in client settings.
- Change "X" to "<" on client settings menu HOT 1
- Fully justify settings options in client HOT 4
- Left justify initiatives list HOT 6
- Update developer documentation
- Add parent location to top of location tree HOT 1
- Make initiative title more visible in the client HOT 1
- No initiative should be selected by default HOT 2
- Changing initiatives should end active session HOT 1
- Remove "require all locations" option
- Create changelog in project root
- Suma Server Keeps Logging Admin User Out HOT 2
- LCA Transformer on PHP 7.4 HOT 6
- count bug related to default initiative
- Duplicate submissions allowed HOT 1
- Logging into Admin HOT 1
- Containerization of Application HOT 1
- Updated Install Documentation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suma.