Saiku-Clicking on New query not displaying anything - failed-installation

I downloaded saiku (Saiku Server 2.4 (Including Foodmart DB)) from the following link -http://analytical-labs.com/downloads.php.
Following the installation notes, I have downloaded latest Apache software, JDK. As per instructions if I now go to localhost 8080 I see log on page. Upon logging with username and password as admin and admin I am into the Saiku main page.
When I click on 'New Query' button nothing is happening. I am not able to see any Foodmart Databse or Dimensions or anything.
Can someone help me where I have gone wrong?

I have got it working. Problem was after running start-saiku.bat file, the command prompt file was still running with 'Press enter to continue..'. Upon clicking this, the cmd prompt ended and now am able to browse through Saiku from localhost.

Related

Django admin page login causing IIS to crash, need to restart iis everytime

My site is working fine. I can access all the pages. But when I am accessing admin page, it loads, prompts for username and password. After entering username and password when clicked login, it takes sometimes and after that I get below error:
This page isn’t working mytestapp.company.com didn’t send any data.
ERR_EMPTY_RESPONSE
After refreshing the page, I get below error:
Service Unavailable HTTP Error 503. The service is unavailable.
After this no page loads. After restarting IIS using cmd (iisreset /noforce) again when I try to refresh the homepage, I see I am logged in which means admin page logged me in but after that response did not come and it something went wrong on the server side which caused server to crash.
I am not sure how to proceed with this. Earlier my admin site use to work fine. No recent changes in code. The only change I did is I synced the DB from another DB which has more data.
I am using virtual env which has
python version is 2.7.3, Django version 1.3 in it
IIS version 7.5 on WindowsServer 2008R2 (Python IsAPIe handler)
Please help me on this. I am stuck with this issue...
Issue is resolved now. IIS service was getting stopped because of a series of error caused while rendering admin page. After checking windows event log and understanding error code, got to know that the Python-Runtime.dll which admin page was referring was having some issue. I replaced the dll with the previous working version and then everything started working fine.

Unable to preview in content editor - Sitecore

I have added 2 pages in the content tree - index & Home Page. It was working fine until yesterday. Unable to preview 'index' in the Content editor (CE) now.
The error message is -
The requested document was not found
However, when I do Tools > Browse > Preview, from Sitecore Rocks, it opens fine. Also, I am able to preview 'Home Page' in CE without issue.
Following Mike's Solution Here, I tried to add the user 'Everyone' and removing 'extranet/Anonymous'. But the changes never Save.
Why does it happen to this page alone. No changes made to web.config and I am using only master DB.
UPDATE:
Here is what I have observed.
When 'index' is placed outside the 'en' folder, it can be previewed. Someone suggested that Sitecore is confused by the folder name with its languages. But renaming it to Test-en, also did not work.
I also tried this. Created 'index' outside 'en' folder. Then created a copy of the same inside the 'en' with the name 'index1'. I can preview index1 now, but if 'index' is deleted, it's the same issue again.
I have seen this happen a few times. On a new instance, I don't believe it is permissions, especially if you are using SIM to install (if you aren't - try it!)
Follow these steps and it should fix your issue. Make sure all instances of your browser are closed. They are known to keep hidden instances running. Stop all those tasks. Restart your IIS instance. Log Into your sitecore site with the magical password. Preview the page. You should be able to preview and in fact get the Experience Editor.
I do agree that Sitecore is confused as to the state of that it is logged in as, that is why it is important to close all browser instances.
If you still get this error, clear your logs. Do the above steps and send me your logs. I will look at them for any oddities.
Happy Sitecoring!

unable to run in server

I have downloaded code from code project site (http://www.codeproject.com/Articles/511031/A-sample-real-time-web-application-using-Ember-js?msg=4693404#xx4693404xx) it is running fine when i run in local but once i keep in server and browse with url it is not opening.
http://drjeppesen.dyndns.org/onlineorder/ser/Ember.n.SignalR/
Displaying empty screen. Can anyone help to find the way how can i run this?
If you see the browser console, your server is requesting the javascripts and css's in the wrong path. For example, a request is made for http://drjeppesen.dyndns.org/onlineorder/Scripts/u.js, but the correct path is http://drjeppesen.dyndns.org/onlineorder/ser/Ember.n.SignalR/Scripts/u.js

Cannot login to Django admin

My admin login in development stopped working suddenly. It used to be working fine for almost a year. I am able to see the login page and type the superuser credentials. When I click on the login button, nothing happens. The admin log also does not show anything. I have tried changing the port number and ran the server.
I even created a new project and new database and tried running the simple admin page, no luck. I tried running the admin for other projects in development, still nothing happens on clicking the login button.
My settings does have:
AUTHENTICATION_BACKENDS = (
('django.contrib.auth.backends.ModelBackend'),
)
Another thing that I noticed was I do not get a new row in the django_session table even after I login with the correct superuser credentials
I suggest you to clear your localhost cookies and try with another browser.
I've issues with chrome v28 that I don't have in firefox v22.
Let me know if it helps.
Regards.
-- EDIT --
Try to put this line in your settings.py. It solved for me.
SESSION_COOKIE_DOMAIN = None
Opening the application in chrome's incognito mode resolved this issue for me.

I could not launch Php files using Aptana Studio 3

I recently downloaded the Aptana Studio 3 and installed it on my computer..I also configure the webserver in aptana by navigating in window > preferences > webservers, and then i click new button i choose "external web server". then filled all fields ,
Name:WampSerever
Base URL://localhost
C:\wamp\www
Start Command: NET START wampapache
stop Command: NET STOP wampapache
After that, when i am going to test my php by clicking the green button above in the Aptana Studio select "Run firefox-Internal Server"...the firefox open but it displays blank page...
This is what is displayed in the URL
http://127.0.0.1:8020/TestAptana/Hello.php
If your code is correct then try this. I use XAMMP as my server so I'm not sure if this will work with WAMMP.
Go to run configurations select Web Browser then choose which browser you want to use. Then in the main tab under Server find "Use base URL" and click on it. Enter http://localhost/ and make sure that you check the "Append project name".
Make sure that your index page's name is index.html or index.php if you are using php and try running it.
I have this problem too, but one additional thing you need to is to set the path for PHP.exe.
Do this by going to Preferences/Aptana Studio/Editors/PHP/PHP Interpreter. Add and fill in blanks (browse) to php.exe.