Displaying 20 results from an estimated 7000 matches similar to: "Print out session dump?"
2006 Jun 16
12
FastCGI times out?
Hello there,
So I''m still struggling with this fastcgi stuff. I''m trying to upload and
process a decent sized ZIP file, but the request dies before it finishes and
I get the following error:
FastCGI: comm with (dynamic) server
"/Users/ryan/Workspace/rails/photos/public/dispatch.fcgi" aborted: (first
read) idle timeout (30 sec), referer: http://photos/album/new/4
2005 Dec 21
2
what is print_r in rails
hey,
i know u have in php print_r or echo, so that the browser print the variable on
top of page, no matter what
what is this in rails?? put doesnt seem to work
Thanks
Nick
2007 Jul 17
1
Prototype: 2 questions (elements' attributes, dumping methods)
hello again)
1) i just wanted to know is it possible to get element''s attributes in
hash or array?
for example something like this:
<span style="color:red;" id="myEl" onclick="alert(1)">
..
$(''myEl'').attibutes().length // == 3
2) is there any analogues of php functions var_dump() and print_r()
for Objects/Hashes and Arrays?
thank
2006 Jun 12
1
debugging
Hello-
If I am in the middle of a method in an ActiveRecord object or a
controller how can I just print something out to the screen and either
keep going or exit immediately?
If I am in a controller I can just generate some text and:
render :text => "my debug output"
But it would be nice to print something out to the output buffer and
then continue on. Additionally, if I am inside
2006 Jun 02
3
Configs not loading
Hi,
So in the past I''ve developed using Apache 2.0 MacOSX. I''ve just started a
new project and decided to switch over to LightTPD just to try it out. This
development is purely a learning endevor for me, so I welcome the idea of
stepping into new territory. As a result, I''m not sure if this is a
lighttpd problem or a Rails one. So pardon me if this is off topic to
2006 Jul 05
8
loginGenerator - getting logged in username
i am working on a site taht uses loginGenerator..
it''s a great little package, but i am running into one little problem..
i would like to have something that says:
"logged in as <username>" in the site, but i am not quite getting it..
what i am using is:
<p>You are logged in as: <%= @session[:user] %>
but i have tried:
<p>You are logged in as:
2006 Jun 15
2
FastCGI can''t find rubygems?
Hi all,
I''m trying to use Apache 2.0.52 and FastCGI on Mac OS 10.4.6 and I''m having
some trouble. The server starts up fine, but I get the error at the bottom
of this post once I make a request to the rails app. I was curious if
anyone had an idea as to why it wasn''t working. I have everything installed
correctly (rubygems, fastcgi, ruby bindings, etc). I had this
2011 Oct 28
0
libvirt-php - API libvirt_domain_suspend() problem, doesn't work
Hi Guys,
I was trying to suspend a virtual machine but fail not sure why.... However
i was successfully list all the vm on the host, below are my source code,
can any one who have experience in this area give me some advised ?
*My OUTPUT from browser*
Array
(
[libvirt.release] => 3
[libvirt.minor] => 9
[libvirt.major] => 0
[connector.version] => 0.4.3
2014 Mar 24
0
metadata 2
you could set up a php yp-server and add a line in the icecast config
$email = "you at somewhere";
if($_REQUEST['action'] == "remove"){
header("YPResponse: 1");
header("YPMessage: Deleted server info.");
mail($email,'YP debug: remove stream',print_r($_REQUEST,true));
}
if($_REQUEST['action'] ==
2014 Mar 23
6
metadata 2
Hoi folks,
I don't like to post in newsletter because of several reason but sometimes it
isn't evitable.
I am setting up a internet-radio-show (exclusively live, including 2 video-streams)
and I want to read out the audio-metadata of momentarily played tracks in realtime
to compare it against a SQL-database.
The aim is to fill up and/or update a table with 'most played'
2006 Jun 11
4
remote_function posting?
Hi, I''ve noticed that my remote_function calls are resulting in POST
requests. As a result, my routes do not apply since it does not generate a
url based on the parameters, but simply posts to the raw url with post data.
I want to make a GET request instead of a POST. How can I do that? Has
anyone else run into this?
Thanks, Ryan
--
View this message in context:
2008 Apr 12
2
Master user and missing folders
Hello again.
I am trying to use a master user. The login works. However, a LIST
command gives me only the INBOX. Is this to be expected? When logging in
normally, I do get the full list of folders.
(using Dovecot 1.1 rc3.)
Anders.
2003 Sep 19
7
AGI problem
Hi.
I have the next configuration... I dial from my analog phone in the
TDM400P to extension 102, and the second agi works about 1 out of 10
times, the other nine it gives me these error on the asterisk console:
-- Starting simple switch on 'Zap/2-1'
-- Executing Macro("Zap/2-1", "receivecall") in new stack
-- Executing AGI("Zap/2-1",
2006 Jun 09
3
routes & methods in controllers
still a newbie in rails so bear with me on this one
new test app.... rails test
generate controller main
i add a layout view for main/index & its working ok
i set the routes as follows
map.connect '''', :controller => "Main"
the above is the only route thats active
in the MainController i add in a new method "about"
with a simple render_text
2006 Jun 02
1
Updating html breaks my interface
I have two select menus on a line. The first updates the second:
library: library_select album: album_select
So when you pick a library, the album_select is automatically updated to
show the relevant choices. This is done using ajax. While the ajax request
is loading, I switch the album_select with a loading_select, which is a
disabled select menu with only one choice:
2006 May 31
0
web services datat types
Ok, this is the model (just two structs)
class CLL_Answer < ActionWebService::Struct
member :server_status, :bool
member :answerDescription, :string
member :answer, :string
member :metadata, CLL_Metadata
end
class CLL_Metadata < ActionWebService::Struct
member :key, :string
member :type, :string
member :value,
2006 Feb 09
0
Problem with web services
Hi all:
First of all i apologize for my poor english, if don''t understand something
please tell me, and i will try to explain again.
Hi have a litlle problem with web services. I explain, i a have a web
service in php that return a structure seems to this:
Array
(
[url] =>
[crm] => Array
(
[0] => Array
(
[surname]
2009 Mar 01
1
php agi and get_data errors.
Hallo,
I'm using a self-made script to get the code a user enters on my applications.
Sadly, the code doesn't work, i push the digits, but the result is
always an empty data.
(code=200, result=1, data= '').
Here is the code:
set_time_limit(99999999999999);
require('phpagi.php');
$agi = new AGI();
$agi->answer();
function printdebug($a) {
global $agi;
2004 Aug 06
0
Parsing the icecast stats log
Hello All,
I wrote a PHP function to parse the icecast stats log and return as much information in a structured array as possible (well, as much as I care about, anyway). Because the stats log is not easily machine-parseable, I thought this might be useful to somebody. The log is parsed using Perl-compatible regexps, so it should easily port.
I have only my own setup to test this on, so
2005 Feb 28
0
phpSerialize 0.8
New on CRAN: phpSerialize Version 0.8
Dieter Menne, dieter.menne at menne-biomed.de
Serializes R objects for PHP import into an associative array.
Main use is for building web pages with R-support.
Has mainly been tested with lm,lme, nlme and their summaries.
A web example is provide, showing
-- How to start R from php/Apache
-- How to pass variables from php to R via Environment
-- How to