Hi!
I have one installation of status.net 0.9.2 and almost everything is working except the autodecreasing char counter of the micropost. So, following your guide I will provide you with some info (if more is needed just ask for it):
1. Hosting environment: It's a VPS at Inmotionhosting. I have full access to the machine container (I'm the admin).
2. uname -a: Linux ****.inmotionhosting.com 2.6.18-028stab069.5
#1 SMP Tue May 18 17:26:16 MSD 2010 x86_64 x86_64 x86_64 GNU/Linux
3. cat /etc/redhat-release: CentOS release 5.4 (Final)
4. php -v: PHP 5.2.11 (cli) (built: Oct 27 2009 17:32:25)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with the ionCube PHP Loader v3.3.14, Copyright (c) 2002-2010, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
5. php -m: [PHP Modules]
apc
bcmath
bz2
calendar
ctype
curl
date
dbase
dom
exif
filter
ftp
gd
gettext
hash
homeloader
iconv
imap
ionCube Loader
json
libxml
mbstring
mcrypt
memcache
mhash
mime_magic
mysql
mysqli
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
posix
pspell
Reflection
session
SimpleXML
soap
sockets
SPL
SQLite
standard
tidy
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend Optimizer
zip
zlib
[Zend Modules]
Zend Extension Manager
Zend Optimizer
the ionCube PHP Loader
Maybe it's a missing module, but I can't guess it.
Thanks!
Manuel
Comments
It's going to be a little difficult (it's in a private intranet). But doing some research I've also discovered:
1. I need to push "send" button to post. Enter simply adds a line.
2. When I push "send" I see de post and the avatar really big. I need to click on "Personal" to see again the general timeline.
3. Javascript is enabled. I've tested the site from several browsers and OS.
Hope you find this info useful.
Thanks!
Manuel
I've managed to build a test site on the same server (its config is the one I've posted before, the two sites are on the same server) with public access so, if you want, you can take a look. The site is on statustest.persei.com.es and there you can see that, whops, we have an error I didn't notice on the prod site (and maybe its related):
Warning: sprintf() [function.sprintf]: Argument number must be greater than zero in /var/www/statustest.persei.com.es/lib/action.php
Many thanks and best regards,
Manuel
can you provide some information about your version of php? and which operating system you are running?
I really appreciate your effort: big thanks! To reach the site the URL is "http://statustest.persei.com.es/". About php version and distro info you have it on the first post.
Regards,
Manuel
http://statustest.persei.com.es/js/util.js nope thats fine..
lets see if the logs are saying anything.
$config['site']['logfile'] = '/tmp/statusnettmp.log';
firebug is complaining about cookies tese steps below one at a time while looking at the logs, logging in and out and posting.
turn on session debugging
$config['session']['debug'] = true;
change how sessions are handled.
$config['sessions']['handle'] = true;
2010-06-21 19:28:33 LOG_ERR: [statustest.persei.com.es:11413.8269aa49 GET //js/jquery.cookie.js?version=0.9.2] Problem getting route for 406.shtml - A path was found but is invalid.
2010-06-21 19:28:36 LOG_ERR: [statustest.persei.com.es:11413.b8065c47 GET //js/jquery.cookie.js?version=0.9.2] Problem getting route for 406.shtml - A path was found but is invalid.
2010-06-21 19:28:44 LOG_ERR: [statustest.persei.com.es:11420.75c0fff1 GET //js/jquery.cookie.js?version=0.9.2] Problem getting route for 406.shtml - A path was found but is invalid.
2010-06-21 19:28:52 LOG_INFO: [statustest.persei.com.es:11431.f7893f57 POST ///notice/new] No PuSH subscribers for http://statustest.persei.com.es///api/statuses/user_timeline/2.atom
2010-06-21 19:28:53 LOG_ERR: [statustest.persei.com.es:11431.4a21a398 GET //js/jquery.cookie.js?version=0.9.2] Problem getting route for 406.shtml - A path was found but is invalid.
2010-06-21 19:28:56 LOG_ERR: [statustest.persei.com.es:11431.332647c0 GET //js/jquery.cookie.js?version=0.9.2] Problem getting route for 406.shtml - A path was found but is invalid.
2010-06-21 19:30:36 LOG_INFO: [statustest.persei.com.es:20100.32bc607a POST ///notice/new] No PuSH subscribers for http://statustest.persei.com.es///api/statuses/user_timeline/2.atom
2010-06-21 19:30:38 LOG_ERR: [statustest.persei.com.es:20100.c358156f GET //js/jquery.cookie.js?version=0.9.2] Problem getting route for 406.shtml - A path was found but is invalid.
2010-06-21 19:30:41 LOG_ERR: [statustest.persei.com.es:20100.9fff730c GET //js/jquery.cookie.js?version=0.9.2] Problem getting route for 406.shtml - A path was found but is invalid.
Hope this helps.
Manuel
I must also note that is a completely default installation: directory structure is the default, themes are the default ones and nothing about geolocation.
Manuel
This guy (http://forum.status.net/discussion/613/php-warning:-sprintf-argument-number-must-be-greater-than-zero-in-action.php-on-line-857/#Item_4) has similar symptoms (described in one of my posts).
Manuel
I'd like to know how it would not work.
this extra "/" in invalid, what is your re-write set to? fix in and test with a fresh database.
My rewrite is the one provided as example:
RewriteEngine On
# NOTE: change this to your actual StatusNet base URL path,
# minus the domain part:
#
# http://example.com/ => /
# http://example.com/mublog/ => /mublog/
#
RewriteBase /
## Uncomment these if having trouble with API authentication
## when PHP is running in CGI or FastCGI mode.
#
#RewriteCond %{HTTP:Authorization} ^(.*)
#RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php?p=$1 [L,QSA]
Order allow,deny
And I am not explicitly using rewrites in other places
2010-06-30 09:41:13 LOG_WARNING: [statustest.persei.com.es:27701.8d42b33a GET /] Session cookie "9e3d5dfcf6138fef1f5d2940444978dc" is set but started value is null
2010-06-30 09:41:15 LOG_ERR: [statustest.persei.com.es:27701.32bef6e8 GET /js/jquery.cookie.js?version=0.9.2] Problem getting route for 406.shtml - A path was found but is invalid.
2010-06-30 09:41:37 LOG_ERR: [statustest.persei.com.es:27705.dcb535e9 GET /js/jquery.cookie.js?version=0.9.2] Problem getting route for 406.shtml - A path was found but is invalid.
2010-06-30 09:41:50 LOG_ERR: [statustest.persei.com.es:27707.0c7a7823 GET /js/jquery.cookie.js?version=0.9.2] Problem getting route for 406.shtml - A path was found but is invalid.
2010-06-30 09:42:00 LOG_INFO: [statustest.persei.com.es:32507.3c627522 POST /notice/new] No PuSH subscribers for http://statustest.persei.com.es/api/statuses/user_timeline/1.atom
2010-06-30 09:42:03 LOG_ERR: [statustest.persei.com.es:27701.db58cf4c GET /js/jquery.cookie.js?version=0.9.2] Problem getting route for 406.shtml - A path was found but is invalid.
2010-06-30 09:42:08 LOG_ERR: [statustest.persei.com.es:27701.21367188 GET /js/jquery.cookie.js?version=0.9.2] Problem getting route for 406.shtml - A path was found but is invalid.
2010-06-30 09:42:16 LOG_ERR: [statustest.persei.com.es:32507.42168259 GET /js/jquery.cookie.js?version=0.9.2] Problem getting route for 406.shtml - A path was found but is invalid.
Finally I've found what is causing the problems. It's the module mod_security from apache: a cpanel is loading it and I didn't notice it before. The way is to comment some lines of mod_security config that are blocking some cookies. Hope this helps you in the future.
Thanks for the support!
Cheers,
Manuel
It seems that I have the same problem (http://microblog.....net).
Javascript is loaded but the JS is not executed.
I am running StatusNet on cherokee (http://www.cherokee-project.com/). I have tried to debug JS with firebug with no success.
I am ready to help you investigate the problem.
Cheers,
Fran'
I think that there is a problem with the code below :
---
line 365 in lib/action.php
$this->elementStart('body', (common_current_user()) ? array('id' => $this->trimmed('action'),
'class' => 'user_in')
: array('id' => $this->trimmed('action')));
---
common_current_user() is returning null. I don't know why.
I have tried with another test server with cherokee and it works. I don't find the difference between the 2 servers.
Have you an idea ?
Thanks,
Fran'
@franek your best bet would be to file a bug. (about the array returning null) http://status.net/open-source/
__________________
The world is not enough for me